Function at 0x423290
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push ebx
mov ebx, dword [esp + 0x88]
test ebx, ebx
push esi
je 0x423845
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x423845
mov esi, dword [eax + 0x14]
test esi, esi
je 0x423845
cmp dword [esi], 0
jne 0x423845
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x28], eax
xor eax, eax
mov ax, word [esi + 6]
mov dword [esp + 0x2c], ecx
mov ecx, eax
mov eax, dword [ebx + 0xac]
imul eax, ecx
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x30], edx
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x14]
push ebp
mov ebp, dword [esi + 0x24]
push edi
push ecx
lea edi, [eax + edx*4]
call fcn.004010c0
mov edx, dword [ebx + 0x20]
fstp dword [esp + 0x20]
push edx
call fcn.004010c0
mov eax, dword [ebx + 0x1c]
fstp dword [esp + 0x20]
push eax
call fcn.004010c0
mov ecx, dword [ebx + 0x24]
fstp dword [esp + 0x2c]
push ecx
call fcn.00401060
mov edx, dword [ebx + 0x20]
fchs
fstp dword [esp + 0x24]
push edx
call fcn.00401060
mov eax, dword [ebx + 0x1c]
fchs
fstp dword [esp + 0x24]
push eax
call fcn.00401060
fchs
fld dword [esp + 0x38]
fmul dword [esp + 0x34]
add esp, 0x18
fstp dword [esp + 0x24]
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
fstp dword [esp + 0x2c]
fld st(0)
fmul dword [esp + 0x10]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fmul dword [esp + 0x18]
fstp dword [esp + 0x3c]
fld dword [esp + 0x2c]
fmul dword [esp + 0x10]
fld st(1)
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0x40]
fld st(0)
fmul dword [esp + 0x14]
fld dword [esp + 0x24]
fmul dword [esp + 0x10]
fsubp st(1)
fstp dword [esp + 0x44]
fmul dword [esp + 0x18]
fchs
fstp dword [esp + 0x48]
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fsubr dword [esp + 0x24]
fstp dword [esp + 0x4c]
fld dword [esp + 0x28]
fmul dword [esp + 0x1c]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x50]
fld dword [esp + 0x14]
fmul dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x3c]
mov dword [esp + 0x54], ecx
push edx
fchs
fstp dword [esp + 0x5c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x20]
lea ecx, [esp + 0x64]
fstp dword [esp + 0x60]
call fcn.0040a1b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x5c]
xor eax, eax
mov dword [esp + 0x7c], ecx
cmp word [esi + 6], ax
mov dword [esp + 0x80], edx
jbe 0x4234c6
fld dword [esp + 0x60]
fmul dword [edi]
fld dword [esp + 0x68]
fmul dword [edi + 8]
xor ecx, ecx
add ebp, 0xc
add edi, 0xc
inc eax
faddp st(1)
fld dword [esp + 0x64]
fmul dword [edi - 8]
faddp st(1)
fadd dword [esp + 0x30]
fstp dword [ebp - 0xc]
fld dword [esp + 0x6c]
fmul dword [edi - 0xc]
fld dword [esp + 0x74]
fmul dword [edi - 4]
faddp st(1)
fld dword [esp + 0x70]
fmul dword [edi - 8]
faddp st(1)
fadd dword [esp + 0x34]
fstp dword [ebp - 8]
fld dword [esp + 0x78]
fmul dword [edi - 0xc]
fld dword [esp + 0x80]
fmul dword [edi - 4]
faddp st(1)
fld dword [esp + 0x7c]
fmul dword [edi - 8]
faddp st(1)
fadd dword [esp + 0x38]
fstp dword [ebp - 4]
mov cx, word [esi + 6]
cmp eax, ecx
jl 0x423453
mov edi, dword [esi + 0x24]
push 0xf
call dword [0x481dd4]
push 2
call dword [0x47db3c]
mov eax, dword [ebx + 0x4c]
add esp, 8
cmp eax, 1
jne 0x423549
fld dword [ebx + 0x74]
fcomp dword [0x4671bc]
fnstsw ax
test ah, 1
je 0x4234f8
xor ebx, ebx
jmp 0x42350b
fld dword [ebx + 0x74]
fmul dword [0x46729c]
fdiv dword [ebx + 0x70]
call fcn.004518d4
mov ebx, eax
push 1
call dword [0x47f768]
shl ebx, 0x18
push ebx
call dword [0x47f7a4]
push 2
call dword [0x4839b4]
mov eax, dword [0x485524]
add esp, 0xc
test eax, eax
jne 0x42353d
mov edx, dword [0x4839b4]
mov dword [0x485524], edx
mov dword [0x4839b4], fcn.00409a00
jmp 0x423567
test dword [ebx + 0x44], 0x10000000
je 0x423567
push 3
call dword [0x47db3c]
mov eax, dword [ebx + 0x64]
push eax
call dword [0x47f7a4]
add esp, 8
mov ax, word [esi + 0x1e]
cmp ax, 0xffff
je 0x4236d2
mov ecx, dword [esi + 0xc]
and eax, 0xffff
mov dword [esp + 0x20], ecx
mov ecx, dword [0x47db1c]
cmp ecx, eax
je 0x4235c2
mov edx, 0x484ee8
test edx, edx
je 0x4235b3
cmp eax, dword [0x484ee8]
jge 0x4235b3
test eax, eax
jl 0x4235b3
mov ecx, eax
mov edx, dword [0x484ef8]
imul ecx, dword [0x484ef4]
add ecx, edx
jmp 0x4235b5
xor ecx, ecx
push 0xffffffffffffffff
push eax
push ecx
call dword [0x4819c0]
add esp, 0xc
cmp word [esi + 4], 0
mov dword [esp + 0x10], 0
jbe 0x42382a
mov ebx, 0x3f800000
mov edx, dword [esp + 0x20]
mov ecx, 0x47e9b8
xor eax, eax
add ecx, 0x34
mov ax, word [edx]
add edx, 2
fld dword [0x483574]
lea eax, [eax + eax*2]
fmul dword [edi + eax*4 + 8]
fld dword [0x483570]
fmul dword [edi + eax*4 + 4]
lea eax, [edi + eax*4]
faddp st(1)
fld dword [0x48356c]
fmul dword [eax]
faddp st(1)
fadd dword [0x483590]
fstp dword [ecx - 0x3c]
fld dword [0x483580]
fmul dword [eax + 8]
fld dword [0x48357c]
fmul dword [eax + 4]
faddp st(1)
fld dword [0x483578]
fmul dword [eax]
faddp st(1)
fadd dword [0x483594]
fstp dword [ecx - 0x38]
fld dword [0x48358c]
fmul dword [eax + 8]
fld dword [0x483588]
fmul dword [eax + 4]
faddp st(1)
fld dword [0x483584]
fmul dword [eax]
xor eax, eax
cmp ecx, 0x47ea54
faddp st(1)
fadd dword [0x483598]
fstp dword [ecx - 0x34]
mov ax, word [edx + 4]
mov ebp, dword [esi + 0x10]
lea eax, [ebp + eax*8]
mov ebp, dword [eax]
mov dword [ecx - 0x28], ebp
mov eax, dword [eax + 4]
mov dword [ecx - 0x24], eax
mov dword [ecx - 0x1c], ebx
jl 0x4235e3
mov dword [0x47da14], 3
call fcn.004113a0
test eax, eax
je 0x4236ab
call dword [0x484ea8]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cx, word [esi + 4]
add eax, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4235da
jmp 0x42382a
mov edx, dword [esi + 0xc]
cmp word [esi + 4], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], 0
jbe 0x42382a
mov ebx, 0x3f800000
mov ecx, 0x47e9b8
xor eax, eax
add ecx, 0x34
mov ax, word [edx]
add edx, 2
fld dword [0x483574]
lea eax, [eax + eax*2]
fmul dword [edi + eax*4 + 8]
fld dword [0x483570]
fmul dword [edi + eax*4 + 4]
lea eax, [edi + eax*4]
faddp st(1)
fld dword [0x48356c]
fmul dword [eax]
faddp st(1)
fadd dword [0x483590]
fstp dword [ecx - 0x3c]
fld dword [0x483580]
fmul dword [eax + 8]
fld dword [0x48357c]
fmul dword [eax + 4]
faddp st(1)
fld dword [0x483578]
fmul dword [eax]
faddp st(1)
fadd dword [0x483594]
fstp dword [ecx - 0x38]
fld dword [0x48358c]
fmul dword [eax + 8]
fld dword [0x483588]
fmul dword [eax + 4]
faddp st(1)
fld dword [0x483584]
fmul dword [eax]
xor eax, eax
cmp ecx, 0x47ea54
faddp st(1)
fadd dword [0x483598]
fstp dword [ecx - 0x34]
mov ax, word [edx + 4]
mov ebp, dword [esi + 0x10]
lea eax, [ebp + eax*8]
mov ebp, dword [eax]
mov dword [ecx - 0x28], ebp
mov eax, dword [eax + 4]
mov dword [ecx - 0x24], eax
mov dword [ecx - 0x1c], ebx
jl 0x4236f6
mov dword [0x47da14], 3
call fcn.004113a0
test eax, eax
je 0x423808
mov edx, dword [esp + 0x20]
mov eax, dword [0x47db1c]
xor ecx, ecx
mov cx, word [edx + 0xe]
cmp eax, ecx
je 0x423802
mov eax, 0x484ee8
test eax, eax
je 0x4237f3
cmp ecx, dword [0x484ee8]
jge 0x4237f3
test ecx, ecx
jl 0x4237f3
mov eax, ecx
mov edx, dword [0x484ef8]
imul eax, dword [0x484ef4]
add eax, edx
jmp 0x4237f5
xor eax, eax
push 0xffffffffffffffff
push ecx
push eax
call dword [0x4819c0]
add esp, 0xc
call dword [0x484ea8]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
xor ecx, ecx
add edx, 0x10
mov cx, word [esi + 4]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
jl 0x4236f1
mov eax, dword [0x485524]
pop edi
test eax, eax
pop ebp
je 0x42383a
mov dword [0x4839b4], eax
push 2
call dword [0x47f768]
add esp, 4
pop esi
pop ebx
add esp, 0x80
ret