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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push edi
mov edi, ecx
mov eax, dword [edi + 0x148]
test eax, eax
je 0x422c9b
mov eax, dword [edi + 0x1dc]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x190]
test eax, eax
jne 0x42292e
xor ebp, ebp
jmp 0x422939
mov ebp, dword [edi + 0x194]
sub ebp, eax
sar ebp, 2
xor ebx, ebx
mov dword [esp + 0x28], ebp
test ebp, ebp
mov dword [esp + 0x18], ebx
jle 0x422c9b
push esi
mov ecx, dword [edi + 0x190]
mov edx, dword [esp + 0x64]
push edx
mov esi, dword [ecx + ebx*4]
lea ecx, [esi + 0x130]
call fcn.00452db0
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x422c8d
mov ecx, dword [edi + 0x1f8]
test ecx, ecx
mov dword [esp + 0x20], ecx
jne 0x422990
mov ecx, dword [edi + 0x1d0]
test ecx, ecx
mov dword [esp + 0x20], ecx
je 0x422c8d
mov edx, dword [esi + 0x16c]
test edx, edx
jle 0x422c8d
mov byte [esi + 0x168], 0
fld dword [ecx + 0x20]
fsub dword [ecx + 0x1c]
fcomp dword [0x7e5664]
fnstsw ax
test ah, 0x40
jne 0x422c8d
fld dword [esp + 0x14]
fcomp dword [ecx + 0x1c]
fnstsw ax
test ah, 1
jne 0x422c8d
fld dword [esp + 0x14]
fcomp dword [ecx + 0x20]
fnstsw ax
test ah, 0x41
je 0x422c8d
test edx, edx
mov byte [esi + 0x168], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], edx
jle 0x422c8d
lea eax, [esi + 0xd0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x28], 0
jmp 0x422a13
mov ecx, dword [esp + 0x20]
fild dword [esp + 0x18]
fmul dword [0x7e5f88]
fsubr dword [esp + 0x14]
fst dword [esp + 0x24]
fcomp dword [ecx + 0x10]
fnstsw ax
test ah, 1
je 0x422a36
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x148]
mov eax, dword [esp + 0x24]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
fld dword [esi + 0x174]
fld dword [esi + 0x178]
fstp dword [esp + 0x40]
fld st(0)
fmul dword [esi + 0xc0]
mov ecx, dword [esi + 0x38]
mov edx, dword [edi + 0x150]
fadd dword [esi + 0xe0]
mov eax, dword [edx + ecx*4]
fstp dword [esp + 0x54]
fld st(0)
fmul dword [esi + 0xc4]
fadd dword [esi + 0xe4]
fstp dword [esp + 0x58]
fmul dword [esi + 0xc8]
fadd dword [esi + 0xe8]
fld dword [esp + 0x54]
fstp dword [esp + 0x30]
fld dword [esp + 0x58]
fstp dword [esp + 0x34]
fst dword [esp + 0x38]
fmul dword [eax + 0x74]
fld dword [esp + 0x34]
fmul dword [eax + 0x64]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [eax + 0x54]
faddp st(1)
fadd dword [eax + 0x84]
fld dword [esp + 0x38]
fmul dword [eax + 0x78]
fld dword [esp + 0x34]
fmul dword [eax + 0x68]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [eax + 0x58]
faddp st(1)
fadd dword [eax + 0x88]
fstp dword [esp + 0x58]
fld dword [esp + 0x38]
fmul dword [eax + 0x7c]
fld dword [esp + 0x34]
fmul dword [eax + 0x6c]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [eax + 0x5c]
faddp st(1)
fadd dword [eax + 0x8c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x40]
fld st(0)
fmul dword [esi + 0xc0]
fadd dword [esi + 0xe0]
fstp dword [esp + 0x3c]
fld st(0)
fmul dword [esi + 0xc4]
fadd dword [esi + 0xe4]
fstp dword [esp + 0x40]
fmul dword [esi + 0xc8]
fadd dword [esi + 0xe8]
fld dword [esp + 0x3c]
fstp dword [esp + 0x48]
fld dword [esp + 0x40]
fstp dword [esp + 0x4c]
fld st(0)
fmul dword [eax + 0x74]
fld dword [esp + 0x4c]
fmul dword [eax + 0x64]
mov ebx, dword [esi + 0x170]
mov ebp, dword [esi + 0x16c]
mov dword [esp + 0x24], ebx
xor edx, edx
faddp st(1)
fld dword [esp + 0x48]
fmul dword [eax + 0x54]
faddp st(1)
fadd dword [eax + 0x84]
fstp dword [esp + 0x3c]
fld st(0)
fmul dword [eax + 0x78]
fld dword [esp + 0x4c]
fmul dword [eax + 0x68]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [eax + 0x58]
faddp st(1)
fadd dword [eax + 0x88]
fstp dword [esp + 0x40]
fmul dword [eax + 0x7c]
fld dword [esp + 0x4c]
fmul dword [eax + 0x6c]
faddp st(1)
fld dword [esp + 0x48]
fmul dword [eax + 0x5c]
faddp st(1)
fadd dword [eax + 0x8c]
xor eax, eax
mov al, byte [esp + 0x26]
imul eax, dword [esp + 0x10]
fstp dword [esp + 0x44]
div ebp
xor edx, edx
mov ecx, eax
xor eax, eax
mov al, bh
imul eax, dword [esp + 0x10]
div ebp
shl ecx, 8
xor edx, edx
or ecx, eax
mov eax, ebx
and eax, 0xff
and ebx, 0xff000000
imul eax, dword [esp + 0x10]
div ebp
mov edx, dword [esp + 0x1c]
shl ecx, 8
or ecx, eax
mov eax, dword [edi + 0x1a0]
or ecx, ebx
mov ebx, dword [esp + 0x58]
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x28]
add eax, edx
mov ebp, ecx
and ebp, 0xff000000
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [eax + 8], ebx
mov ebx, ecx
fstp dword [eax]
shr ebx, 2
and ebx, 0x3f3f3f
or ebx, ebp
mov ebp, dword [esp + 0x3c]
mov dword [eax + 0xc], ebx
mov eax, dword [edi + 0x1a0]
mov ebx, dword [esp + 0x1c]
mov eax, dword [eax + ebx*4]
mov dword [eax + edx + 0x10], ebp
mov ebp, dword [esp + 0x40]
mov dword [eax + edx + 0x1c], ecx
lea eax, [eax + edx + 0x10]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [eax + 8], ebp
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x16c]
add edx, 0x20
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x10]
inc eax
dec edx
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x422a0f
mov ebp, dword [esp + 0x2c]
inc ebx
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
jl 0x42294c
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x50
ret 4