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

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov esi, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x50]
push ebp
push esi
lea eax, [esp + 0x44]
mov ebx, ecx
push edi
push eax
mov dword [esp + 0x20], ebx
call fcn.00416fa0
mov ecx, dword [eax]
push ebp
push esi
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x44]
push edi
push eax
mov ecx, ebx
mov dword [esp + 0x40], edx
call fcn.00417080
mov ecx, dword [eax]
push ebp
push esi
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x44]
push edi
push eax
mov ecx, ebx
mov dword [esp + 0x30], edx
call fcn.00417160
mov ecx, dword [eax]
push ebp
push esi
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x2c]
push edi
push eax
mov ecx, ebx
mov dword [esp + 0x48], edx
call fcn.00417230
mov ecx, dword [eax + 4]
mov ebx, dword [ebx + 0x498]
mov dword [esp + 0x40], ecx
lea ecx, [ebp - 1]
lea edx, [ebx + ebx*2 + 8]
mov dword [esp + 0x14], ecx
imul edx, ecx
lea ecx, [esi + esi*2]
add edi, edx
mov dl, byte [ecx + edi + 6]
lea edi, [ecx + edi + 5]
mov byte [esp + 0x58], dl
mov edx, dword [esp + 0x2c]
mov cl, byte [edi + 2]
mov edi, dword [esp + 0x30]
test edx, edx
jne 0x4168dd
test edi, edi
je 0x416f73
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x4168f1
mov edx, dword [esp + 0x20]
test edx, edx
je 0x416f73
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x416905
mov edx, dword [esp + 0x38]
test edx, edx
je 0x416f73
mov edx, dword [eax]
test edx, edx
mov dword [esp + 0x3c], edx
jne 0x41691b
mov edx, dword [esp + 0x40]
test edx, edx
je 0x416f73
mov dl, byte [esp + 0x58]
test dl, dl
jne 0x4169e9
test cl, cl
je 0x416f73
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
dec eax
mov edi, dword [esp + 0x4c]
imul eax, ebx
add eax, ecx
cmp ecx, esi
mov edx, dword [edi + eax*8 - 8]
lea eax, [edi + eax*8 - 8]
mov dword [esp + 0x4c], edx
jge 0x41695f
mov ecx, dword [esp + 0x10]
add edx, dword [ecx + 0x4a8]
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
cmp ecx, ebp
mov dword [esp + 0x5c], eax
jle 0x41697c
mov edx, dword [esp + 0x10]
sub eax, dword [edx + 0x4ac]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
dec eax
imul eax, ebx
add eax, edx
cmp edx, esi
mov ecx, dword [edi + eax*8 - 8]
lea eax, [edi + eax*8 - 8]
jle 0x4169a0
mov edx, dword [esp + 0x10]
sub ecx, dword [edx + 0x4a8]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x38]
cmp eax, ebp
jge 0x4169b5
mov eax, dword [esp + 0x10]
add esi, dword [eax + 0x4ac]
mov edx, dword [esp + 0x4c]
add ecx, edx
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x4c]
fadd dword [0x4301e0]
fmul dword [0x4301e8]
call sub.msvcrt.dll__ftol
mov ebp, eax
mov eax, dword [esp + 0x5c]
add esi, eax
mov dword [esp + 0x4c], esi
fild dword [esp + 0x4c]
jmp 0x416b59
test cl, cl
jne 0x416a97
lea edx, [edi - 1]
mov ecx, dword [esp + 0x2c]
imul edx, ebx
mov eax, dword [esp + 0x4c]
add edx, ecx
cmp ecx, esi
lea eax, [eax + edx*8 - 8]
mov edx, dword [eax]
jle 0x416a15
mov ecx, dword [esp + 0x10]
sub edx, dword [ecx + 0x4a8]
mov eax, dword [eax + 4]
cmp edi, ebp
mov dword [esp + 0x5c], eax
jle 0x416a2e
mov ecx, dword [esp + 0x10]
sub eax, dword [ecx + 0x4ac]
mov dword [esp + 0x5c], eax
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
lea eax, [edi - 1]
imul eax, ebx
mov ebx, dword [esp + 0x3c]
add eax, ebx
cmp ebx, esi
lea eax, [ecx + eax*8 - 8]
mov ecx, dword [eax]
jge 0x416a56
mov esi, dword [esp + 0x10]
add ecx, dword [esi + 0x4a8]
mov esi, dword [eax + 4]
cmp edi, ebp
jge 0x416a67
mov eax, dword [esp + 0x10]
add esi, dword [eax + 0x4ac]
add ecx, edx
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x4c]
fadd dword [0x4301e0]
fmul dword [0x4301e8]
call sub.msvcrt.dll__ftol
mov ecx, dword [esp + 0x5c]
mov ebp, eax
add esi, ecx
mov dword [esp + 0x4c], esi
fild dword [esp + 0x4c]
jmp 0x416b59
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jne 0x416bc4
cmp edi, dword [esp + 0x20]
jne 0x416bc4
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
cmp edx, ecx
jne 0x416bb4
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x38]
cmp edx, ecx
jne 0x416bb4
lea edx, [edi - 1]
mov eax, dword [esp + 0x2c]
imul edx, ebx
mov ecx, dword [esp + 0x4c]
add edx, eax
cmp edi, ebp
lea eax, [ecx + edx*8 - 8]
mov edx, dword [ecx + edx*8 - 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], eax
jle 0x416b03
mov edx, dword [esp + 0x10]
sub eax, dword [edx + 0x4ac]
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
lea eax, [edx - 1]
imul eax, ebx
add eax, edi
mov edi, dword [ecx + eax*8 - 8]
mov dword [esp + 0x58], edi
mov edi, dword [ecx + eax*8 - 4]
lea eax, [ecx + eax*8 - 8]
cmp edx, ebp
jge 0x416b31
mov edx, dword [esp + 0x10]
add edi, dword [edx + 0x4ac]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x416b7f
cmp eax, 2
je 0x416b7f
mov eax, dword [esp + 0x14]
imul eax, ebx
add eax, esi
mov ebp, dword [ecx + eax*8 - 8]
mov eax, dword [esp + 0x4c]
add edi, eax
mov dword [esp + 0x4c], edi
fild dword [esp + 0x4c]
fadd dword [0x4301e0]
fmul dword [0x4301e8]
call sub.msvcrt.dll__ftol
mov ecx, dword [esp + 0x48]
pop edi
pop esi
mov dword [ecx], ebp
mov dword [ecx + 4], eax
pop ebp
mov eax, ecx
pop ebx
add esp, 0x34
ret 0x18
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
add ecx, edx
mov dword [esp + 0x5c], ecx
fild dword [esp + 0x5c]
fadd dword [0x4301e0]
fmul dword [0x4301e8]
call sub.msvcrt.dll__ftol
mov ebp, eax
mov eax, dword [esp + 0x4c]
add edi, eax
mov dword [esp + 0x4c], edi
fild dword [esp + 0x4c]
jmp 0x416b59
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
cmp edi, edx
je 0x416dcf
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
cmp eax, edx
jne 0x416be5
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
cmp eax, edx
je 0x416dcf
lea eax, [edi - 1]
mov edx, dword [esp + 0x4c]
imul eax, ebx
add eax, ecx
cmp ecx, esi
lea eax, [edx + eax*8 - 8]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
jle 0x416c0d
mov ecx, dword [esp + 0x10]
sub edx, dword [ecx + 0x4a8]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 4]
cmp edi, ebp
mov dword [esp + 0x2c], eax
jle 0x416c26
mov edx, dword [esp + 0x10]
sub eax, dword [edx + 0x4ac]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
dec eax
mov edi, dword [esp + 0x4c]
imul eax, ebx
add eax, ecx
cmp ecx, esi
mov edx, dword [edi + eax*8 - 8]
lea eax, [edi + eax*8 - 8]
mov dword [esp + 0x58], edx
jge 0x416c56
mov ecx, dword [esp + 0x10]
add edx, dword [ecx + 0x4a8]
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
cmp ecx, ebp
mov dword [esp + 0x24], eax
jle 0x416c73
mov edx, dword [esp + 0x10]
sub eax, dword [edx + 0x4ac]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
dec eax
imul eax, ebx
add eax, ecx
cmp ecx, esi
mov edx, dword [edi + eax*8 - 8]
lea eax, [edi + eax*8 - 8]
mov dword [esp + 0x54], edx
jle 0x416c9f
mov ecx, dword [esp + 0x10]
sub edx, dword [ecx + 0x4a8]
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 4]
cmp ecx, ebp
mov dword [esp + 0x1c], eax
jge 0x416cbc
mov edx, dword [esp + 0x10]
add eax, dword [edx + 0x4ac]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea eax, [edx - 1]
imul eax, ebx
add eax, ecx
cmp ecx, esi
lea eax, [edi + eax*8 - 8]
mov edi, dword [eax]
mov dword [esp + 0x50], edi
jge 0x416ce8
mov ecx, dword [esp + 0x10]
add edi, dword [ecx + 0x4a8]
mov dword [esp + 0x50], edi
mov edi, dword [eax + 4]
cmp edx, ebp
jge 0x416cf9
mov edx, dword [esp + 0x10]
add edi, dword [edx + 0x4ac]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
add eax, ecx
add eax, ebp
add eax, edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x4301e4]
fadd dword [0x4301e8]
call sub.msvcrt.dll__ftol
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add edi, edx
mov ebp, eax
mov eax, dword [esp + 0x2c]
add edi, ecx
add edi, eax
mov dword [esp + 0x2c], edi
fild dword [esp + 0x2c]
fmul dword [0x4301e4]
fadd dword [0x4301e8]
call sub.msvcrt.dll__ftol
mov ecx, dword [esp + 0x5c]
cmp ecx, 1
je 0x416d67
cmp ecx, 3
jne 0x416f5e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
imul ecx, ebx
add ecx, esi
mov ecx, dword [edx + ecx*8 - 8]
mov edx, dword [esp + 0x18]
cmp ecx, edx
jg 0x416d9a
cmp ecx, dword [esp + 0x58]
jg 0x416d92
cmp ecx, dword [esp + 0x54]
jg 0x416d92
cmp ecx, dword [esp + 0x50]
jle 0x416db8
cmp ecx, edx
jl 0x416f5e
cmp ecx, dword [esp + 0x58]
jl 0x416f5e
cmp ecx, dword [esp + 0x54]
jl 0x416f5e
cmp ecx, dword [esp + 0x50]
jl 0x416f5e
mov ebp, ecx
mov ecx, dword [esp + 0x48]
pop edi
pop esi
mov dword [ecx], ebp
mov dword [ecx + 4], eax
pop ebp
mov eax, ecx
pop ebx
add esp, 0x34
ret 0x18
lea eax, [edi - 1]
mov edx, dword [esp + 0x4c]
imul eax, ebx
add eax, ecx
cmp ecx, esi
lea eax, [edx + eax*8 - 8]
mov edx, dword [eax]
mov dword [esp + 0x50], edx
jle 0x416df7
mov ecx, dword [esp + 0x10]
sub edx, dword [ecx + 0x4a8]
mov dword [esp + 0x50], edx
mov eax, dword [eax + 4]
cmp edi, ebp
mov dword [esp + 0x2c], eax
jle 0x416e10
mov edx, dword [esp + 0x10]
sub eax, dword [edx + 0x4ac]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
dec eax
mov edi, dword [esp + 0x4c]
imul eax, ebx
add eax, ecx
cmp ecx, esi
mov edx, dword [edi + eax*8 - 8]
lea eax, [edi + eax*8 - 8]
mov dword [esp + 0x54], edx
jge 0x416e40
mov ecx, dword [esp + 0x10]
add edx, dword [ecx + 0x4a8]
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 4]
cmp ecx, ebp
mov dword [esp + 0x24], eax
jle 0x416e5d
mov edx, dword [esp + 0x10]
sub eax, dword [edx + 0x4ac]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
dec eax
imul eax, ebx
add eax, ecx
cmp ecx, esi
mov edx, dword [edi + eax*8 - 8]
lea eax, [edi + eax*8 - 8]
mov dword [esp + 0x58], edx
jle 0x416e89
mov ecx, dword [esp + 0x10]
sub edx, dword [ecx + 0x4a8]
mov dword [esp + 0x58], edx
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 4]
cmp ecx, ebp
mov dword [esp + 0x1c], eax
jge 0x416ea6
mov edx, dword [esp + 0x10]
add eax, dword [edx + 0x4ac]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
dec eax
imul eax, ebx
add eax, edx
cmp edx, esi
mov ecx, dword [edi + eax*8 - 8]
lea eax, [edi + eax*8 - 8]
jge 0x416eca
mov edx, dword [esp + 0x10]
add ecx, dword [edx + 0x4a8]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x40]
cmp eax, ebp
jge 0x416edf
mov eax, dword [esp + 0x10]
add edi, dword [eax + 0x4ac]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
add ecx, edx
add ecx, eax
add ecx, ebp
mov dword [esp + 0x58], ecx
fild dword [esp + 0x58]
fmul dword [0x4301e4]
fadd dword [0x4301e8]
call sub.msvcrt.dll__ftol
mov ecx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jg 0x416f1a
mov eax, ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jl 0x416f24
mov ecx, edi
add ecx, eax
mov dword [esp + 0x58], ecx
fild dword [esp + 0x58]
fadd dword [0x4301e0]
fmul dword [0x4301e8]
call sub.msvcrt.dll__ftol
mov ecx, dword [esp + 0x5c]
cmp ecx, 1
je 0x416f4d
cmp ecx, 3
jne 0x416f5e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
imul ecx, ebx
add ecx, esi
mov ebp, dword [edx + ecx*8 - 8]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
mov dword [ecx], ebp
mov dword [ecx + 4], eax
pop ebp
mov eax, ecx
pop ebx
add esp, 0x34
ret 0x18
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
imul eax, ebx
add eax, esi
pop edi
pop esi
pop ebp
mov edx, dword [ecx + eax*8 - 8]
mov ecx, dword [ecx + eax*8 - 4]
mov eax, dword [esp + 0x3c]
pop ebx
mov dword [eax], edx
mov dword [eax + 4], ecx
add esp, 0x34
ret 0x18