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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 1
call fcn.0050b2dc
mov eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x118]
add eax, ecx
xor ebp, ebp
mov dword [esi + 0x114], eax
mov ecx, dword [esi + 0xb0]
push ebp
push ebp
push 0x184
push ecx
nop
call 0x607585
mov eax, dword [esi + 0x7c]
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], ebp
jle 0x43c2a0
mov edx, dword [esi + 0x78]
mov ebx, dword [esi + 0x114]
xor edi, edi
lea eax, [edx + ebp*4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x68]
imul ebx, eax
mov eax, dword [esi + 0x120]
mov dword [esp + 0x1c], ebx
cmp eax, edi
jle 0x43bfdd
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x11c]
add edi, eax
mov eax, dword [edi + 0x10]
lea ecx, [eax + 0x18]
call fcn.00474470
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
mov ecx, dword [ecx]
push ecx
push eax
nop
call 0x60758e
add esp, 8
test eax, eax
jne 0x43bfb9
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
imul eax, dword [esi + 0x110]
imul edx, dword [esi + 0x118]
add eax, edx
cdq
idiv dword [edi]
cmp ebx, eax
jl 0x43bfb9
mov ebx, eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x120]
inc eax
add edx, 0x14
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
jl 0x43bf6c
mov dword [esp + 0x1c], ebx
xor edi, edi
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x114]
imul ecx, eax
cmp ebx, ecx
jne 0x43bff3
xor ebx, ebx
mov dword [esp + 0x1c], ebx
push ebx
push edi
lea edx, [esp + 0x48]
push 0x542bdc
push edx
call fcn.00439460
add esp, 0x10
mov eax, dword [eax]
lea ecx, [esi + 0xd0]
push eax
push 1
push ebp
mov dword [esp + 0x7c], edi
call fcn.0050b876
or edi, 0xffffffff
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], edi
call fcn.0050b22e
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x120]
xor eax, eax
add edx, ebx
cmp ecx, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
jle 0x43c241
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x20]
mov eax, dword [esi + 0x11c]
add edi, eax
mov eax, dword [edi + 0x10]
lea ecx, [eax + 0x18]
call fcn.00474470
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
mov ecx, dword [ecx]
push ecx
push eax
nop
call 0x607597
add esp, 8
test eax, eax
jne 0x43c118
mov ecx, dword [esi + 0x114]
mov ebp, dword [edi + 4]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [edi + 8]
sar eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [edi]
imul eax, ebx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
sub ecx, eax
mov ebx, ebp
imul ecx, edx
imul ebx, eax
mov eax, dword [esp + 0x48]
add ecx, ebx
sub ecx, eax
mov dword [edi + 0xc], ecx
jne 0x43c0d9
cmp ebp, edx
jne 0x43c0db
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
jmp 0x43c0f1
cmp ebp, edx
jle 0x43c0e7
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
jmp 0x43c0f1
jge 0x43c0f1
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
imul edx, dword [esi + 0x118]
imul ebp, dword [esi + 0x110]
mov ebx, dword [esp + 0x1c]
add edx, ebp
mov ebp, dword [esp + 0x3c]
sub edx, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0xc], edx
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x120]
inc eax
add edx, 0x14
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
jl 0x43c05e
cmp dword [esp + 0x30], 0xffffffff
je 0x43c23e
mov ebx, dword [esp + 0x34]
cmp ebx, 0xffffffff
je 0x43c23e
mov edi, dword [esp + 0x38]
cmp edi, 0xffffffff
je 0x43c23e
lea ecx, [esp + 0x14]
call fcn.0050b234
mov ecx, dword [esi + 0x11c]
lea eax, [edi + edi*4]
lea edx, [esp + 0x58]
mov dword [esp + 0x70], 1
mov ecx, dword [ecx + eax*4 + 0x10]
push edx
add ecx, 0x18
call fcn.00474450
mov edi, eax
mov ecx, dword [esi + 0x11c]
lea eax, [ebx + ebx*4]
lea edx, [esp + 0x4c]
mov byte [esp + 0x70], 2
mov ecx, dword [ecx + eax*4 + 0x10]
push edx
add ecx, 0x18
call fcn.00474450
mov edx, dword [edi]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push edx
mov edx, dword [ecx]
push eax
push edx
lea eax, [esp + 0x20]
push 0x544eb4
push eax
mov byte [esp + 0x84], 3
call fcn.0050b258
add esp, 0x14
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 2
call fcn.0050b22e
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 1
call fcn.0050b22e
call fcn.0040f890
mov eax, dword [eax + 0x60]
test eax, eax
je 0x43c1ff
cmp eax, 2
jne 0x43c214
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0xb0]
push ecx
push 0
push 0x180
push edx
jmp 0x43c227
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xb0]
push eax
push 0
push 0x180
push ecx
nop
call 0x6075a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], 0xffffffff
call fcn.0050b22e
or edi, 0xffffffff
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x5c]
push edx
push 0
push 0x542bdc
push eax
call fcn.00439460
add esp, 0x10
mov eax, dword [eax]
lea ecx, [esi + 0xd0]
push eax
push 2
push ebp
mov dword [esp + 0x7c], 4
call fcn.0050b876
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], edi
call fcn.0050b22e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x7c]
add edx, ecx
inc ebp
mov dword [esp + 0x28], edx
cmp ebp, eax
mov dword [esp + 0x3c], ebp
jl 0x43bf3e
mov ebx, edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x5c]
push edx
push 0
push 0x542bdc
push eax
call fcn.00439460
add esp, 0x10
mov eax, dword [eax]
lea edi, [esi + 0xd0]
push eax
push 1
push ebp
mov ecx, edi
mov dword [esp + 0x7c], 5
call fcn.0050b876
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], 0xffffffff
call fcn.0050b22e
push ebx
push 0
lea ecx, [esp + 0x64]
push 0x542bdc
push ecx
call fcn.00439460
add esp, 0x10
mov eax, dword [eax]
mov ecx, edi
push eax
push 2
push ebp
mov dword [esp + 0x7c], 6
call fcn.0050b876
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], 0xffffffff
call fcn.0050b22e
mov edx, dword [esi + 0xb0]
xor edi, edi
push edi
push edi
push 0x18b
push edx
nop
call 0x6075a9
cmp eax, edi
jne 0x43c568
cmp ebx, edi
jle 0x43c568
fild dword [esi + 0x110]
mov ecx, esi
fmul qword [esi + 0x128]
fild dword [esi + 0x118]
fmul qword [esi + 0x130]
faddp st(1)
fstp qword [esp + 0x4c]
call fcn.0043ca20
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x120]
fild dword [esp + 0x5c]
cmp eax, edi
mov dword [esp + 0x3c], edi
fdivr qword [esp + 0x4c]
fstp qword [esp + 0x5c]
jle 0x43c568
mov ebx, dword [esp + 0x60]
mov eax, dword [esi + 0x11c]
add eax, edi
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
cmp ecx, edx
je 0x43c54e
mov ebp, dword [esp + 0x5c]
mov edx, ecx
dec edx
push ebx
push ebp
mov ecx, esi
mov dword [eax + 4], edx
call fcn.0043cb00
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x43c485
mov edx, dword [esi + 0x11c]
push ebx
push ebp
mov ecx, esi
lea eax, [edi + edx + 8]
mov edx, dword [edi + edx + 8]
dec edx
mov dword [eax], edx
call fcn.0043cb00
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x43c474
mov eax, dword [esi + 0x11c]
push ebx
push ebp
mov ecx, esi
mov edx, dword [edi + eax + 4]
lea eax, [edi + eax + 4]
inc edx
mov dword [eax], edx
call fcn.0043cb00
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x43c463
mov ecx, dword [esi + 0x11c]
push ebx
push ebp
mov edx, dword [edi + ecx + 8]
lea eax, [edi + ecx + 8]
inc edx
mov ecx, esi
mov dword [eax], edx
call fcn.0043cb00
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x43c452
mov edx, dword [esi + 0x11c]
mov ecx, dword [edi + edx + 8]
lea eax, [edi + edx + 8]
dec ecx
mov dword [eax], ecx
jmp 0x43c54e
mov eax, dword [esi + 0x11c]
mov ecx, dword [edi + eax + 8]
lea eax, [edi + eax + 8]
dec ecx
mov dword [eax], ecx
mov ecx, dword [esi + 0x11c]
lea eax, [edi + ecx + 4]
mov ecx, dword [edi + ecx + 4]
dec ecx
mov dword [eax], ecx
mov edx, dword [esi + 0x11c]
mov ecx, dword [edi + edx + 8]
lea eax, [edi + edx + 8]
inc ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x11c]
mov ecx, dword [edi + eax + 4]
lea eax, [edi + eax + 4]
inc ecx
mov dword [eax], ecx
lea ecx, [esp + 0x18]
call fcn.0050b234
mov edx, dword [esi + 0x11c]
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x74], 7
mov ecx, dword [edi + edx + 0x10]
add ecx, 0x18
call fcn.00474450
mov ebp, eax
mov eax, dword [esi + 0x11c]
mov byte [esp + 0x70], 8
mov eax, dword [edi + eax + 0x10]
lea ecx, [eax + 0x18]
call fcn.00474470
mov ecx, dword [ebp]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x544e8c
push eax
call fcn.0050b258
add esp, 0x10
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 7
call fcn.0050b22e
call fcn.0040f890
mov eax, dword [eax + 0x60]
test eax, eax
je 0x43c50f
cmp eax, 2
jne 0x43c524
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0xb0]
push ecx
push 0
push 0x180
push edx
jmp 0x43c537
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xb0]
push eax
push 0
push 0x180
push ecx
nop
call 0x6075b2
lea ecx, [esp + 0x18]
mov dword [esp + 0x70], 0xffffffff
call fcn.0050b22e
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x120]
inc eax
add edi, 0x14
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x43c391
push 0
mov ecx, esi
call fcn.0050b2dc
mov ecx, dword [esp + 0x68]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret