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

Disassembly:
mov ecx, dword [ecx + 0xc]
jmp 0x420a80
sub esp, 0xc4
xor eax, eax
push ebp
mov ebp, ecx
push esi
xor esi, esi
mov ax, word [ebp + 8]
dec eax
test eax, eax
jle 0x421339
push ebx
push edi
mov al, byte [ebp + 0xa]
test al, al
je 0x420aac
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + esi*8]
jmp 0x420ab5
mov eax, dword [ebp + 0xc]
lea edx, [esi + esi*2]
lea eax, [eax + edx*4]
xor ecx, ecx
mov cx, word [eax]
test ecx, ecx
js 0x421327
lea edi, [esp + 0x1c]
mov ebx, 4
mov ecx, edi
call fcn.00402a70
add edi, 0x10
dec ebx
jne 0x420acb
mov bl, byte [ebp + 0xa]
mov ecx, dword [ebp + 0xc]
test bl, bl
je 0x420aea
movzx ax, byte [ecx + esi*8 + 4]
jmp 0x420af2
lea edx, [esi + esi*2]
mov ax, word [ecx + edx*4 + 4]
mov edx, dword [ebp + 0x30]
and eax, 0xffff
shl eax, 4
add eax, edx
test bl, bl
mov edi, dword [eax]
mov dword [esp + 0x1c], edi
mov edi, dword [eax + 4]
mov dword [esp + 0x20], edi
mov edi, dword [eax + 8]
mov dword [esp + 0x24], edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
je 0x420b26
movzx ax, byte [ecx + esi*8 + 5]
jmp 0x420b2e
lea eax, [esi + esi*2]
mov ax, word [ecx + eax*4 + 6]
and eax, 0xffff
shl eax, 4
add eax, edx
test bl, bl
mov edi, dword [eax]
mov dword [esp + 0x2c], edi
mov edi, dword [eax + 4]
mov dword [esp + 0x30], edi
mov edi, dword [eax + 8]
mov dword [esp + 0x34], edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], eax
je 0x420b5f
movzx ax, byte [ecx + esi*8 + 6]
jmp 0x420b67
lea eax, [esi + esi*2]
mov ax, word [ecx + eax*4 + 8]
and eax, 0xffff
shl eax, 4
add eax, edx
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0xc]
xor ecx, ecx
lea eax, [esi + 1]
mov cx, word [ebp + 8]
mov dword [esp + 0x48], edx
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x421327
mov edx, eax
lea ecx, [edx + edx*2]
shl ecx, 2
mov dword [esp + 0x14], ecx
mov bl, byte [ebp + 0xa]
mov eax, dword [ebp + 0xc]
test bl, bl
je 0x420bbc
lea ecx, [eax + edx*8]
jmp 0x420bbe
add ecx, eax
xor edi, edi
mov di, word [ecx]
test edi, edi
js 0x421151
test bl, bl
je 0x420bd7
movzx cx, byte [eax + edx*8 + 4]
jmp 0x420be0
mov edx, dword [esp + 0x14]
mov cx, word [edx + eax + 4]
mov edx, dword [ebp + 0x30]
and ecx, 0xffff
shl ecx, 4
add ecx, edx
test bl, bl
mov edi, dword [ecx]
mov dword [esp + 0x1c], edi
mov edi, dword [ecx + 4]
mov dword [esp + 0x20], edi
mov edi, dword [ecx + 8]
mov dword [esp + 0x24], edi
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x28], ecx
je 0x420c19
mov ecx, dword [esp + 0x10]
movzx cx, byte [eax + ecx*8 + 5]
jmp 0x420c22
mov ecx, dword [esp + 0x14]
mov cx, word [ecx + eax + 6]
and ecx, 0xffff
shl ecx, 4
add ecx, edx
test bl, bl
mov edi, dword [ecx]
mov dword [esp + 0x2c], edi
mov edi, dword [ecx + 4]
mov dword [esp + 0x30], edi
mov edi, dword [ecx + 8]
mov dword [esp + 0x34], edi
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x38], ecx
je 0x420c58
mov ecx, dword [esp + 0x10]
movzx cx, byte [eax + ecx*8 + 6]
jmp 0x420c61
mov ecx, dword [esp + 0x14]
mov cx, word [ecx + eax + 8]
and ecx, 0xffff
shl ecx, 4
add ecx, edx
mov edx, dword [ecx]
mov dword [esp + 0x3c], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x44], edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x48], ecx
or ecx, 0xffffffff
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
xor ecx, ecx
mov dword [esp + 0x18], ecx
test bl, bl
je 0x420cc1
lea edx, [eax + esi*8]
movzx di, byte [edx + ecx + 4]
mov edx, dword [esp + 0x10]
movzx dx, byte [eax + edx*8 + 4]
jmp 0x420cd5
lea edx, [esi + esi*2]
lea edx, [ecx + edx*2]
mov di, word [eax + edx*2 + 4]
mov edx, dword [esp + 0x14]
mov dx, word [edx + eax + 4]
cmp di, dx
jne 0x420d33
test bl, bl
je 0x420ce9
lea edx, [eax + esi*8]
movzx dx, byte [edx + ecx + 4]
jmp 0x420cf4
lea edx, [esi + esi*2]
lea edx, [ecx + edx*2]
mov dx, word [eax + edx*2 + 4]
and edx, 0xffff
test bl, bl
mov dword [esp + ecx*4 + 0x5c], edx
je 0x420d1b
mov edx, dword [esp + 0x10]
movzx dx, byte [eax + edx*8 + 4]
and edx, 0xffff
mov dword [esp + 0x68], edx
jmp 0x420e34
mov edx, dword [esp + 0x14]
mov dx, word [edx + eax + 4]
and edx, 0xffff
mov dword [esp + 0x68], edx
jmp 0x420e34
test bl, bl
je 0x420d4c
lea edx, [eax + esi*8]
movzx di, byte [edx + ecx + 4]
mov edx, dword [esp + 0x10]
movzx dx, byte [eax + edx*8 + 5]
jmp 0x420d60
lea edx, [esi + esi*2]
lea edx, [ecx + edx*2]
mov di, word [eax + edx*2 + 4]
mov edx, dword [esp + 0x14]
mov dx, word [edx + eax + 6]
cmp di, dx
jne 0x420dbb
test bl, bl
je 0x420d74
lea edx, [eax + esi*8]
movzx dx, byte [edx + ecx + 4]
jmp 0x420d7f
lea edx, [esi + esi*2]
lea edx, [ecx + edx*2]
mov dx, word [eax + edx*2 + 4]
and edx, 0xffff
test bl, bl
mov dword [esp + ecx*4 + 0x5c], edx
je 0x420da6
mov edx, dword [esp + 0x10]
movzx dx, byte [eax + edx*8 + 5]
and edx, 0xffff
mov dword [esp + 0x6c], edx
jmp 0x420e34
mov edx, dword [esp + 0x14]
mov dx, word [edx + eax + 6]
and edx, 0xffff
mov dword [esp + 0x6c], edx
jmp 0x420e34
test bl, bl
je 0x420dd4
lea edx, [eax + esi*8]
movzx di, byte [edx + ecx + 4]
mov edx, dword [esp + 0x10]
movzx dx, byte [eax + edx*8 + 6]
jmp 0x420de8
lea edx, [esi + esi*2]
lea edx, [ecx + edx*2]
mov di, word [eax + edx*2 + 4]
mov edx, dword [esp + 0x14]
mov dx, word [edx + eax + 8]
cmp di, dx
jne 0x420e38
test bl, bl
je 0x420dfc
lea edx, [eax + esi*8]
movzx dx, byte [edx + ecx + 4]
jmp 0x420e07
lea edx, [esi + esi*2]
lea edx, [ecx + edx*2]
mov dx, word [eax + edx*2 + 4]
and edx, 0xffff
test bl, bl
mov dword [esp + ecx*4 + 0x5c], edx
je 0x420e21
mov edx, dword [esp + 0x10]
movzx dx, byte [eax + edx*8 + 6]
jmp 0x420e2a
mov edx, dword [esp + 0x14]
mov dx, word [edx + eax + 8]
and edx, 0xffff
mov dword [esp + 0x70], edx
inc dword [esp + 0x18]
inc ecx
cmp ecx, 3
jl 0x420ca8
cmp dword [esp + 0x18], 2
jne 0x421151
test bl, bl
je 0x420e59
movzx cx, byte [eax + esi*8 + 4]
jmp 0x420e61
lea ecx, [esi + esi*2]
mov cx, word [eax + ecx*4 + 4]
mov edx, dword [ebp + 0x30]
and ecx, 0xffff
shl ecx, 4
add ecx, edx
test bl, bl
mov edi, dword [ecx]
mov dword [esp + 0x1c], edi
mov edi, dword [ecx + 4]
mov dword [esp + 0x20], edi
mov edi, dword [ecx + 8]
mov dword [esp + 0x24], edi
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x28], ecx
je 0x420e96
movzx cx, byte [eax + esi*8 + 5]
jmp 0x420e9e
lea ecx, [esi + esi*2]
mov cx, word [eax + ecx*4 + 6]
and ecx, 0xffff
shl ecx, 4
add ecx, edx
test bl, bl
mov edi, dword [ecx]
mov dword [esp + 0x2c], edi
mov edi, dword [ecx + 4]
mov dword [esp + 0x30], edi
mov edi, dword [ecx + 8]
mov dword [esp + 0x34], edi
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x38], ecx
je 0x420ed0
movzx ax, byte [eax + esi*8 + 6]
jmp 0x420ed8
lea ecx, [esi + esi*2]
mov ax, word [eax + ecx*4 + 8]
and eax, 0xffff
sub esp, 0x10
shl eax, 4
add eax, edx
mov edx, dword [eax]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x54], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x84]
fld dword [esp + 0x58]
fsub dword [esp + 0x38]
fstp dword [esp + 0xc]
fld dword [esp + 0x54]
fsub dword [esp + 0x34]
fstp dword [esp + 8]
fld dword [esp + 0x50]
fsub dword [esp + 0x30]
fstp dword [esp + 4]
fld dword [esp + 0x4c]
fsub dword [esp + 0x2c]
fstp dword [esp]
call fcn.0045dab0
fld dword [esp + 0x38]
fsub dword [esp + 0x28]
sub esp, 0x10
lea ecx, [esp + 0x94]
fstp dword [esp + 0xc]
fld dword [esp + 0x44]
fsub dword [esp + 0x34]
fstp dword [esp + 8]
fld dword [esp + 0x40]
fsub dword [esp + 0x30]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fsub dword [esp + 0x2c]
fstp dword [esp]
call fcn.0045dab0
fld dword [esp + 0x84]
fmul dword [esp + 0x78]
fld dword [esp + 0x74]
fmul dword [esp + 0x88]
push 0
lea ecx, [esp + 0x98]
fsubp st(1)
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x84]
fmul dword [esp + 0x9c]
fld dword [esp + 0x94]
fmul dword [esp + 0x8c]
fsubp st(1)
fstp dword [esp + 4]
fld dword [esp + 0x8c]
fmul dword [esp + 0x98]
fld dword [esp + 0x88]
fmul dword [esp + 0x9c]
fsubp st(1)
fstp dword [esp]
call fcn.0045dab0
mov dl, byte [ebp + 0xa]
mov ecx, dword [ebp + 0xc]
test dl, dl
je 0x420fff
mov eax, dword [esp + 0x10]
movzx ax, byte [ecx + eax*8 + 4]
jmp 0x421008
mov eax, dword [esp + 0x14]
mov ax, word [eax + ecx + 4]
mov edi, dword [ebp + 0x30]
and eax, 0xffff
shl eax, 4
add eax, edi
test dl, dl
mov ebx, dword [eax]
mov dword [esp + 0x1c], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0x20], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x24], ebx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
je 0x421040
mov eax, dword [esp + 0x10]
movzx ax, byte [ecx + eax*8 + 5]
jmp 0x421049
mov eax, dword [esp + 0x14]
mov ax, word [eax + ecx + 6]
and eax, 0xffff
shl eax, 4
add eax, edi
test dl, dl
mov ebx, dword [eax]
mov dword [esp + 0x2c], ebx
mov ebx, dword [eax + 4]
mov dword [esp + 0x30], ebx
mov ebx, dword [eax + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], eax
je 0x42107e
mov edx, dword [esp + 0x10]
movzx cx, byte [ecx + edx*8 + 6]
jmp 0x421087
mov eax, dword [esp + 0x14]
mov cx, word [eax + ecx + 8]
and ecx, 0xffff
shl ecx, 4
add ecx, edi
push ecx
lea ecx, [esp + 0x40]
call fcn.00499d60
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0xb8]
push edx
push eax
call fcn.00404c70
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push eax
push ecx
lea eax, [esp + 0xcc]
push edx
push eax
call fcn.00404c70
add esp, 0xc
lea ecx, [esp + 0xa8]
push eax
push ecx
call fcn.004039b0
add esp, 0xc
lea ecx, [esp + 0x94]
call fcn.00403960
lea ecx, [esp + 0xa4]
call fcn.00403960
fld dword [esp + 0xa4]
fsub dword [esp + 0x94]
fabs
fcomp qword [0x5895e8]
fnstsw ax
test ah, 0x41
jp 0x421151
fld dword [esp + 0xa8]
fsub dword [esp + 0x98]
fabs
fcomp qword [0x5895e8]
fnstsw ax
test ah, 0x41
jp 0x421151
fld dword [esp + 0xac]
fsub dword [esp + 0x9c]
fabs
fcomp qword [0x5895e8]
fnstsw ax
test ah, 0x41
jnp 0x421178
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
xor eax, eax
inc edx
mov ax, word [ebp + 8]
add ecx, 0xc
cmp edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jl 0x420bad
jmp 0x421327
or edi, 0xffffffff
xor eax, eax
cmp dword [esp + eax*4 + 0x68], edi
je 0x42118b
inc eax
cmp eax, 3
jl 0x42117d
jmp 0x4211bc
mov cl, byte [ebp + 0xa]
test cl, cl
je 0x4211a4
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x10]
lea ecx, [ecx + edx*8]
movzx di, byte [ecx + eax + 4]
jmp 0x4211b6
mov ecx, dword [esp + 0x10]
lea edx, [ecx + ecx*2]
mov ecx, dword [ebp + 0xc]
lea eax, [eax + edx*2]
mov di, word [ecx + eax*2 + 4]
and edi, 0xffff
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
test eax, eax
jl 0x42121d
test ecx, ecx
jl 0x421297
push 0
push esi
mov ecx, ebp
call fcn.004220d0
mov ebx, dword [ebp + 0x30]
and eax, 0xffff
shl eax, 4
add eax, ebx
lea ecx, [esp + 0x1c]
push eax
call fcn.00499d60
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x2c]
shl edi, 4
add edi, eax
push edi
call fcn.00499d60
push 1
push esi
mov ecx, ebp
call fcn.004220d0
mov edi, dword [ebp + 0x30]
and eax, 0xffff
shl eax, 4
add eax, edi
push eax
jmp 0x421274
test ecx, ecx
jl 0x421297
mov ecx, dword [esp + 0x64]
test ecx, ecx
jl 0x421297
push 0
push esi
mov ecx, ebp
call fcn.004220d0
mov edx, dword [ebp + 0x30]
and eax, 0xffff
shl eax, 4
add eax, edx
lea ecx, [esp + 0x1c]
push eax
call fcn.00499d60
push 1
push esi
mov ecx, ebp
call fcn.004220d0
mov edx, dword [ebp + 0x30]
and eax, 0xffff
shl eax, 4
add eax, edx
lea ecx, [esp + 0x2c]
push eax
call fcn.00499d60
mov ebx, dword [ebp + 0x30]
shl edi, 4
add edi, ebx
push edi
lea ecx, [esp + 0x40]
call fcn.00499d60
push 2
push esi
mov ecx, ebp
call fcn.004220d0
mov edx, dword [ebp + 0x30]
and eax, 0xffff
shl eax, 4
add eax, edx
push eax
jmp 0x42130f
test eax, eax
jl 0x421318
mov eax, dword [esp + 0x64]
test eax, eax
jl 0x421318
push 0
push esi
mov ecx, ebp
call fcn.004220d0
mov edx, dword [ebp + 0x30]
and eax, 0xffff
shl eax, 4
add eax, edx
lea ecx, [esp + 0x1c]
push eax
call fcn.00499d60
push 1
push esi
mov ecx, ebp
call fcn.004220d0
mov ebx, dword [ebp + 0x30]
and eax, 0xffff
shl eax, 4
add eax, ebx
lea ecx, [esp + 0x2c]
push eax
call fcn.00499d60
push 2
push esi
mov ecx, ebp
call fcn.004220d0
mov ecx, dword [ebp + 0x30]
and eax, 0xffff
shl eax, 4
add eax, ecx
lea ecx, [esp + 0x3c]
push eax
call fcn.00499d60
mov ecx, dword [ebp + 0x30]
shl edi, 4
add edi, ecx
push edi
lea ecx, [esp + 0x50]
call fcn.00499d60
lea edx, [esp + 0x1c]
push edx
push 4
call fcn.00461f30
add esp, 8
xor eax, eax
inc esi
mov ax, word [ebp + 8]
dec eax
cmp esi, eax
jl 0x420a9d
pop edi
pop ebx
xor esi, esi
cmp word [ebp + 8], si
jbe 0x421354
push esi
mov ecx, ebp
call fcn.00422110
xor ecx, ecx
inc esi
mov cx, word [ebp + 8]
cmp esi, ecx
jl 0x421341
pop esi
pop ebp
add esp, 0xc4
ret