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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
test eax, eax
push edi
jne 0x402730
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2d8]
call fcn.0044e120
mov edx, dword [esi + 4]
lea ecx, [esi + 0x68]
push ecx
mov ecx, dword [edx + 0x2d8]
call fcn.0044df00
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2d8]
mov edi, dword [eax]
call fcn.0044df90
mov ecx, dword [esi + 4]
push eax
push 2
call dword [edi + 0x24]
mov eax, dword [esi + 0x164]
test eax, eax
jne 0x402313
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 0
push 0
call dword [eax + 0x68]
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x402423
mov edi, dword [eax]
test edi, edi
je 0x4024ff
jmp 0x402330
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esi + 0xa8]
lea ebx, [edi + 8]
push ebx
call fcn.0044c1e0
fld dword [esi + 0xe0]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 5
jnp 0x4023ae
fld dword [esi + 0xf0]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 5
jnp 0x4023ae
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x158]
cmp eax, ecx
jne 0x402390
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x5c]
push eax
push edx
call fcn.0044ac10
mov ecx, eax
call fcn.00449c40
jmp 0x402408
mov edx, dword [esi + 0x150]
push edx
push ecx
mov ecx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.0044ac10
mov ecx, eax
call fcn.00449ed0
jmp 0x402408
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 1
push 8
call dword [edx + 0x68]
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x158]
cmp eax, ecx
jne 0x4023e0
mov ecx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.0044ac10
mov ecx, eax
call fcn.00449c40
jmp 0x4023fc
mov edx, dword [esi + 0x150]
push edx
push ecx
mov ecx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.0044ac10
mov ecx, eax
call fcn.00449ed0
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 2
push 8
call dword [edx + 0x68]
mov ecx, dword [esi + 0xa8]
push ebx
call fcn.0044c6e0
mov edi, dword [edi]
test edi, edi
jne 0x402330
jmp 0x4024ff
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 0
push 0x28
call dword [eax + 0x68]
fld dword [esi + 0xe0]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 5
jnp 0x402499
fld dword [esi + 0xf0]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 5
jnp 0x402499
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x158]
cmp eax, ecx
jne 0x40247b
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, dword [esi + 0x5c]
call fcn.0044ac10
mov ecx, eax
call fcn.00449c40
jmp 0x4024f3
mov edx, dword [esi + 0x150]
push edx
push ecx
mov ecx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.0044ac10
mov ecx, eax
call fcn.00449ed0
jmp 0x4024f3
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 1
push 8
call dword [edx + 0x68]
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x158]
cmp eax, ecx
jne 0x4024cb
mov ecx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.0044ac10
mov ecx, eax
call fcn.00449c40
jmp 0x4024e7
mov edx, dword [esi + 0x150]
push edx
push ecx
mov ecx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.0044ac10
mov ecx, eax
call fcn.00449ed0
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 2
push 8
call dword [edx + 0x68]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 1
push 0x28
call dword [eax + 0x68]
mov eax, dword [esi + 0x164]
test eax, eax
jne 0x402515
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 1
push 0
call dword [edx + 0x68]
cmp dword [esp + 0x60], 1
jne 0x4026fa
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 0
push 0x28
call dword [eax + 0x68]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 0
push 0
call dword [edx + 0x60]
mov ecx, dword [esi + 0x5c]
xor ebx, ebx
call fcn.0044ac10
mov ecx, dword [eax + 0x74]
test ecx, ecx
jbe 0x402593
xor edi, edi
jmp 0x402550
mov ecx, dword [esi + 0x5c]
call fcn.0044ac10
mov ecx, dword [esi + 0x5c]
mov ebp, eax
call fcn.0044ac10
mov ebp, dword [ebp + 0x7c]
mov ebp, dword [edi + ebp + 0xc]
mov eax, dword [eax + 0x7c]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 0x20
push 0xffffff00
push ebp
add eax, edi
push eax
call dword [edx + 0xd0]
mov ecx, dword [esi + 0x5c]
inc ebx
add edi, 0x10
call fcn.0044ac10
cmp ebx, dword [eax + 0x74]
jb 0x402550
mov ecx, dword [esi + 0x5c]
xor ebx, ebx
call fcn.0044ac10
mov ecx, dword [eax + 0x78]
test ecx, ecx
jbe 0x402608
xor edi, edi
mov ecx, dword [esi + 0x5c]
call fcn.0044ac10
mov ecx, dword [esi + 0x5c]
mov ebp, eax
call fcn.0044ac10
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x60], eax
call fcn.0044ac10
mov ebp, dword [ebp + 0x80]
mov eax, dword [eax + 0x80]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 0xffffff00
lea ebp, [edi + ebp + 0x18]
push ebp
mov ebp, dword [esp + 0x68]
mov ebp, dword [ebp + 0x80]
lea ebp, [edi + ebp + 0xc]
push ebp
add eax, edi
push eax
call dword [edx + 0xcc]
mov ecx, dword [esi + 0x5c]
inc ebx
add edi, 0x3c
call fcn.0044ac10
cmp ebx, dword [eax + 0x78]
jb 0x4025a6
mov eax, dword [esi + 0x110]
xor ebx, ebx
test eax, eax
jbe 0x4026ee
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x2d8]
call fcn.0044e120
mov edx, dword [esi + 0x114]
lea eax, [edi + edx + 0x24]
push eax
lea ecx, [esp + 0x20]
call fcn.0044d130
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
push 2
call dword [edx + 0x24]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 0x3e4ccccd
call dword [edx + 0xd8]
mov eax, dword [esi + 0x114]
fld dword [eax + edi + 0x38]
add eax, edi
fadd dword [eax + 0x2c]
lea ecx, [esp + 0x10]
fld dword [eax + 0x34]
push ecx
fadd dword [eax + 0x28]
lea ecx, [esp + 0x20]
fld dword [eax + 0x30]
fadd dword [eax + 0x24]
fstp dword [esp + 0x14]
fstp dword [esp + 0x18]
fstp dword [esp + 0x1c]
call fcn.0044d130
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
push 2
call dword [edx + 0x24]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 0x3e4ccccd
call dword [edx + 0xd8]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2d8]
call fcn.0044e0d0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2d8]
mov ebp, dword [eax]
call fcn.0044df90
mov ecx, dword [esi + 4]
push eax
push 2
call dword [ebp + 0x24]
mov eax, dword [esi + 0x110]
inc ebx
add edi, 0x54
cmp ebx, eax
jb 0x402620
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 1
push 0x28
call dword [edx + 0x68]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2d8]
call fcn.0044e0d0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2d8]
mov edi, dword [eax]
call fcn.0044df90
mov ecx, dword [esi + 4]
push eax
push 2
call dword [edi + 0x24]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret 0xc
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x402806
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 0
push 3
call dword [edx + 0x68]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 1
push 0
call dword [eax + 0x68]
fld dword [esi + 0x148]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 5
jp 0x402775
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 1
push 8
call dword [edx + 0x68]
mov eax, dword [esi + 0xa8]
mov edi, dword [eax]
test edi, edi
je 0x4027d9
lea ebp, [esi + 0xb0]
jmp 0x402790
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esi + 0xa8]
lea ebx, [edi + 8]
push ebx
call fcn.0044c1e0
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x2d4]
mov edx, dword [ecx]
push eax
mov eax, dword [esi + 0x14c]
push 0xffffffffffffffff
push eax
mov eax, dword [esi + 0x148]
push eax
push ebp
call dword [edx + 0xb4]
mov ecx, dword [esi + 0xa8]
push ebx
call fcn.0044c6e0
mov edi, dword [edi]
test edi, edi
jne 0x402790
fld dword [esi + 0x148]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 5
jp 0x4027f8
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 2
push 8
call dword [edx + 0x68]
mov esi, dword [esi + 4]
mov eax, dword [esi]
push 1
push 3
mov ecx, esi
call dword [eax + 0x68]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret 0xc