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

Disassembly:
sub esp, 0x54
mov eax, dword [0x57b904]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [eax + 0x310]
mov eax, dword [eax + 0x314]
xor edi, edi
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
fild qword [esp + 0x44]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edi
cmp ecx, edi
mov dword [esp + 0x28], ecx
fmul dword [0x4ecc18]
fild qword [esp + 0x44]
fild dword [ebp + 0x28]
mov dword [esp + 0x24], edi
fidiv dword [esp + 0x6c]
fdiv st(1)
fild dword [esp + 0x6c]
fmul st(3)
fmulp st(1)
fstp dword [esp + 0x3c]
fild dword [ebp + 0x2c]
fidiv dword [esp + 0x70]
fdiv st(1)
fild dword [esp + 0x70]
fmul st(3)
fmulp st(1)
fstp dword [esp + 0x40]
fstp st(0)
fstp st(0)
jbe 0x4343e6
jmp 0x4341d4
mov ecx, dword [esp + 0x28]
xor edi, edi
mov edx, dword [esp + 0x24]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
fild qword [esp + 0x4c]
mov dword [esp + 0x58], edi
mov dword [esp + 0x20], edi
fstp dword [esp + 0x44]
fld dword [esp + 0x3c]
fmul dword [0x4ecfa8]
fstp dword [esp + 0x30]
fild qword [esp + 0x54]
fstp dword [esp + 0x2c]
fld dword [esp + 0x40]
fmul dword [0x4ecfa8]
fstp dword [esp + 0x34]
jmp 0x43421c
xor edi, edi
fild dword [ebp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], eax
fst dword [esp + 0x14]
fdiv dword [esp + 0x2c]
fild qword [esp + 0x5c]
fmul st(1)
fsub dword [esp + 0x30]
fstp dword [esp + 0x10]
fild dword [ebp + 0x2c]
fst dword [esp + 0x18]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x38]
fld dword [esp + 0x44]
fmul dword [esp + 0x38]
fsub dword [esp + 0x34]
fstp dword [esp + 0x68]
fld dword [esp + 0x30]
fadd st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0x34]
fadd dword [esp + 0x38]
fld dword [esp + 0x10]
fcomp dword [0x4ecc60]
fnstsw ax
test ah, 1
je 0x43428d
mov dword [esp + 0x10], 0
fld dword [esp + 0x68]
fcomp dword [0x4ecc60]
fnstsw ax
test ah, 1
je 0x4342a6
mov dword [esp + 0x68], 0
fld dword [esp + 0x1c]
fadd dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4342c5
fld dword [esp + 0x14]
fsub dword [esp + 0x10]
fstp dword [esp + 0x1c]
fld st(0)
fadd dword [esp + 0x68]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x4342e0
fstp st(0)
fld dword [esp + 0x18]
fsub dword [esp + 0x68]
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x1c]
push eax
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x6c]
push eax
call sub.MSVCRT.dll__ftol
fld dword [esp + 0x18]
push eax
call sub.MSVCRT.dll__ftol
mov ecx, dword [ebp + 0x30]
push eax
push edi
push ecx
call sub.ipl.dll_iplSetROI
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
push edx
push eax
call fcn.004483a0
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x4343f5
mov ecx, dword [ebx + 0x40]
mov edi, dword [ebx + 0x44]
mov edx, ecx
or eax, 0xffffffff
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 3
and ecx, 3
push ebx
rep stosb byte es:[edi], al
push ebp
call fcn.00449670
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x70]
add esp, 0xc
test eax, eax
jne 0x43438d
mov eax, dword [esi + 0x80]
push 0xc
lea ecx, [esi + 0x7c]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x80]
add eax, 4
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0xc]
jl 0x43438d
inc ecx
mov edx, dword [esi + 0x78]
mov dword [eax], edx
mov dword [esi + 0x78], eax
sub eax, 0xc
dec ecx
jne 0x43437f
mov eax, dword [esi + 0x78]
mov ecx, dword [eax]
mov dword [esi + 0x78], ecx
mov dword [eax + 4], edi
mov dword [eax], 0
mov edi, dword [esi + 0x74]
inc edi
mov dword [esi + 0x74], edi
mov dword [eax + 8], 0
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4343ba
mov dword [ecx], eax
jmp 0x4343bd
mov dword [esi + 0x6c], eax
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jb 0x43421a
mov eax, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jb 0x4341ce
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret 0xc