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

Disassembly:
sub esp, 0xb8
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + ecx*4 + 0x2c]
mov edx, dword [eax]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd0]
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], edx
add esi, 2
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.00426b12
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426b12
mov ebx, eax
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x5c], ebx
neg ecx
or ecx, eax
push ecx
call fcn.00426b12
mov dword [esp + 0x20], eax
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426b12
mov dword [esp + 0x28], eax
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426b12
mov dword [esp + 0x30], eax
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426b12
mov ebp, eax
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x80], ebp
neg ecx
or ecx, eax
push ecx
call fcn.00426b12
mov dword [esp + 0x40], eax
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00426b12
add esi, esi
add esi, esi
push esi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
push 0
push eax
mov dword [esp + 0xbc], esi
call fcn.004300c0
mov ecx, dword [esp + 0x40]
push esi
push 0
push ecx
call fcn.004300c0
mov edx, dword [esp + 0x54]
push esi
push 0
push edx
call fcn.004300c0
mov eax, dword [esp + 0x68]
add esp, 0x44
push esi
push 0
push eax
call fcn.004300c0
push 0x8000
call fcn.00426b12
push 0x8000
mov edi, eax
push 0
push edi
mov dword [esp + 0x54], edi
call fcn.004300c0
mov eax, dword [esp + 0xf0]
xor ecx, ecx
add esp, 0x1c
cmp eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x64], ecx
jle 0x410c75
mov dword [esp + 0x70], eax
jmp 0x410717
mov esi, dword [esp + 0x90]
push esi
push 0
push ebx
call fcn.004300c0
mov ecx, dword [esp + 0x24]
push esi
push 0
push ecx
call fcn.004300c0
push esi
push 0
push ebp
call fcn.004300c0
mov edx, dword [esp + 0x50]
push esi
push 0
push edx
call fcn.004300c0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
sub ecx, eax
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x54]
sub ecx, eax
mov dword [esp + 0xf0], ecx
mov ecx, ebx
sub ecx, eax
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov dword [esp + 0xb4], ecx
mov ecx, ebp
sub ecx, eax
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x5c]
sub ecx, eax
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
mov dword [esp + 0xec], ecx
sub eax, ebx
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x48]
mov ecx, eax
sub ecx, ebx
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x4c]
sub ecx, ebx
mov dword [esp + 0xc4], ecx
mov ecx, ebp
sub ecx, ebx
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x54]
sub ecx, ebx
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x5c]
sub eax, ebp
mov edx, ecx
sub edx, ebx
add esp, 0x30
add edi, 4
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xd4]
sub ecx, ebp
lea esi, [ebx + 8]
mov dword [esp + 0xc4], edx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
push ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x3c]
add eax, 4
push ecx
mov dword [esp + 0xd8], eax
call fcn.004104f0
mov ebx, eax
add esp, 8
mov dword [esp + 0x50], ebx
cmp ebx, 0xffffffff
jne 0x410a6a
mov edx, dword [esp + 0xa0]
mov eax, dword [edx + edi]
movzx ecx, byte [esp + 0x10]
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
add eax, ecx
mov dword [esp + 0xa8], ecx
jns 0x410879
mov dword [esp + 0x44], 0
jmp 0x41088c
cmp eax, 0xff
mov dword [esp + 0x44], 0xff
jg 0x41088c
mov dword [esp + 0x44], eax
mov eax, dword [edi]
movzx ecx, byte [esp + 0x11]
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
add eax, ecx
mov dword [esp + 0x74], ecx
jns 0x4108b1
mov dword [esp + 0x3c], 0
jmp 0x4108c4
cmp eax, 0xff
mov dword [esp + 0x3c], 0xff
jg 0x4108c4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
mov eax, dword [eax + edi]
movzx ecx, byte [esp + 0x12]
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
add eax, ecx
mov dword [esp + 0xb8], ecx
jns 0x4108f4
mov dword [esp + 0x4c], 0
jmp 0x410907
cmp eax, 0xff
mov dword [esp + 0x4c], 0xff
jg 0x410907
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0xc0]
mov eax, dword [edx + edi]
movzx ecx, byte [esp + 0x13]
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
add eax, ecx
mov dword [esp + 0x98], ecx
jns 0x410937
mov dword [esp + 0x40], 0
jmp 0x41094a
cmp eax, 0xff
mov dword [esp + 0x40], 0xff
jg 0x41094a
mov dword [esp + 0x40], eax
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x60], 0xffffff
mov dword [esp + 0x30], 0
jle 0x4109ff
mov eax, dword [esp + 0x34]
add eax, 0xa
mov dword [esp + 0x5c], eax
movzx edx, byte [eax - 2]
movzx ebx, byte [eax - 1]
movzx eax, byte [eax]
mov ecx, dword [esp + 0x44]
sub ecx, edx
mov edx, dword [esp + 0x3c]
sub edx, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x4c]
sub edx, eax
mov eax, dword [esp + 0x30]
movzx ebx, byte [eax + ebx + 0x308]
mov eax, dword [esp + 0x40]
sub eax, ebx
mov ebx, edx
imul eax, eax
imul ebx, edx
mov edx, dword [esp + 0x88]
add eax, ebx
mov ebx, edx
imul ebx, edx
mov edx, ecx
imul edx, ecx
add eax, ebx
add eax, edx
cmp eax, dword [esp + 0x60]
jae 0x4109dd
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], eax
jmp 0x4109e1
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
inc ecx
add eax, 3
cmp ecx, dword [esp + 0x6c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], eax
jl 0x410970
push 0xc
call fcn.00427ed0
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x78]
imul ecx, ecx, 0x80ff
imul edx, edx, 0x753d
add ecx, edx
mov edx, dword [esp + 0xbc]
imul edx, edx, 0x6983
add ecx, edx
mov edx, dword [esp + 0x9c]
imul edx, edx, 0x5dc7
add ecx, edx
add esp, 4
and ecx, 0x80001fff
jns 0x410a50
dec ecx
or ecx, 0xffffe000
inc ecx
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], ebx
mov edx, dword [edx + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x38]
mov dword [edx + ecx*4], eax
mov edx, dword [esp + 0xd8]
mov eax, dword [esp + 0x20]
cmp edx, 1
jne 0x410a80
mov byte [esp + eax + 0x48], bl
jmp 0x410ab2
cmp dword [eax*4 + 0x4611a8], 0
je 0x410a9b
mov ecx, dword [eax*4 + 0x4611c8]
add byte [esp + ecx + 0x48], bl
lea ecx, [esp + ecx + 0x48]
jmp 0x410ab2
mov edx, dword [eax*4 + 0x4611c8]
mov cl, bl
shl cl, 4
mov byte [esp + edx + 0x48], cl
mov edx, dword [esp + 0xd8]
inc eax
mov dword [esp + 0x20], eax
lea eax, [edx*4]
cmp dword [esp + 0x20], eax
jne 0x410ae7
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + edx*4 + 0x24]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x48]
mov dword [ecx + eax*4], edx
inc eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x34]
lea ecx, [eax + ebx*2 + 8]
movzx edx, byte [ecx + ebx]
movzx eax, byte [esp + 0x10]
sub eax, edx
add ecx, ebx
shl eax, 0xa
cdq
and edx, 0xf
add eax, edx
mov edx, dword [esp + 0xb0]
sar eax, 4
lea ebx, [eax*8]
sub ebx, eax
add dword [edx + esi], ebx
add dword [esi], eax
lea edx, [eax + eax*2]
add dword [esi - 8], edx
mov edx, dword [esp + 0x78]
lea ebx, [eax + eax*4]
add dword [edx + edi], ebx
movzx edx, byte [ecx + 1]
movzx eax, byte [esp + 0x11]
sub eax, edx
shl eax, 0xa
cdq
and edx, 0xf
add eax, edx
sar eax, 4
lea edx, [eax*8]
sub edx, eax
add dword [edi + 4], edx
mov edx, dword [esp + 0x7c]
lea ebx, [eax + eax*2]
add dword [edx + ebp], ebx
mov edx, dword [esp + 0x84]
lea ebx, [eax + eax*4]
add dword [edx + edi], ebx
mov edx, dword [esp + 0x8c]
add dword [edx + esi], eax
movzx ecx, byte [ecx + 2]
movzx eax, byte [esp + 0x12]
sub eax, ecx
mov ecx, dword [esp + 0x94]
shl eax, 0xa
cdq
and edx, 0xf
add eax, edx
sar eax, 4
lea edx, [eax*8]
sub edx, eax
add dword [ecx + esi], edx
lea ecx, [eax + eax*2]
add dword [ebp], ecx
mov ecx, dword [esp + 0x9c]
lea edx, [eax + eax*4]
add dword [ecx + edi], edx
mov ecx, dword [esp + 0xa4]
add dword [ecx + esi], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
movzx edx, byte [eax + ecx + 0x308]
movzx eax, byte [esp + 0x13]
mov ecx, dword [esp + 0xac]
sub eax, edx
shl eax, 0xa
cdq
and edx, 0xf
add eax, edx
sar eax, 4
lea edx, [eax*8]
sub edx, eax
add dword [ecx + esi], edx
mov ecx, dword [esp + 0xb4]
lea edx, [eax + eax*2]
add dword [ecx + ebp], edx
mov ecx, dword [esp + 0xbc]
lea edx, [eax + eax*4]
add dword [ecx + edi], edx
mov ecx, dword [esp + 0xc4]
add dword [ecx + esi], eax
add edi, 4
add ebp, 4
add esi, 4
sub dword [esp + 0x58], 1
jne 0x410815
sub dword [esp + 0x70], 1
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
jne 0x410710
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push edx
call fcn.00427d2f
push ebx
call fcn.00427d2f
mov eax, dword [esp + 0x1c]
push eax
call fcn.00427d2f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00427d2f
mov edx, dword [esp + 0x2c]
push edx
call fcn.00427d2f
push ebp
call fcn.00427d2f
mov eax, dword [esp + 0x3c]
push eax
call fcn.00427d2f
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00427d2f
add esp, 0x20
xor ebx, ebx
mov eax, dword [edi + ebx*4]
test eax, eax
je 0x410ce2
lea esp, [esp]
mov esi, dword [eax + 8]
push eax
call fcn.00427d3a
add esp, 4
mov eax, esi
test esi, esi
jne 0x410cd0
inc ebx
cmp ebx, 0x2000
jl 0x410cc2
push edi
call fcn.00427d2f
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret