Function at 0x467b40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x525829
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f4
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x94]
mov dword [esp + 0x44], edi
call fcn.0051af80
mov ebx, 0x531584
mov dword [esp + 0x94], ebx
push fcn.00434110
push 0x46a150
push 0xa
lea eax, [esp + 0xb4]
xor esi, esi
push 0x3c
push eax
mov dword [esp + 0x31c], esi
call fcn.0051bfa4
lea ecx, [esp + 0x80]
mov byte [esp + 0x308], 1
call fcn.0051af80
mov dword [esp + 0x80], ebx
mov dword [esp + 0x60], 0x5315ac
mov dword [esp + 0x64], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], esi
mov ecx, dword [edi + 0x64]
mov byte [esp + 0x308], 3
mov edx, dword [ecx + 0x4c]
mov dword [esp + 0x40], edx
call fcn.004ef210
mov ebx, eax
lea eax, [esp + 0x94]
push ebx
lea ecx, [esp + 0x64]
push eax
lea edx, [esp + 0x88]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0xb4]
push edx
push eax
push ecx
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x74], ebx
call fcn.004f0d00
mov ecx, ebx
call fcn.004ed4c0
cmp eax, 0xffffffff
je 0x467cd5
mov ebx, dword [edi + 0x64]
mov eax, dword [esp + 0x40]
add ebx, 0x44
mov edx, dword [ebx + 4]
mov ecx, dword [edx + eax*4]
cmp ecx, esi
je 0x467c4a
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x40]
push 1
push eax
mov ecx, ebx
call fcn.0046a1e0
add edi, 0x6e0
push 1
mov ecx, edi
call fcn.00510f00
mov ecx, edi
call fcn.00512820
mov dword [esp + 0x60], 0x5315ac
mov eax, dword [esp + 0x64]
mov byte [esp + 0x308], 4
cmp eax, esi
je 0x467c8f
push eax
call fcn.0051aee4
add esp, 4
mov esi, 0x531584
lea ecx, [esp + 0x80]
mov dword [esp + 0x60], 0x53138c
mov byte [esp + 0x308], 1
mov dword [esp + 0x80], esi
call fcn.0051af86
push fcn.00434110
push 0xa
lea ecx, [esp + 0xb0]
push 0x3c
mov byte [esp + 0x314], 0
push ecx
jmp 0x468271
mov dword [esp + 0x48], 0x538f84
mov dword [esp + 0x4c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
mov edx, dword [ebp + 8]
push 1
lea eax, [esp + 0x18]
push edx
lea ecx, [edi + 0x3e4]
push eax
mov byte [esp + 0x314], 5
call fcn.005154a0
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push esi
lea eax, [esp + 0x3c]
mov dword [esp + 0x40], ecx
push edx
push eax
lea ecx, [edi + 0x3e4]
mov byte [esp + 0x314], 6
call fcn.005154a0
mov edx, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [esp + 0x48]
mov byte [esp + 0x308], 7
push ecx
mov ecx, dword [esp + 0x40]
push ebx
push edx
push ecx
mov ecx, dword [edi + 0x64]
push eax
call fcn.004f1c60
lea ecx, [esp + 0x38]
mov byte [esp + 0x308], 6
call fcn.0051af0e
lea ecx, [esp + 0x14]
mov byte [esp + 0x308], 5
call fcn.0051af0e
mov ecx, ebx
lea esi, [edi + 0x6e0]
call fcn.004ee460
lea eax, [eax + eax*4]
mov ecx, edi
lea edx, [eax + eax*4]
lea eax, [edx + edx + 1]
push eax
push esi
call fcn.00465020
push 3
mov ecx, esi
call fcn.00510c80
push 1
mov ecx, esi
call fcn.00510dc0
mov ecx, dword [esp + 0x50]
add ecx, 3
push ecx
mov ecx, esi
call fcn.00510f00
push str.Size
push 0x5596b4
push 0
push 0
mov ecx, esi
call fcn.00511a60
push str.Initial_Set
push 0x555cdc
push 0
push 1
mov ecx, esi
call fcn.00511a60
push str.Layer_Undecided
push 0x559758
push 0
push 2
mov ecx, esi
call fcn.00511a60
mov ecx, ebx
mov dword [esp + 0xc], 1
mov dword [esp + 0x28], 0
call fcn.004ee460
test eax, eax
jle 0x46814d
lea edx, [esp + 0xac]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x28]
mov ecx, ebx
push eax
call fcn.004ee470
mov edx, dword [eax + 0x1c]
add eax, 0x14
xor ecx, ecx
mov dword [esp + 0x3c], eax
cmp edx, ecx
mov dword [esp + 0x38], ecx
jle 0x468128
mov eax, dword [esp + 0x28]
and eax, 0x80000001
jns 0x467e50
dec eax
or eax, 0xfffffffe
inc eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x24], ecx
jmp 0x467e5e
mov eax, dword [esp + 0x78]
test eax, eax
je 0x467e6e
mov ecx, dword [esp + 0xc]
push 0xff00ff
push ecx
jmp 0x467e75
mov edx, dword [esp + 0xc]
push 0
push edx
push 0
mov ecx, esi
call fcn.005120e0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
push 0
mov ecx, dword [eax + 4]
mov eax, dword [edx + ecx]
mov ecx, esi
push eax
mov eax, dword [esp + 0x14]
push eax
push 0
call fcn.00511a60
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], 0
test eax, eax
mov dword [esp + 0x30], 0
jle 0x468107
mov ebx, 3
xor edi, edi
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
push eax
mov edx, dword [ecx + edi]
mov ecx, dword [edx + 0x278]
call fcn.004ee470
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [eax]
test ecx, ecx
jge 0x467efc
mov ecx, dword [esp + 0xc]
push 0
push 0x55cbe0
push ecx
push ebx
mov ecx, esi
call fcn.00511a60
jmp 0x467f3e
mov edx, dword [esp + 0x4c]
push ecx
push 0
push 0x555c7c
mov eax, dword [edx + edi]
mov edx, dword [eax + 0x240]
mov eax, dword [eax + 0x12c]
mov eax, dword [eax]
imul eax, edx
imul eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
push ecx
push ebx
push esi
fadd qword [esp + 0x44]
fstp qword [esp + 0x44]
call fcn.00511b20
add esp, 0x18
mov eax, dword [esp + 0x50]
add edi, 4
inc ebx
lea edx, [ebx - 3]
cmp edx, eax
jl 0x467ec0
fld qword [esp + 0x2c]
fcomp qword [0x531cf0]
fnstsw ax
test ah, 0x41
jne 0x4680ff
mov eax, dword [str.MONOCH]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
push 1
lea edx, [esp + 0x80]
lea ebx, [eax + 0x3e4]
push ecx
push edx
mov ecx, ebx
xor edi, edi
call fcn.005154a0
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push eax
nop
call fcn.0061e0e9
add esp, 8
lea ecx, [esp + 0x7c]
test eax, eax
sete byte [esp + 0x13]
call fcn.0051af0e
mov al, byte [esp + 0x13]
test al, al
je 0x467fec
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x2c]
test edx, edx
jle 0x4680ff
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x28]
xor eax, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov ecx, dword [ecx + eax + 4]
add eax, 0x14
add edi, dword [ecx + ebx]
dec edx
jne 0x467fd5
jmp 0x468055
mov edx, dword [ebp + 8]
push 1
lea eax, [esp + 0x78]
push edx
push eax
mov ecx, ebx
call fcn.005154a0
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov edi, dword [ebx + 4]
dec edi
js 0x46802b
mov ecx, dword [ebx]
mov edx, dword [esp + 0x14]
lea eax, [ecx + edi*4]
mov ecx, dword [edx]
push ecx
mov eax, dword [eax]
push eax
nop
call fcn.0061e0f2
add esp, 8
test eax, eax
je 0x46802e
dec edi
jns 0x46800c
or edi, 0xffffffff
lea ecx, [esp + 0x74]
call fcn.0051af0e
cmp edi, 0xffffffff
je 0x4680ff
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [edi + edi*4]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx*4 + 4]
mov edi, dword [eax + edx]
test edi, edi
mov dword [esp + 0x14], edi
jle 0x4680ff
push edi
mov edi, dword [esp + 0x10]
push 0
push 0x555c7c
push edi
push 1
push esi
call fcn.00511b20
fild dword [esp + 0x2c]
add esp, 0x18
fsub qword [esp + 0x2c]
fst qword [esp + 0x2c]
fcomp qword [0x531cf0]
fnstsw ax
test ah, 0x40
je 0x4680a5
push 0
push 0x55cbe0
push edi
push 2
mov ecx, esi
call fcn.00511a60
jmp 0x4680fa
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ebx
push eax
nop
call fcn.0061e0fb
mov ecx, dword [esp + 0x34]
push ebx
fstp qword [esp + 0x20]
push ecx
nop
call fcn.0061e104
fcomp qword [esp + 0x24]
add esp, 0x10
push ebx
fnstsw ax
test ah, 0x40
je 0x4680e2
mov edx, dword [esp + 0x30]
push edx
push 0
push 0x555c7c
jmp 0x4680ee
mov eax, dword [esp + 0x30]
push eax
push 0
push str._.1f
push edi
push 2
push esi
call fcn.00511b20
add esp, 0x1c
inc edi
mov dword [esp + 0xc], edi
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
add ecx, 4
inc eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
cmp eax, dword [ecx + 8]
jl 0x467e5a
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
inc eax
add edx, 0x3c
mov ecx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edx
call fcn.004ee460
cmp dword [esp + 0x28], eax
jl 0x467e1c
mov eax, dword [esp + 0x50]
xor ebx, ebx
test eax, eax
jle 0x46818d
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx + ebx*4]
mov eax, dword [ecx + 0x12c]
mov eax, dword [eax]
imul eax, dword [ecx + 0x240]
push eax
push 0
push 0x555c7c
lea ecx, [ebx + 3]
push 0
push ecx
push esi
call fcn.00511b20
mov eax, dword [esp + 0x68]
add esp, 0x18
inc ebx
cmp ebx, eax
jl 0x468157
mov edx, dword [esp + 0xc]
mov ecx, esi
push edx
call fcn.00511120
mov ecx, esi
call fcn.00512560
mov edi, dword [edi + 0x64]
mov ebx, dword [esp + 0x40]
add edi, 0x44
mov eax, dword [edi + 4]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x4681ba
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
sub eax, ebx
dec eax
lea edx, [ecx + ebx*4]
je 0x4681db
shl eax, 2
lea ecx, [ecx + ebx*4 + 4]
push eax
push ecx
push edx
nop
call fcn.0061e10d
add esp, 0xc
mov edx, dword [edi + 8]
mov ecx, esi
dec edx
mov dword [edi + 8], edx
call fcn.00512820
mov dword [esp + 0x48], 0x538f84
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x308], 8
test eax, eax
je 0x46820a
push eax
call fcn.0051aee4
add esp, 4
mov esi, 0x53138c
mov dword [esp + 0x60], 0x5315ac
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x64]
mov byte [esp + 0x308], 9
test eax, eax
je 0x468234
push eax
call fcn.0051aee4
add esp, 4
mov dword [esp + 0x60], esi
mov esi, 0x531584
lea ecx, [esp + 0x80]
mov byte [esp + 0x308], 1
mov dword [esp + 0x80], esi
call fcn.0051af86
push fcn.00434110
push 0xa
lea edx, [esp + 0xb0]
push 0x3c
mov byte [esp + 0x314], 0
push edx
call fcn.0051beb0
lea ecx, [esp + 0x94]
mov dword [esp + 0x308], 0xffffffff
mov dword [esp + 0x94], esi
call fcn.0051af86
mov ecx, dword [esp + 0x300]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8