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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101316c5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x101a90bc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x68], 4
jne 0x43ad98
mov esi, dword [ebp + 0x10]
xor edi, edi
cmp dword [ebx + 0x6c], edi
je 0x43aca6
mov eax, dword [esi]
xor ecx, ecx
cmp dword [ebx + 0x70], edi
cdq
sete cl
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x74]
add ecx, eax
mov dword [esp + 0x54], ecx
jmp 0x43acbc
cmp dword [ebx + 0x70], edi
je 0x43acb5
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, dword [ebx + 0x74]
jmp 0x43acb8
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x54], eax
cmp dword [ebx + 0x84], edi
je 0x43ace7
mov eax, dword [esi]
xor ecx, ecx
cmp dword [ebx + 0x88], edi
cdq
sete cl
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x8c]
add ecx, eax
mov edi, ecx
jmp 0x43acff
cmp dword [ebx + 0x88], edi
je 0x43acf9
mov edi, dword [esi]
sub edi, dword [ebx + 0x8c]
jmp 0x43acff
mov edi, dword [ebx + 0x8c]
xor eax, eax
cmp dword [ebx + 0x78], eax
je 0x43ad27
xor ecx, ecx
cmp dword [ebx + 0x7c], eax
mov eax, dword [esi + 4]
sete cl
cdq
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx - 1]
imul ecx, dword [ebx + 0x80]
add ecx, eax
xor eax, eax
jmp 0x43ad3d
cmp dword [ebx + 0x7c], eax
je 0x43ad37
mov ecx, dword [esi + 4]
sub ecx, dword [ebx + 0x80]
jmp 0x43ad3d
mov ecx, dword [ebx + 0x80]
cmp dword [ebx + 0x90], eax
je 0x43ad6f
xor edx, edx
cmp dword [ebx + 0x94], eax
mov eax, dword [esi + 4]
sete dl
lea edx, [edx + edx - 1]
imul edx, dword [ebx + 0x98]
mov dword [esp + 0x1c], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, edx
jmp 0x43ad88
cmp dword [ebx + 0x94], eax
je 0x43ad82
mov eax, dword [esi + 4]
sub eax, dword [ebx + 0x98]
jmp 0x43ad88
mov eax, dword [ebx + 0x98]
sub edi, dword [esp + 0x54]
sub eax, ecx
mov dword [esi], edi
mov dword [esi + 4], eax
jmp 0x43b121
call dword [0x10139954]
push eax
call dword [0x1013988c]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x70], 1
push dword [ebx + 0x4c]
lea esi, [ebx + 0x14]
lea edi, [esp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], eax
movsd dword es:[edi], dword [esi]
call fcn.00442170
pop ecx
push dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x28], esi
call dword [0x10139104]
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x18], eax
je 0x43ae02
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [esp + 0x44]
mov eax, dword [eax + 4]
add eax, dword [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x43ae4b
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x43ae4b
mov edi, ebx
mov edi, dword [edi + 8]
test edi, edi
je 0x43ae4f
push edi
call fcn.00439061
mov edi, eax
test edi, edi
pop ecx
je 0x43ae4f
cmp dword [edi + 0x58], 0
jne 0x43b04a
push dword [edi + 0x4c]
call fcn.00442170
cmp dword [eax + 0x20], 0
pop ecx
je 0x43ae12
push dword [edi + 0x4c]
call fcn.00442170
mov eax, dword [eax + 0x20]
pop ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x34]
and eax, 1
cmp al, 1
jne 0x43ae95
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x43ae91
mov edi, ebx
mov edi, dword [edi + 8]
test edi, edi
je 0x43ae95
push edi
call fcn.00439061
mov edi, eax
test edi, edi
pop ecx
je 0x43ae95
push dword [edi + 0x4c]
call fcn.00442170
cmp dword [eax + 0x24], 0
pop ecx
je 0x43ae62
push dword [edi + 0x4c]
call fcn.00442170
mov eax, dword [eax + 0x24]
pop ecx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x43aea8
push 0
call fcn.0040cb80
pop ecx
mov dword [esp + 0x10], eax
push dword [esp + 0x10]
push dword [esp + 0x1c]
call dword [0x10139124]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x2c]
neg eax
push eax
neg ecx
push ecx
lea eax, [esp + 0x4c]
push eax
call dword [0x10139880]
mov eax, dword [esi + 0x1c]
and eax, 0xfffffff0
test al, 0x10
je 0x43aee3
mov dword [esp + 0x50], 0x7fff
mov ecx, dword [ebx + 0x28]
xor edi, edi
cmp dword [ecx - 0xc], edi
je 0x43b0be
cmp dword [esi + 0x48], edi
je 0x43b0a1
lea eax, [esp + 0x2c]
push eax
push edi
push edi
mov dword [esp + 0x38], edi
call fcn.005070aa
mov dword [esp + 0x30], eax
push dword [esp + 0x18]
lea esi, [esp + 0x40]
call 0x411872
mov byte [esp + 0x70], 3
push dword [esp + 0x10]
lea ebx, [esp + 0x24]
push dword [esp + 0x1c]
call fcn.0043a927
mov esi, dword [ebp + 8]
mov byte [esp + 0x70], 4
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
push dword [esi + 8]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
fstp dword [esp + 0x38]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x3c]
call fcn.00439061
pop ecx
mov ecx, eax
xor ebx, ebx
cmp ecx, ebx
je 0x43afb3
lea eax, [esp + 0x54]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.00438737
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
fstp dword [esp + 0x34]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fstp dword [esp + 0x38]
push ebx
push dword [esp + 0x30]
call fcn.005070d4
cmp eax, ebx
je 0x43afc5
mov dword [esp + 0x30], eax
mov esi, dword [esi + 0x28]
fldz
push dword [esi - 0xc]
fst dword [esp + 0x18]
lea eax, [esp + 0x40]
fstp dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x28]
push eax
lea edi, [esp + 0x1c]
lea ecx, [esp + 0x38]
lea eax, [esp + 0x40]
mov edx, esi
call fcn.0043b138
fld dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.0050e230
mov dword [esp + 0x20], eax
fisub dword [esp + 0x20]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
fld1
jp 0x43b020
fld dword [esp + 0x10]
fadd st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.0050e230
mov dword [esp + 0x20], eax
fisub dword [esp + 0x20]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x43b052
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
jmp 0x43b054
mov eax, dword [edi + 0x58]
jmp 0x43ae4b
fstp st(0)
fild dword [esp + 0x44]
fadd dword [esp + 0x10]
call fcn.0050e230
fild dword [esp + 0x48]
mov dword [esp + 0x4c], eax
fadd dword [esp + 0x14]
call fcn.0050e230
cmp esi, ebx
mov dword [esp + 0x50], eax
je 0x43b087
push dword [esi]
call fcn.005070ce
push esi
call fcn.00506f7e
push dword [esp + 0x3c]
call fcn.00506f96
push dword [esp + 0x2c]
call fcn.005070b6
mov esi, dword [esp + 0x24]
xor edi, edi
jmp 0x43b0ce
or eax, 0x400
push eax
lea eax, [esp + 0x48]
push eax
mov ebx, ecx
push dword [ebx - 0xc]
push ebx
push dword [esp + 0x28]
call dword [0x10139818]
jmp 0x43b0ce
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x28]
push dword [esp + 0x28]
add eax, eax
push dword [esp + 0x1c]
mov ecx, eax
sub ecx, dword [esp + 0x4c]
mov eax, dword [ebp + 0x10]
add ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov ecx, dword [esi + 0x2c]
add ecx, ecx
sub ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
call dword [0x10139124]
push dword [esp + 0x1c]
call dword [0x10139954]
push eax
call dword [0x10139884]
cmp dword [esp + 0x18], edi
je 0x43b121
push dword [esp + 0x18]
call dword [0x1013913c]
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc