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

Disassembly:
sub esp, 0x70
mov eax, dword [ecx + 0x13c]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x14], ecx
jl 0x422c11
cmp eax, 4
jge 0x422c11
mov eax, dword [ecx + 0x160]
cmp eax, ebp
je 0x422c11
mov edx, dword [ecx + 0x164]
sub edx, eax
test edx, 0xffffffc0
je 0x422c11
mov eax, dword [ecx + 0x170]
cmp eax, ebp
je 0x422c11
mov edx, dword [ecx + 0x174]
sub edx, eax
test edx, 0xffffffc0
je 0x422c11
cmp dword [ecx + 0x148], ebp
je 0x422c11
mov edx, dword [ecx + 0x180]
mov ebx, dword [ecx + 0x160]
mov edi, dword [ecx + 0x170]
cmp edx, ebp
jne 0x4223b0
mov dword [esp + 0x20], ebp
jmp 0x4223bf
mov eax, dword [ecx + 0x184]
sub eax, edx
sar eax, 2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ebp
cmp eax, ebp
jle 0x422873
mov eax, dword [ecx + 0x180]
mov edx, dword [eax + ebp*4]
test edx, edx
je 0x422862
mov edx, dword [edx + 0xf4]
mov eax, dword [ecx + 0x13c]
test edx, edx
je 0x422862
test eax, eax
jl 0x422862
cmp eax, 4
jge 0x422862
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [edx + eax*4 + 0x2c]
test edx, edx
je 0x422862
mov eax, dword [edx + 0x40]
mov esi, dword [edx + 0x60]
test eax, eax
je 0x422862
test esi, esi
je 0x422862
mov edx, dword [edx + 0x30]
test edx, edx
jle 0x422862
mov ecx, eax
mov dword [esp + 0x18], eax
sub ecx, esi
lea ebp, [esi + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov esi, dword [ebp + 4]
cmp esi, 1
mov dword [esp + 0x34], esi
jne 0x4225e4
mov edx, dword [ebp + 8]
mov esi, dword [edx]
mov dl, byte [0x93f95c]
shl esi, 6
test dl, 1
jne 0x422490
or dl, 1
push fcn.0040de30
mov byte [0x93f95c], dl
call fcn.00726f2f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add esp, 4
fld dword [esi + edi + 0x20]
fmul dword [ebp]
fld dword [esi + edi + 0x10]
fmul dword [ebp - 4]
faddp st(1)
fld dword [esi + edi]
fmul dword [ebp - 8]
faddp st(1)
fadd dword [esi + edi + 0x30]
fstp dword [0x93f960]
fld dword [esi + edi + 0x24]
fmul dword [ebp]
fld dword [esi + edi + 4]
fmul dword [ebp - 8]
mov edx, dword [0x93f960]
mov dword [esp + 0x38], edx
faddp st(1)
fld dword [esi + edi + 0x14]
fmul dword [ebp - 4]
faddp st(1)
fadd dword [esi + edi + 0x34]
fstp dword [0x93f964]
fld dword [esi + edi + 0x28]
fmul dword [ebp]
fld dword [esi + edi + 8]
fmul dword [ebp - 8]
mov edx, dword [0x93f964]
mov dword [esp + 0x3c], edx
faddp st(1)
fld dword [esi + edi + 0x18]
fmul dword [ebp - 4]
faddp st(1)
fadd dword [esi + edi + 0x38]
fstp dword [0x93f968]
mov edx, dword [0x93f968]
mov dword [esp + 0x40], edx
mov dl, byte [0x93f95c]
test dl, 1
jne 0x42253f
or dl, 1
push fcn.0040de30
mov byte [0x93f95c], dl
call fcn.00726f2f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add esp, 4
fld dword [esp + 0x40]
fmul dword [esi + ebx + 0x20]
fld dword [esp + 0x3c]
fmul dword [esi + ebx + 0x10]
faddp st(1)
fld dword [esp + 0x38]
fmul dword [esi + ebx]
faddp st(1)
fadd dword [esi + ebx + 0x30]
fstp dword [0x93f960]
fld dword [esp + 0x40]
fmul dword [esi + ebx + 0x24]
fld dword [esp + 0x3c]
fmul dword [esi + ebx + 0x14]
mov edx, dword [0x93f960]
mov dword [esp + 0x5c], edx
faddp st(1)
fld dword [esp + 0x38]
fmul dword [esi + ebx + 4]
faddp st(1)
fadd dword [esi + ebx + 0x34]
fstp dword [0x93f964]
fld dword [esp + 0x40]
fmul dword [esi + ebx + 0x28]
fld dword [esp + 0x3c]
fmul dword [esi + ebx + 0x18]
mov edx, dword [0x93f964]
mov dword [esp + 0x60], edx
faddp st(1)
fld dword [esp + 0x38]
fmul dword [esi + ebx + 8]
faddp st(1)
fadd dword [esi + ebx + 0x38]
fstp dword [0x93f968]
mov edx, dword [0x93f968]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x5c]
fld dword [esp + 0x64]
mov dword [eax], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 4], edx
jmp 0x42283e
jle 0x422845
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x58], 0
mov dword [esp + 0x30], edx
xor edx, edx
test esi, esi
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x10], edx
jle 0x42282d
mov eax, dword [ebp + 8]
mov esi, dword [eax + edx*4]
mov al, byte [0x93f95c]
shl esi, 6
test al, 1
jne 0x422641
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f95c], dl
call fcn.00726f2f
add esp, 4
fld dword [esi + edi + 0x20]
fmul dword [ebp]
fld dword [esi + edi + 0x10]
fmul dword [ebp - 4]
faddp st(1)
fld dword [ebp - 8]
fmul dword [esi + edi]
faddp st(1)
fadd dword [esi + edi + 0x30]
fstp dword [0x93f960]
fld dword [esi + edi + 4]
fmul dword [ebp - 8]
fld dword [esi + edi + 0x24]
fmul dword [ebp]
mov ecx, dword [0x93f960]
mov dword [esp + 0x44], ecx
faddp st(1)
fld dword [esi + edi + 0x14]
fmul dword [ebp - 4]
faddp st(1)
fadd dword [esi + edi + 0x34]
fstp dword [0x93f964]
fld dword [esi + edi + 8]
fmul dword [ebp - 8]
fld dword [esi + edi + 0x28]
fmul dword [ebp]
mov edx, dword [0x93f964]
mov dword [esp + 0x48], edx
faddp st(1)
fld dword [esi + edi + 0x18]
fmul dword [ebp - 4]
faddp st(1)
fadd dword [esi + edi + 0x38]
fstp dword [0x93f968]
mov eax, dword [0x93f968]
mov dword [esp + 0x4c], eax
mov al, byte [0x93f95c]
test al, 1
jne 0x4226e7
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f95c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x4c]
fmul dword [esi + ebx + 0x20]
fld dword [esp + 0x48]
fmul dword [esi + ebx + 0x10]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esi + ebx]
faddp st(1)
fadd dword [esi + ebx + 0x30]
fstp dword [0x93f960]
fld dword [esp + 0x4c]
fmul dword [esi + ebx + 0x24]
fld dword [esp + 0x48]
fmul dword [esi + ebx + 0x14]
mov ecx, dword [0x93f960]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esi + ebx + 4]
faddp st(1)
fadd dword [esi + ebx + 0x34]
fstp dword [0x93f964]
fld dword [esp + 0x4c]
fmul dword [esi + ebx + 0x28]
fld dword [esp + 0x48]
fmul dword [esi + ebx + 0x18]
mov edx, dword [0x93f964]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esi + ebx + 8]
faddp st(1)
fadd dword [esi + ebx + 0x38]
fstp dword [0x93f968]
mov eax, dword [0x93f968]
fld dword [ecx + edx*4]
mov dword [esp + 0x70], eax
mov al, byte [0x93f93c]
fstp dword [esp + 0x1c]
test al, 1
jne 0x4227a5
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f93c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x68]
fmul dword [esp + 0x1c]
fstp dword [0x93f940]
fld dword [esp + 0x6c]
fmul dword [esp + 0x1c]
mov eax, dword [0x93f940]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x34]
fstp dword [0x93f944]
fld dword [esp + 0x70]
fmul dword [esp + 0x1c]
mov ecx, dword [0x93f944]
mov dword [esp + 0x78], ecx
fstp dword [0x93f948]
fld dword [esp + 0x74]
fadd dword [esp + 0x50]
mov edx, dword [0x93f948]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x10]
inc edx
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fadd dword [esp + 0x78]
cmp edx, eax
mov dword [esp + 0x10], edx
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x58]
jl 0x422617
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
fld dword [esp + 0x58]
mov dword [eax], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
fstp dword [edx + ebp]
mov edx, dword [esp + 0x28]
add ebp, 0x18
add eax, 0x18
dec edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edx
jne 0x42244f
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
mov dword [esp + 0x2c], ebp
jl 0x4223cf
mov eax, dword [ecx + 0x1c8]
test eax, eax
je 0x422c11
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x422c11
mov ecx, dword [eax + 0x60]
test ecx, ecx
je 0x422c11
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x30]
test eax, eax
jle 0x422c11
mov dword [esp + 0x18], ecx
sub ecx, edx
lea ebp, [edx + 8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 4]
cmp eax, 1
mov dword [esp + 0x28], eax
jne 0x422a3f
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov al, byte [0x93f95c]
shl esi, 6
test al, 1
jne 0x4228f2
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f95c], dl
call fcn.00726f2f
add esp, 4
fld dword [esi + edi + 0x10]
fmul dword [ebp - 4]
fld dword [esi + edi + 0x20]
fmul dword [ebp]
faddp st(1)
fld dword [esi + edi]
fmul dword [ebp - 8]
faddp st(1)
fadd dword [esi + edi + 0x30]
fstp dword [0x93f960]
fld dword [esi + edi + 0x14]
fmul dword [ebp - 4]
fld dword [esi + edi + 0x24]
fmul dword [ebp]
mov ecx, dword [0x93f960]
mov dword [esp + 0x50], ecx
faddp st(1)
fld dword [esi + edi + 4]
fmul dword [ebp - 8]
faddp st(1)
fadd dword [esi + edi + 0x34]
fstp dword [0x93f964]
fld dword [esi + edi + 0x18]
fmul dword [ebp - 4]
fld dword [esi + edi + 0x28]
fmul dword [ebp]
mov edx, dword [0x93f964]
mov dword [esp + 0x54], edx
faddp st(1)
fld dword [esi + edi + 8]
fmul dword [ebp - 8]
faddp st(1)
fadd dword [esi + edi + 0x38]
fstp dword [0x93f968]
mov eax, dword [0x93f968]
mov dword [esp + 0x58], eax
mov al, byte [0x93f95c]
test al, 1
jne 0x422998
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f95c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x58]
fmul dword [esi + ebx + 0x20]
fld dword [esp + 0x54]
fmul dword [esi + ebx + 0x10]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [esi + ebx]
faddp st(1)
fadd dword [esi + ebx + 0x30]
fstp dword [0x93f960]
fld dword [esp + 0x50]
fmul dword [esi + ebx + 4]
fld dword [esp + 0x58]
fmul dword [esi + ebx + 0x24]
mov ecx, dword [0x93f960]
mov dword [esp + 0x74], ecx
faddp st(1)
fld dword [esp + 0x54]
fmul dword [esi + ebx + 0x14]
faddp st(1)
fadd dword [esi + ebx + 0x34]
fstp dword [0x93f964]
fld dword [esp + 0x50]
fmul dword [esi + ebx + 8]
fld dword [esp + 0x58]
fmul dword [esi + ebx + 0x28]
mov edx, dword [0x93f964]
mov dword [esp + 0x78], edx
faddp st(1)
fld dword [esp + 0x54]
fmul dword [esi + ebx + 0x18]
faddp st(1)
fadd dword [esi + ebx + 0x38]
fstp dword [0x93f968]
mov eax, dword [0x93f968]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
fld dword [esp + 0x7c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x34]
fstp dword [eax + ebp]
jmp 0x422bf4
jle 0x422bf4
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov ecx, dword [ebp + 0xc]
test eax, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], 0
jle 0x422be6
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x10]
mov esi, dword [edx + eax*4]
mov al, byte [0x93f95c]
shl esi, 6
test al, 1
jne 0x422aa2
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f95c], dl
call fcn.00726f2f
add esp, 4
fld dword [esi + edi + 0x20]
fmul dword [ebp]
fld dword [esi + edi + 0x10]
fmul dword [ebp - 4]
faddp st(1)
fld dword [esi + edi]
fmul dword [ebp - 8]
faddp st(1)
fadd dword [esi + edi + 0x30]
fstp dword [0x93f960]
fld dword [esi + edi + 0x24]
fmul dword [ebp]
fld dword [esi + edi + 0x14]
fmul dword [ebp - 4]
mov ecx, dword [0x93f960]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x30]
faddp st(1)
fld dword [esi + edi + 4]
fmul dword [ebp - 8]
faddp st(1)
fadd dword [esi + edi + 0x34]
fstp dword [0x93f964]
fld dword [esi + edi + 0x28]
fmul dword [ebp]
fld dword [esi + edi + 0x18]
fmul dword [ebp - 4]
mov edx, dword [0x93f964]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x10]
faddp st(1)
fld dword [esi + edi + 8]
fmul dword [ebp - 8]
faddp st(1)
fadd dword [esi + edi + 0x38]
add esi, ebx
push esi
fstp dword [0x93f968]
mov eax, dword [0x93f968]
fld dword [ecx + edx*4]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x3c]
fstp dword [esp + 0x24]
push eax
lea ecx, [esp + 0x64]
call fcn.00424b80
mov esi, eax
mov al, byte [0x93f93c]
test al, 1
jne 0x422b6a
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f93c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x20]
fmul dword [esi]
fstp dword [0x93f940]
fld dword [esp + 0x20]
fmul dword [esi + 4]
mov ecx, dword [0x93f940]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x28]
fstp dword [0x93f944]
fld dword [esp + 0x20]
fmul dword [esi + 8]
mov edx, dword [0x93f944]
mov dword [esp + 0x6c], edx
fstp dword [0x93f948]
fld dword [esp + 0x68]
fadd dword [esp + 0x44]
mov eax, dword [0x93f948]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
inc eax
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fadd dword [esp + 0x6c]
cmp eax, ecx
mov dword [esp + 0x10], eax
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fadd dword [esp + 0x70]
fstp dword [esp + 0x4c]
jl 0x422a74
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004345b0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
add ebp, 0x18
add ecx, 0x18
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
jne 0x4228b9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret