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

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, ecx
sub esp, 0xd1c
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xd30]
mov dword [esp + 0x40], edx
mov ebp, dword [esp + 0xd34]
test eax, eax
jne 0x4156c4
mov edi, dword [esp + 0x44]
mov dword [esp + 4], 0x8070
mov ebx, 0xf
mov dword [esp], edi
call fcn.004136f0
mov dword [esp + 4], 0x3c
mov dword [esp], edi
mov dword [esp + 0x48], eax
call fcn.004136f0
mov dword [esp + 0x68], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0xc018
lea edi, [esp + 0x80]
mov dword [esp], eax
call fcn.004136f0
mov ecx, 0x40
mov dword [esp + 0x5c], eax
xor eax, eax
rep stosd dword es:[edi], eax
lea edi, [esp + 0x180]
mov ecx, 0x40
rep stosd dword es:[edi], eax
lea edi, [esp + 0x280]
mov ecx, 0x40
rep stosd dword es:[edi], eax
lea edi, [esp + 0x380]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x58]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edi
call sub.msvcrt.dll_memset
test esi, esi
je 0x414e0e
xor edx, edx
xor eax, eax
add eax, 1
add dword [edi + edx*4], 1
cmp esi, eax
je 0x414e07
movzx ecx, byte [ebp + eax]
cmp byte [ebp + eax - 1], cl
je 0x414df1
add edx, 1
cmp esi, eax
jne 0x414df1
mov ebp, dword [esp + 0xd30]
test ebp, ebp
je 0x4156a9
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], 0
xor ebx, ebx
mov dword [esp + 0x54], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xd30]
sub eax, dword [esp + 0x6c]
mov edi, 0x40
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
cmp eax, 0x40
cmovbe edi, eax
xor ebp, ebp
mov dword [esp + 0x3c], edi
lea edi, [esi + 4]
mov ecx, esi
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x87c], 0
and edi, 0xfffffffc
fld dword [0x46abc0]
sub ecx, edi
add ecx, 0x880
shr ecx, 2
rep stosd dword es:[edi], eax
mov dword [esi + 0x880], 0
fstp qword [esi + 0x888]
mov edi, dword [edx + ebp*4]
test edi, edi
je 0x414eda
mov edi, dword [esp + 0x40]
nop
lea esi, [esi]
add ebx, 1
add eax, 1
movzx ecx, word [edi + ebx*2 - 2]
add dword [esi + ecx*4], 1
mov dword [esi + 0x880], eax
cmp dword [edx + ebp*4], eax
ja 0x414ec0
mov dword [esp], esi
mov dword [esp + 0x30], edx
add esi, 0x890
call fcn.004091a0
fstp qword [esi - 8]
mov dword [esp + ebp*4 + 0x180], ebp
mov dword [esp + ebp*4 + 0x280], ebp
mov dword [esp + ebp*4 + 0x80], 1
add ebp, 1
cmp dword [esp + 0x3c], ebp
mov edx, dword [esp + 0x30]
jne 0x414e73
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], 0x800
mov dword [esp + 0x1c], 0x40
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
lea eax, [esp + 0x180]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x280]
mov dword [esp + 8], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0043e870
mov dword [esp + 0x30], eax
add eax, dword [esp + 0x70]
mov edi, dword [esp + 0x60]
cmp eax, edi
mov dword [esp + 0x3c], eax
jbe 0x414fba
test edi, edi
jne 0x415212
mov edi, dword [esp + 0x3c]
imul eax, edi, 0x890
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004136f0
mov dword [esp + 0x60], edi
mov esi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00413720
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x64]
cmp eax, edi
jbe 0x415005
test edi, edi
jne 0x415255
mov edi, dword [esp + 0x3c]
mov eax, edi
shl eax, 2
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004136f0
mov dword [esp + 0x64], edi
mov esi, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00413720
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x30]
test esi, esi
je 0x415086
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebp
imul eax, edi, 0x890
add eax, dword [esp + 0x48]
mov edx, eax
lea eax, [ecx + edi*4]
mov ebx, edx
mov edi, eax
xor eax, eax
mov ebp, edi
mov edx, dword [esp + eax*4 + 0x180]
mov edi, ebx
mov ecx, 0x224
add ebx, 0x890
imul esi, edx, 0x890
mov edx, dword [esp + edx*4 + 0x80]
add esi, dword [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + eax*4], edx
mov edx, dword [esp + eax*4 + 0x180]
mov dword [esp + edx*4 + 0x380], eax
add eax, 1
cmp dword [esp + 0x30], eax
jne 0x415034
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x7c]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x74]
xor eax, eax
mov edx, dword [esp + eax*4 + 0x280]
mov edi, dword [esp + edx*4 + 0x380]
add edi, ecx
mov dword [esi + eax*4], edi
add eax, 1
cmp ebp, eax
jne 0x415090
add dword [esp + 0x6c], 0x40
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
add dword [esp + 0x54], edi
add dword [esp + 0x74], 0x100
add dword [esp + 0x78], 0x100
cmp dword [esp + 0xd30], eax
ja 0x414e4f
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00413720
mov eax, dword [esp + 0x54]
mov edi, eax
shr edi, 1
imul edi, eax
shl eax, 6
cmp edi, eax
cmova edi, eax
lea ebx, [edi + 1]
cmp ebx, 0x801
ja 0x41566b
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x415298
mov eax, dword [esp + 0xd30]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x1c], 0x100
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043e870
mov dword [esp + 4], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x54], eax
mov dword [esp], edi
call fcn.00413720
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.00413720
mov edx, dword [esp + 0xd30]
test edx, edx
jne 0x41569a
mov edi, dword [esp + 0x44]
mov dword [esp + 4], 0
xor esi, esi
mov dword [esp], edi
call fcn.00413720
mov eax, dword [esp + 0x48]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00413720
mov dword [esp + 0x3c], 0
mov eax, 1
mov edi, dword [esp + 0xd38]
mov dword [edi + 4], esi
mov dword [edi], eax
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00413720
mov eax, dword [esp + 0x58]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00413720
mov eax, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00413720
add esp, 0xd1c
pop ebx
pop esi
pop edi
pop ebp
ret
add edi, edi
cmp eax, edi
ja 0x415212
imul eax, edi, 0x890
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004136f0
mov esi, eax
imul eax, dword [esp + 0x60], 0x890
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov dword [esp + 0x60], edi
jmp 0x414fa2
add edi, edi
cmp eax, edi
ja 0x415255
lea eax, [edi*4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004136f0
mov esi, eax
mov eax, dword [esp + 0x64]
mov dword [esp], esi
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov dword [esp + 0x64], edi
jmp 0x414fed
mov eax, dword [esp + 0x54]
lea esi, [eax*4]
mov eax, dword [esp + 0x44]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004136f0
mov ebx, eax
xor eax, eax
mov dword [ebx + eax*4], eax
add eax, 1
cmp dword [esp + 0x54], eax
jne 0x4152b7
mov eax, dword [esp + 0xd30]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x1c], 0x100
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], edi
mov dword [esp + 4], ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043e870
mov dword [esp + 4], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x54], eax
mov dword [esp], edi
call fcn.00413720
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.00413720
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.004136f0
mov dword [esp + 0x3c], eax
add esi, eax
mov dword [eax], 0xffffffff
add eax, 4
cmp esi, eax
jne 0x41533c
mov dword [esp + 0x50], 0
xor ebp, ebp
xor esi, esi
lea edi, [esp + 0x480]
xor eax, eax
mov ecx, 0x220
mov dword [esp + 0xd00], 0
fld dword [0x46abc0]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x58]
fstp qword [esp + 0xd08]
mov eax, dword [ecx + ebp*4]
test eax, eax
je 0x4153af
mov edi, dword [esp + 0x40]
xor eax, eax
nop
add esi, 1
add eax, 1
movzx edx, word [edi + esi*2 - 2]
mov dword [esp + 0xd00], eax
add dword [esp + edx*4 + 0x480], 1
cmp dword [ecx + ebp*4], eax
ja 0x415390
test ebp, ebp
mov eax, dword [esp + 0x4c]
je 0x415660
mov eax, dword [eax + ebp*4 - 4]
mov dword [esp + 0x38], eax
imul eax, dword [esp + 0x38], 0x890
add eax, dword [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [esp + 0x480]
mov dword [esp], eax
call fcn.0043ec80
mov eax, dword [esp + 0x54]
fstp qword [esp + 0x30]
test eax, eax
je 0x415442
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0x60], ebp
mov ebp, edi
mov edi, eax
imul edx, dword [ebx + ebp*4], 0x890
lea eax, [esp + 0x480]
mov dword [esp], eax
add edx, esi
mov dword [esp + 4], edx
call fcn.0043ec80
fld qword [esp + 0x30]
fucompi st(1)
jbe 0x415431
mov eax, dword [ebx + ebp*4]
fstp qword [esp + 0x30]
mov dword [esp + 0x38], eax
jmp 0x415433
fstp st(0)
add ebp, 1
cmp ebp, edi
jne 0x415400
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
mov dword [edi + ebp*4], eax
mov edi, dword [esp + 0x3c]
lea eax, [edi + eax*4]
cmp dword [eax], 0xffffffff
je 0x415560
add ebp, 1
cmp dword [esp + 0xd30], ebp
jne 0x415355
mov edi, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.00413720
mov eax, dword [esp + 0x48]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00413720
mov eax, dword [esp + 0xd38]
mov esi, dword [eax + 0x10]
cmp dword [esp + 0xd30], esi
jbe 0x415510
test esi, esi
jne 0x41554b
mov esi, dword [esp + 0xd30]
mov eax, dword [esp + 0x44]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004136f0
mov ebx, eax
mov eax, dword [esp + 0xd38]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4154e9
mov edi, dword [esp + 0xd38]
mov edx, dword [edi + 8]
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xd38]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00413720
mov eax, dword [esp + 0xd38]
mov dword [eax + 8], ebx
mov dword [eax + 0x10], esi
mov eax, dword [esp + 0xd38]
mov eax, dword [eax + 0x14]
cmp dword [esp + 0xd30], eax
jbe 0x4155e1
test eax, eax
je 0x415572
mov ebx, eax
add ebx, ebx
cmp dword [esp + 0xd30], ebx
ja 0x41552d
xor esi, esi
test ebx, ebx
je 0x41559d
lea eax, [ebx*4]
mov dword [esp + 0x68], eax
jmp 0x415579
add esi, esi
cmp ebp, esi
jbe 0x4154af
add esi, esi
cmp ebp, esi
ja 0x41554b
jmp 0x4154af
mov edi, dword [esp + 0x50]
mov dword [eax], edi
lea eax, [edi + 1]
mov dword [esp + 0x50], eax
jmp 0x41545d
mov ebx, dword [esp + 0xd30]
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004136f0
mov esi, eax
mov eax, dword [esp + 0xd38]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4155ba
mov edi, dword [esp + 0xd38]
shl eax, 2
mov edx, dword [edi + 0xc]
mov dword [esp + 8], eax
mov dword [esp], esi
mov dword [esp + 4], edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0xd38]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00413720
mov eax, dword [esp + 0xd38]
mov dword [eax + 0xc], esi
mov dword [eax + 0x14], ebx
mov ebp, dword [esp + 0xd38]
xor edi, edi
xor esi, esi
xor ebx, ebx
xor eax, eax
mov edx, dword [esp + 0x58]
add ebx, dword [edx + eax*4]
add eax, 1
cmp dword [esp + 0xd30], eax
mov dword [esp + 0x30], ebx
je 0x41564f
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + eax*4 - 4]
cmp edx, dword [ecx + eax*4]
je 0x4155f0
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebx + edx*4]
mov ebx, dword [ebp + 8]
mov byte [ebx + esi], dl
mov ebx, dword [ebp + 0xc]
mov dword [ebx + esi*4], ecx
mov ebx, edi
cmp bl, dl
cmovb edi, edx
add esi, 1
cmp dword [esp + 0xd30], eax
je 0x415642
xor ebx, ebx
jmp 0x4155f0
mov eax, edi
movzx eax, al
add eax, 1
jmp 0x4151c7
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0xd30]
mov edx, dword [ebx + edx*4 - 4]
jmp 0x415614
mov eax, dword [eax]
mov dword [esp + 0x38], eax
jmp 0x4153c3
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00413720
lea eax, [ebx + ebx*2]
mov dword [esp], esi
shl eax, 3
mov dword [esp + 4], eax
call fcn.004136f0
mov dword [esp + 0x5c], eax
jmp 0x41510e
mov dword [esp + 0x3c], 0
xor ebx, ebx
jmp 0x415349
mov eax, dword [esp + 0x38]
xor edi, edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00413720
jmp 0x41511a
mov eax, dword [esp + 0xd30]
mov ebx, dword [esp + 0x44]
shl eax, 2
mov dword [esp], ebx
mov edi, eax
mov dword [esp + 4], eax
mov dword [esp + 0x68], eax
call fcn.004136f0
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 0x4c], eax
call fcn.004136f0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xd30]
lea ebx, [eax + 0x3f]
shl ebx, 4
shr ebx, 6
test ebx, ebx
jne 0x415750
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
cmp dword [esp + 0xd30], 0x40
mov eax, 0x40
cmovbe eax, dword [esp + 0xd30]
imul eax, eax, 0x890
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004136f0
mov dword [esp + 0x38], eax
jmp 0x414d7b
mov edi, dword [esp + 0x44]
imul eax, ebx, 0x890
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.004136f0
mov dword [esp + 0x48], eax
lea eax, [ebx*4]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.004136f0
mov dword [esp + 0x50], eax
jmp 0x41571c