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

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0xf98
call fcn.00445d50
sub esp, eax
mov esi, ecx
mov eax, dword [esp + eax]
mov ebp, dword [esp + 0xfb4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xfb0]
test eax, eax
jne 0x414c34
mov edi, dword [esp + 0x44]
mov dword [esp + 4], 0xa5f0
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 0x414378
xor edx, edx
xor eax, eax
add eax, 1
add dword [edi + edx*4], 1
cmp esi, eax
je 0x414371
movzx ecx, byte [ebp + eax]
cmp byte [ebp + eax - 1], cl
je 0x41435b
add edx, 1
cmp esi, eax
jne 0x41435b
mov ebp, dword [esp + 0xfb0]
test ebp, ebp
je 0x414c19
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 + 0xfb0]
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 esi, [esi]
lea edi, [esi + 4]
mov ecx, esi
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0xafc], 0
and edi, 0xfffffffc
fld dword [0x46abc0]
sub ecx, edi
add ecx, 0xb00
shr ecx, 2
rep stosd dword es:[edi], eax
mov dword [esi + 0xb00], 0
fstp qword [esi + 0xb08]
mov edi, dword [edx + ebp*4]
test edi, edi
je 0x41444a
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 + 0xb00], eax
cmp dword [edx + ebp*4], eax
ja 0x414430
mov dword [esp], esi
mov dword [esp + 0x30], edx
add esi, 0xb10
call fcn.00408d10
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 0x4143e0
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.0043da70
mov dword [esp + 0x30], eax
add eax, dword [esp + 0x70]
mov edi, dword [esp + 0x60]
cmp eax, edi
mov dword [esp + 0x3c], eax
jbe 0x41452a
test edi, edi
jne 0x414782
mov edi, dword [esp + 0x3c]
imul eax, edi, 0xb10
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 0x414575
test edi, edi
jne 0x4147c5
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 0x4145f6
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebp
imul eax, edi, 0xb10
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, 0x2c4
add ebx, 0xb10
imul esi, edx, 0xb10
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 0x4145a4
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 0x414600
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 + 0xfb0], eax
ja 0x4143b9
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 0x414bdb
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x414808
mov eax, dword [esp + 0xfb0]
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.0043da70
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 + 0xfb0]
test edx, edx
jne 0x414c0a
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 + 0xfb8]
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, 0xf9c
pop ebx
pop esi
pop edi
pop ebp
ret
add edi, edi
cmp eax, edi
ja 0x414782
imul eax, edi, 0xb10
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], 0xb10
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 0x414512
add edi, edi
cmp eax, edi
ja 0x4147c5
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 0x41455d
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 0x414827
mov eax, dword [esp + 0xfb0]
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.0043da70
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 0x4148ac
mov dword [esp + 0x50], 0
xor ebp, ebp
xor esi, esi
lea edi, [esp + 0x480]
xor eax, eax
mov ecx, 0x2c0
mov dword [esp + 0xf80], 0
fld dword [0x46abc0]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x58]
fstp qword [esp + 0xf88]
mov eax, dword [ecx + ebp*4]
test eax, eax
je 0x41491f
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 + 0xf80], eax
add dword [esp + edx*4 + 0x480], 1
cmp dword [ecx + ebp*4], eax
ja 0x414900
test ebp, ebp
mov eax, dword [esp + 0x4c]
je 0x414bd0
mov eax, dword [eax + ebp*4 - 4]
mov dword [esp + 0x38], eax
imul eax, dword [esp + 0x38], 0xb10
add eax, dword [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [esp + 0x480]
mov dword [esp], eax
call fcn.0043de80
mov eax, dword [esp + 0x54]
fstp qword [esp + 0x30]
test eax, eax
je 0x4149b2
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], 0xb10
lea eax, [esp + 0x480]
mov dword [esp], eax
add edx, esi
mov dword [esp + 4], edx
call fcn.0043de80
fld qword [esp + 0x30]
fucompi st(1)
jbe 0x4149a1
mov eax, dword [ebx + ebp*4]
fstp qword [esp + 0x30]
mov dword [esp + 0x38], eax
jmp 0x4149a3
fstp st(0)
add ebp, 1
cmp ebp, edi
jne 0x414970
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 0x414ad0
add ebp, 1
cmp dword [esp + 0xfb0], ebp
jne 0x4148c5
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 + 0xfb8]
mov esi, dword [eax + 0x10]
cmp dword [esp + 0xfb0], esi
jbe 0x414a80
test esi, esi
jne 0x414abb
mov esi, dword [esp + 0xfb0]
mov eax, dword [esp + 0x44]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004136f0
mov ebx, eax
mov eax, dword [esp + 0xfb8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x414a59
mov edi, dword [esp + 0xfb8]
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 + 0xfb8]
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 + 0xfb8]
mov dword [eax + 8], ebx
mov dword [eax + 0x10], esi
mov eax, dword [esp + 0xfb8]
mov eax, dword [eax + 0x14]
cmp dword [esp + 0xfb0], eax
jbe 0x414b51
test eax, eax
je 0x414ae2
mov ebx, eax
add ebx, ebx
cmp dword [esp + 0xfb0], ebx
ja 0x414a9d
xor esi, esi
test ebx, ebx
je 0x414b0d
lea eax, [ebx*4]
mov dword [esp + 0x68], eax
jmp 0x414ae9
add esi, esi
cmp ebp, esi
jbe 0x414a1f
add esi, esi
cmp ebp, esi
ja 0x414abb
jmp 0x414a1f
mov edi, dword [esp + 0x50]
mov dword [eax], edi
lea eax, [edi + 1]
mov dword [esp + 0x50], eax
jmp 0x4149cd
mov ebx, dword [esp + 0xfb0]
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 + 0xfb8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x414b2a
mov edi, dword [esp + 0xfb8]
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 + 0xfb8]
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 + 0xfb8]
mov dword [eax + 0xc], esi
mov dword [eax + 0x14], ebx
mov ebp, dword [esp + 0xfb8]
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 + 0xfb0], eax
mov dword [esp + 0x30], ebx
je 0x414bbf
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + eax*4 - 4]
cmp edx, dword [ecx + eax*4]
je 0x414b60
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 + 0xfb0], eax
je 0x414bb2
xor ebx, ebx
jmp 0x414b60
mov eax, edi
movzx eax, al
add eax, 1
jmp 0x414737
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0xfb0]
mov edx, dword [ebx + edx*4 - 4]
jmp 0x414b84
mov eax, dword [eax]
mov dword [esp + 0x38], eax
jmp 0x414933
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 0x41467e
mov dword [esp + 0x3c], 0
xor ebx, ebx
jmp 0x4148b9
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 0x41468a
mov eax, dword [esp + 0xfb0]
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 + 0xfb0]
lea ebx, [eax + 0x3f]
shl ebx, 4
shr ebx, 6
test ebx, ebx
jne 0x414cc0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
cmp dword [esp + 0xfb0], 0x40
mov eax, 0x40
cmovbe eax, dword [esp + 0xfb0]
imul eax, eax, 0xb10
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004136f0
mov dword [esp + 0x38], eax
jmp 0x4142e5
mov edi, dword [esp + 0x44]
imul eax, ebx, 0xb10
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 0x414c8c