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

Disassembly:
sub esp, 0x44
push ebx
push ebp
mov ebx, eax
push esi
xor ebp, ebp
push edi
mov esi, ebx
cmp dword [ebx], ebp
je 0x43be58
mov ecx, dword [ebx + 0xc]
mov eax, dword [0x5040e8]
mov edi, 1
cmp ecx, edi
jne 0x43b71c
mov esi, dword [eax + 0x12278]
cmp ecx, 2
jne 0x43b727
mov esi, dword [eax + 0x1227c]
fild dword [ebx + 0x58]
mov ecx, dword [ebx + 0x2c4]
mov edx, dword [ecx]
fld qword [0x4fd818]
mov dword [ebx + 0x1b4], ebp
mov ecx, dword [eax + 0x12c04]
fdiv st(1), st(0)
mov dword [ebx + 0x1e8], edi
mov dword [ebx + 0x1f0], edi
mov dword [esp + 0x14], edx
mov eax, 0x51eb851f
mov dword [esp + 0x48], 2
lea edi, [ebx + 0x248]
mov dword [ebx + 0x1d8], ebp
mov dword [ebx + 0x1d0], ebp
mov dword [ebx + 0x1ec], ebp
mov dword [ebx + 0x274], ebp
mov dword [ebx + 0x278], ebp
imul ecx, dword [ebx + 0x50]
fxch st(1)
fstp dword [ebx + 0x1e0]
fidiv dword [ebx + 0x70]
fstp dword [ebx + 0x1e4]
imul ecx
fldz
fst qword [esp + 0x28]
fst qword [esp + 0x30]
fst qword [esp + 0x38]
fld1
lea ecx, [esi + 0x1d4]
fst qword [esp + 0x40]
mov dword [ebx + 0x1cc], ecx
fxch st(1)
add esi, 0x1d0
mov dword [ebx + 0x1c8], esi
mov ecx, 0xa
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x220]
mov ecx, 0xa
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
sar edx, 5
lea edi, [ebx + 0x1f8]
mov ecx, 0xa
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
fst qword [esp + 0x28]
fst qword [esp + 0x30]
fstp qword [esp + 0x38]
fstp qword [esp + 0x40]
fldz
fstp dword [ebx + 0x270]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x1bc], eax
mov dword [ebx + 0x1c4], eax
mov dword [ebx + 0x1c0], eax
mov dword [ebx + 0x1b8], eax
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x1d4], eax
lea edi, [ebx + 0x14f0]
mov ecx, 0xa
lea esi, [esp + 0x28]
mov dword [esp + 0x48], 2
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x284], ebp
mov dword [ebx + 0x288], ebp
xor eax, eax
mov dword [ebx + 0x28c], 1
mov dword [ebx + 0x2a8], ebp
mov dword [ebx + 0x2a4], ebp
mov dword [ebx + 0x2a0], ebp
mov dword [ebx + 0x29c], ebp
mov dword [ebx + 0x2ac], eax
mov dword [ebx + 0x2b0], eax
mov byte [ebx + 0x2b4], al
mov dword [ebx + 0x2bc], ebp
mov dword [ebx + 0x2c0], ebp
mov dword [ebx + 0x2b8], ebp
mov esi, dword [esp + 0x14]
cmp dword [esi + 8], ebp
je 0x43b926
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 4]
imul edx, eax
add edx, dword [esi + 0x18]
mov dword [esi + 0x20], eax
je 0x43b926
mov edi, dword [ebx + 0x2c4]
mov edx, dword [edi]
mov eax, dword [esi + 0x20]
mov ecx, dword [edx + 4]
imul ecx, eax
add ecx, dword [edx + 0x18]
je 0x43b8fc
mov edx, dword [ecx + 0x504]
cmp edx, ebp
je 0x43b8f5
mov dword [edx + 0x18], ebp
mov edx, dword [ecx + 0x504]
mov dword [edx + 8], ebp
mov dword [ecx + 0x504], ebp
mov edx, dword [edi]
call fcn.004666b0
mov ecx, dword [esi + 0x20]
cmp ecx, dword [esi + 0x28]
jge 0x43b926
mov eax, ecx
shl eax, 4
add eax, dword [esi + 0x1c]
lea esp, [esp]
add eax, 0x10
inc ecx
cmp dword [eax], ebp
je 0x43b910
mov eax, dword [esi + 4]
imul eax, ecx
add eax, dword [esi + 0x18]
mov dword [esi + 0x20], ecx
jne 0x43b8c3
mov esi, dword [ebx + 0x2c8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x1c]
shl ecx, 4
push ecx
push ebp
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov edx, esi
mov dword [esi + 8], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x20], ebp
call fcn.004669e0
push 0x38
lea edi, [ebx + 0x2d0]
push ebp
push edi
call sub.MSVCR90.dll_memset
fldz
fst qword [esp + 0x34]
add esp, 0xc
fst qword [esp + 0x30]
mov ecx, 0xa
fstp qword [esp + 0x38]
lea esi, [esp + 0x28]
fld1
push 0xbc
fstp qword [esp + 0x44]
mov dword [esp + 0x4c], 2
fld1
push ebp
rep movsd dword es:[edi], dword [esi]
fst dword [ebx + 0x2fc]
fstp dword [ebx + 0x2f8]
lea edi, [ebx + 0x314]
push edi
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x65c
lea eax, [ebx + 0x3d0]
push ebp
push eax
call sub.MSVCR90.dll_memset
mov ecx, dword [ebx]
add esp, 0xc
push 0x80
lea edx, [ebx + 0xa34]
add ecx, 0x41c
push ebp
push edx
mov dword [ebx + 0x30c], ebp
mov dword [ebx + 0x308], ebp
mov dword [ebx + 0x310], ebp
mov dword [ebx + 0xa30], ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x200
lea eax, [ebx + 0xab4]
push ebp
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
xor esi, esi
mov eax, edi
call fcn.00477c40
mov esi, ebx
call fcn.0045c420
push 0x200
lea ecx, [ebx + 0xcd4]
push ebp
push ecx
mov dword [ebx + 0xccc], ebp
mov dword [ebx + 0xcd0], ebp
call sub.MSVCR90.dll_memset
mov edi, 1
add esp, 0xc
mov dword [ebx + 0xed4], ebp
mov dword [ebx + 0xed8], edi
mov dword [ebx + 0xedc], ebp
mov edx, dword [ebx + 0x14c]
add edx, edx
add edx, edx
push edx
lea eax, [ebx + 0xf1c]
push ebp
push eax
mov dword [ebx + 0xee0], edi
mov dword [ebx + 0xee4], edi
mov dword [ebx + 0xee8], ebp
mov dword [ebx + 0xeec], ebp
mov dword [ebx + 0xef4], ebp
mov dword [ebx + 0xef0], ebp
mov dword [ebx + 0xef8], ebp
mov dword [ebx + 0xefc], ebp
mov dword [ebx + 0xf00], edi
mov dword [ebx + 0xf04], ebp
mov dword [ebx + 0xf08], 0xffffffff
mov dword [ebx + 0xf0c], ebp
mov dword [ebx + 0xf10], ebp
mov dword [ebx + 0xf18], edi
call sub.MSVCR90.dll_memset
mov ecx, dword [ebx + 0x150]
add ecx, ecx
add esp, 0xc
add ecx, ecx
push ecx
lea edx, [ebx + 0x100c]
push ebp
push edx
call sub.MSVCR90.dll_memset
mov dword [ebx + 0x10ac], ebp
mov dword [ebx + 0x10b0], ebp
mov dword [ebx + 0x10b4], ebp
mov dword [ebx + 0x10b8], ebp
mov dword [ebx + 0x10bc], ebp
mov dword [ebx + 0x10c0], ebp
add esp, 0xc
mov dword [ebx + 0x10c4], ebp
mov dword [ebx + 0x10c8], ebp
push 0x158
mov dword [ebx + 0x10cc], ebp
lea eax, [ebx + 0x10d4]
push ebp
mov dword [ebx + 0x10d0], ebp
mov esi, dword [ebx + 0x1220]
push eax
call sub.MSVCR90.dll_memset
mov eax, 0xfff
mov dword [ebx + 0x1220], esi
mov esi, dword [0x5040e8]
mov dword [ebx + 0x10dc], eax
mov dword [ebx + 0x10d8], eax
fld qword [esi + 0x12888]
add esp, 0xc
call fcn.004dc850
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov ecx, dword [ebx + 0x78]
mov dword [ebx + 0x1120], ecx
fmul qword [0x4fd968]
fld qword [0x4fd928]
fdiv st(1), st(0)
fxch st(1)
fstp dword [ebx + 0x1138]
fld dword [0x4fd8a8]
fstp dword [ebx + 0x1150]
fld qword [esi + 0x12888]
call fcn.004dc850
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
xor eax, eax
fmul qword [0x4fd960]
fdivrp st(1)
fstp dword [ebx + 0x1154]
cmp dword [esi + 0x12164], ebp
jl 0x43bbd8
mov edx, dword [ebx + 0x1220]
mov dword [edx + eax*4], 0xffffffff
add eax, edi
cmp eax, dword [esi + 0x12164]
jle 0x43bbc1
mov eax, dword [esi + 0x12164]
mov edx, dword [ebx + 0x122c]
lea ecx, [eax*4 + 4]
push ecx
push ebp
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1f4
lea eax, [ebx + 0x1230]
push ebp
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0xc4
lea ecx, [ebx + 0x1428]
push ebp
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x60
lea esi, [ebx + 0x142c]
push ebp
push esi
call sub.MSVCR90.dll_memset
fld1
fst dword [esi + 0x24]
add esp, 0xc
fst dword [esi + 0x20]
push 0x60
fst dword [esi + 0x14]
mov dword [esi + 0x5c], 0xffff
fst dword [esi + 0x10]
mov dword [esi + 0x4c], edi
fst dword [esi + 0x50]
push ebp
fst dword [esi + 0x40]
fst dword [esi + 0x3c]
fstp dword [esi]
fld dword [0x4fd888]
fstp dword [esi + 4]
lea esi, [ebx + 0x148c]
push esi
call sub.MSVCR90.dll_memset
fld1
fst dword [esi + 0x24]
mov dword [esi + 0x5c], 0xffff
fst dword [esi + 0x20]
mov dword [esi + 0x4c], edi
fst dword [esi + 0x14]
add esp, 0xc
fst dword [esi + 0x10]
fst dword [esi + 0x50]
fst dword [esi + 0x40]
fst dword [esi + 0x3c]
fstp dword [esi]
fld dword [0x4fd888]
fstp dword [esi + 4]
mov eax, dword [ebx + 0x1518]
mov dword [ebx + 0x14e8], ebp
cmp eax, ebp
je 0x43bcbe
mov dword [eax + 0x18], ebp
mov edx, dword [ebx + 0x1518]
mov dword [edx + 8], ebp
mov dword [ebx + 0x1518], ebp
xor eax, eax
mov dword [ebx + 0x151c], eax
mov dword [ebx + 0x1520], eax
mov dword [ebx + 0x1524], eax
mov dword [ebx + 0x1528], eax
mov dword [ebx + 0x152c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x434]
mov ecx, dword [ebx + 0x1534]
mov dword [ecx], edx
xor edi, edi
mov eax, ebx
mov dword [ebx + 0xcc8], ebp
call fcn.0043c120
mov esi, dword [ebx + 0x1534]
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
cmp ecx, dword [eax + 4]
jle 0x43bd10
mov dword [esi + 0xc], ebp
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
imul eax, dword [esi + 0xc]
add eax, dword [ecx + 0x18]
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
mov edx, dword [eax]
mov eax, dword [edx + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ebp
call fcn.004645b0
push 0x3c
lea esi, [ebx + 0x1608]
push ebp
push esi
call sub.MSVCR90.dll_memset
mov eax, 0x100
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 8], eax
mov ecx, 1
mov dword [esi + 0x38], ecx
mov dword [ebx + 0x1548], ebp
mov dword [ebx + 0x154c], ebp
mov dword [ebx + 0x1550], ebp
mov dword [ebx + 0x1560], ebp
mov dword [ebx + 0x1564], ebp
mov dword [ebx + 0x155c], eax
mov dword [ebx + 0x1558], eax
mov dword [ebx + 0x1554], eax
mov dword [ebx + 0x1544], eax
mov eax, dword [0x500ef0]
mov dword [ebx + 0x1568], eax
add eax, ecx
add esp, 0xc
mov dword [0x500ef0], eax
cmp dword [ebx + 0x1c], ebp
jne 0x43bdf1
mov edx, dword [ebx + 0x1530]
cmp dword [edx + 0x14], 0x1000100
jne 0x43bdf1
mov eax, dword [ebx + 0x153c]
push 0x84
add eax, ecx
lea esi, [ebx + 0x1570]
push ebp
push esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.00461cb0
call fcn.0042f5c0
xor eax, eax
mov dword [ebx + 0x245c], eax
mov dword [ebx + 0x2460], eax
mov dword [ebx + 0x2464], eax
mov dword [ebx + 0x2468], eax
mov dword [ebx + 0x246c], eax
mov dword [ebx + 0x2470], eax
mov dword [ebx + 0x2474], eax
mov dword [ebx + 0x2478], eax
mov dword [ebx + 0x247c], eax
mov ecx, dword [ebx + 0x2484]
mov dword [ebx + 0x2454], eax
mov dword [ebx + 0x2450], eax
mov dword [ebx + 0x2480], eax
mov dword [ebx + 0x2484], ecx
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov byte [edx], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret