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

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x1108
call fcn.0049d2f0
sub esp, eax
mov esi, ecx
mov ebp, edx
mov eax, dword [esp + eax]
mov dword [esp], 0x40
mov dword [esp + 0xbc], edx
mov edi, eax
mov dword [esp + 0x20], eax
call fcn.00462ee0
mov ecx, edi
mov ebx, eax
mov eax, dword [eax + 4]
mov byte [esp + 0xd00], cl
mov ecx, edi
mov dword [esp + 8], 4
mov byte [esp + 0xd01], ch
shr ecx, 0x10
mov byte [esp + 0xd02], cl
mov ecx, edi
mov dword [esp], eax
shr ecx, 0x18
mov byte [esp + 0xd03], cl
lea ecx, [esp + 0xd00]
mov dword [esp + 4], ecx
call dword [eax]
mov edx, ebp
mov eax, dword [ebx + 4]
mov ecx, ebp
mov byte [esp + 0xd00], dl
mov edx, ebp
mov byte [esp + 0xd01], ch
shr edx, 0x10
lea ecx, [esp + 0xd00]
mov dword [esp + 8], 4
mov byte [esp + 0xd02], dl
mov edx, ebp
mov dword [esp], eax
shr edx, 0x18
mov dword [esp + 4], ecx
mov byte [esp + 0xd03], dl
call dword [eax]
mov edx, esi
mov eax, dword [ebx + 4]
lea ecx, [esp + 0xd00]
mov byte [esp + 0xd00], dl
mov edx, esi
mov dword [esp + 8], 4
mov byte [esp + 0xd01], dh
shr edx, 0x10
mov dword [esp + 4], ecx
mov byte [esp + 0xd02], dl
mov edx, esi
mov dword [esp], eax
shr edx, 0x18
mov byte [esp + 0xd03], dl
call dword [eax]
movzx edx, byte [esp + 0x1120]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0xd00]
mov dword [esp + 8], 4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov byte [esp + 0x8a], dl
mov byte [esp + 0xd00], dl
mov edx, dword [esp + 0x1120]
mov byte [esp + 0xd01], dh
shr edx, 0x10
mov byte [esp + 0xd02], dl
mov edx, dword [esp + 0x1120]
shr edx, 0x18
mov byte [esp + 0xd03], dl
call dword [eax]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0xd00]
mov dword [esp + 0xd00], 0x13
mov dword [esp + 8], 4
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [eax]
movzx edx, byte [esp + 0x1124]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0xd00]
mov dword [esp + 8], 4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov byte [esp + 0x89], dl
mov byte [esp + 0xd00], dl
mov edx, dword [esp + 0x1124]
mov byte [esp + 0xd01], dh
shr edx, 0x10
mov byte [esp + 0xd02], dl
mov edx, dword [esp + 0x1124]
shr edx, 0x18
mov byte [esp + 0xd03], dl
call dword [eax]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x1128]
mov ecx, dword [esp + 0x112c]
call fcn.0045df40
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x1130]
mov ecx, dword [esp + 0x1134]
call fcn.0045df40
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x1138]
mov ecx, dword [esp + 0x113c]
call fcn.0045df40
mov edx, dword [esp + 0x1140]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x1144]
call fcn.0045df40
mov eax, dword [ebx]
lea ecx, [esp + 0xc0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dword [eax + 0xc]
mov eax, dword [ebx]
mov dword [esp], ebx
mov ebx, edi
call dword [eax + 0x10]
lea ecx, [edi*4]
mov eax, esi
xor edx, edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0x400
div ecx
mov ecx, edi
mov dword [esp + 0x34], eax
shl eax, 2
imul ecx, eax
mov dword [esp + 0x18], eax
mov edi, ecx
mov dword [esp], ecx
mov dword [esp + 0x80], ecx
shl edi, 0xa
call fcn.00493390
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov esi, eax
mov dword [esp], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xb8], edi
call sub.msvcrt.dll_memset
test ebx, ebx
je 0x460c86
mov ebp, dword [esp + 0x20]
xor edi, edi
mov ebx, edi
mov eax, 0x400
call fcn.0045df90
mov edi, eax
lea eax, [esp + 0xc0]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call fcn.00492be0
mov eax, dword [edi + 4]
lea ecx, [esp + 0xd00]
mov dword [esp + 0xd00], 0
mov dword [esp + 8], 4
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [eax]
mov eax, dword [edi + 4]
lea ecx, [esp + 0xd00]
mov edx, ebx
shr edx, 0x10
mov byte [esp + 0xd00], bl
mov byte [esp + 0xd01], bh
mov byte [esp + 0xd02], dl
mov dword [esp + 4], ecx
add ebx, 1
mov dword [esp], eax
mov byte [esp + 0xd03], 0
mov dword [esp + 8], 4
call dword [eax]
mov ecx, esi
mov edx, 0x400
mov eax, edi
call fcn.0045dff0
add esi, 0x400
cmp ebp, ebx
jne 0x460b1f
mov ebp, dword [esp + 0x20]
mov edi, ebx
xor ebx, ebx
shl ebp, 0xa
add ebp, dword [esp + 0x24]
mov eax, 0x400
call fcn.0045df90
mov esi, eax
lea eax, [esp + 0xc0]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.00492be0
mov eax, dword [esi + 4]
lea ecx, [esp + 0xd00]
mov dword [esp + 0xd00], 1
mov dword [esp + 8], 4
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [eax]
mov eax, dword [esi + 4]
lea ecx, [esp + 0xd00]
mov edx, ebx
shr edx, 0x10
mov byte [esp + 0xd00], bl
mov byte [esp + 0xd01], bh
mov byte [esp + 0xd02], dl
mov dword [esp + 4], ecx
add ebx, 1
mov dword [esp], eax
mov byte [esp + 0xd03], 0
mov dword [esp + 8], 4
call dword [eax]
mov ecx, ebp
mov edx, 0x400
mov eax, esi
call fcn.0045dff0
add ebp, 0x400
cmp ebx, edi
jne 0x460bda
mov ebp, dword [esp + 0x1124]
mov eax, dword [esp + 0x1120]
test ebp, ebp
sete byte [esp + 0x6e]
test eax, eax
je 0x461328
mov eax, dword [esp + 0x80]
xor edx, edx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x4c], 2
movzx ebx, ah
mov ecx, eax
shr eax, 0x18
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x1120]
shrd ecx, edx, 0x10
mov dword [esp + 0x98], ebx
xor edx, edx
movzx ebx, ah
mov byte [esp + 0xb5], cl
mov ecx, eax
shr eax, 0x18
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x1124]
shrd ecx, edx, 0x10
xor edx, edx
mov byte [esp + 0xb4], cl
mov ecx, eax
movzx ebx, ah
shrd ecx, edx, 0x10
shr eax, 0x18
cmp dword [esp + 0x1124], 2
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x8b], cl
sete byte [esp + 0xb7]
shl eax, 0xa
mov dword [esp + 0x48], eax
lea eax, [esp + 0x900]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x500]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x54], eax
mov edi, dword [esp + 0xa8]
mov ebp, dword [esp + 0xac]
mov dword [esp + 0x30], 0
mov dword [esp + 0x60], 0
mov eax, edi
movzx eax, ah
mov dword [esp + 0x78], eax
mov eax, edi
shrd eax, ebp, 0x10
mov byte [esp + 0x88], al
mov eax, edi
shr eax, 0x18
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x64]
test eax, eax
sete al
and al, byte [esp + 0xb7]
mov byte [esp + 0xb6], al
mov eax, dword [esp + 0x18]
sub eax, 1
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x60]
movzx edi, byte [esp + 0x6e]
cmp esi, 2
sete al
and al, byte [esp + 0xb6]
cmovne edi, eax
mov eax, edi
mov byte [esp + 0x6e], al
lea eax, [esi + 1]
mov esi, dword [esp + 0x20]
mov dword [esp + 0xa4], eax
test esi, esi
je 0x461191
and eax, 3
mov edi, dword [esp + 0x64]
mov dword [esp + 0x70], 0
imul eax, dword [esp + 0x34]
mov dword [esp + 0x74], 0
mov dword [esp + 0x1c], 0
test edi, edi
mov edi, 0
cmove eax, edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
add eax, edi
imul eax, esi
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x18]
lea eax, [eax + edi - 1]
mov dword [esp + 0xb0], eax
lea esi, [esi]
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x34], esi
jbe 0x461174
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x4c]
movzx eax, bh
mov dword [esp + 0x68], eax
mov eax, ebx
shrd eax, esi, 0x10
mov byte [esp + 0x6f], al
mov eax, dword [esp + 0x60]
or eax, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa0]
add eax, dword [esp + 0x1c]
shl eax, 0xa
add eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
jmp 0x460f5c
mov edx, dword [esp + 0x3c]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
test edx, edx
je 0x461164
xor edx, edx
div dword [esp + 0x20]
mov eax, dword [esp + 0x38]
cmp edx, dword [esp + 0x1c]
lea ecx, [eax - 1]
mov edi, edx
je 0x46134e
test ebp, ebp
je 0x461310
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
add ebp, 1
add eax, esi
sub eax, edx
xor edx, edx
div dword [esp + 0x18]
mov eax, ebx
add ecx, edx
mov esi, edx
mul ebx
mov eax, edx
mul esi
sub ecx, edx
xor edx, edx
mov eax, ecx
div dword [esp + 0x18]
mov eax, dword [esp + 0x24]
imul edx, dword [esp + 0x20]
lea ecx, [edx + edi]
mov edx, dword [esp + 0x2c]
mov edi, ecx
shl edi, 0xa
lea ecx, [eax + edi]
mov edi, dword [esp + 0x28]
mov eax, edi
call fcn.0045e0f0
mov ebx, dword [esp + 0x48]
mov eax, edi
add eax, ebx
cmp dword [esp + 0x34], ebp
mov dword [esp + 0x28], eax
je 0x461174
mov eax, dword [esp + 0x30]
lea esi, [ebp + eax - 1]
add eax, ebp
cmove esi, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
imul eax, esi
add eax, dword [esp + 0x1c]
shl eax, 0xa
add eax, dword [esp + 0x24]
cmp byte [esp + 0x6e], 0
mov dword [esp + 0x2c], eax
jne 0x460ec2
mov ebx, ebp
and ebx, 0x7f
cmp ebp, dword [esp + 0x4c]
je 0x460f9f
test ebx, ebx
jne 0x461143
mov edi, dword [esp + 0x50]
xor eax, eax
mov ecx, 0x100
movzx edx, byte [esp + 0x78]
rep stosd dword es:[edi], eax
movzx ecx, byte [esp + 0x64]
mov byte [esp + 0x901], dl
movzx edx, byte [esp + 0x7c]
mov byte [esp + 0x900], cl
movzx ecx, byte [esp + 0x88]
mov byte [esp + 0x903], dl
movzx edx, byte [esp + 0x68]
mov byte [esp + 0x902], cl
movzx ecx, byte [esp + 0x1c]
mov byte [esp + 0x909], dl
movzx edx, byte [esp + 0x60]
mov byte [esp + 0x908], cl
movzx ecx, byte [esp + 0x6f]
mov byte [esp + 0x910], dl
movzx edx, byte [esp + 0x98]
mov byte [esp + 0x90a], cl
movzx ecx, byte [esp + 0x80]
mov byte [esp + 0x919], dl
movzx edx, byte [esp + 0x9c]
mov byte [esp + 0x918], cl
movzx ecx, byte [esp + 0xb5]
mov byte [esp + 0x91b], dl
movzx edx, byte [esp + 0x90]
mov byte [esp + 0x91a], cl
movzx ecx, byte [esp + 0x8a]
mov byte [esp + 0x921], dl
mov byte [esp + 0x920], cl
movzx ecx, byte [esp + 0xb4]
mov byte [esp + 0x922], cl
movzx edx, byte [esp + 0x94]
movzx ecx, byte [esp + 0x89]
mov edi, dword [esp + 0x44]
mov byte [esp + 0x923], dl
movzx edx, byte [esp + 0x84]
mov byte [esp + 0x928], cl
movzx ecx, byte [esp + 0x8b]
mov byte [esp + 0x929], dl
movzx edx, byte [esp + 0x8c]
mov byte [esp + 0x92a], cl
mov byte [esp + 0x92b], dl
mov edx, ebp
shr edx, 7
mov ecx, edx
xor edx, edx
add ecx, 1
mov eax, ecx
mov byte [esp + 0x930], cl
mov ecx, edx
mov edx, eax
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x931], ah
shrd edx, ecx, 0x10
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
mov ecx, 0x100
mov byte [esp + 0x932], dl
mov edx, dword [esp + 0x5c]
shrd eax, edx, 0x18
mov byte [esp + 0x933], al
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
mov edx, edi
mov eax, edi
call fcn.0045e0f0
mov edi, dword [esp + 0x54]
xor eax, eax
mov ecx, 0x100
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
mov edx, eax
call fcn.0045e0f0
mov edx, dword [esp + 0x3c]
lea eax, [ebx*8]
mov ebx, dword [esp + eax + 0x100]
mov eax, dword [esp + eax + 0x104]
test edx, edx
jne 0x460ed3
mov edi, dword [esp + 0x1c]
mov ecx, 0xffffffff
xor edx, edx
jmp 0x460efc
add dword [esp + 0x1c], 1
add dword [esp + 0x70], 1
mov eax, dword [esp + 0x1c]
adc dword [esp + 0x74], 0
cmp dword [esp + 0x20], eax
jne 0x460e70
mov eax, dword [esp + 0xa4]
mov edi, dword [esp + 0x34]
add dword [esp + 0x30], edi
mov dword [esp + 0x4c], 0
cmp eax, 4
mov dword [esp + 0x60], eax
jne 0x460de2
add dword [esp + 0x64], 1
add dword [esp + 0xa8], 1
mov eax, dword [esp + 0x64]
adc dword [esp + 0xac], 0
cmp dword [esp + 0x1120], eax
jne 0x460d83
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov ecx, 0x100
lea edi, [esp + 0xd00]
mov eax, ebx
add esi, 0x3fffff
shl eax, 0xa
imul esi, eax
add esi, dword [esp + 0x24]
cmp ebx, 1
rep movsd dword es:[edi], dword [esi]
jbe 0x461251
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x24]
mov esi, eax
sub esi, dword [esp + 0x20]
shl eax, 0xa
mov ebx, eax
add ebx, edi
add esi, 1
shl esi, 0xa
add esi, edi
lea eax, [esp + 0xd00]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0x400
add esi, 0x400
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.004935e0
cmp esi, ebx
jne 0x461228
mov edi, dword [esp + 0xbc]
mov eax, edi
call fcn.0045df90
mov ebx, eax
lea eax, [esp + 0xd00]
mov dword [esp + 8], 0x400
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00492be0
mov ecx, dword [esp + 0x1148]
mov edx, edi
mov eax, ebx
call fcn.0045dff0
mov eax, dword [esp + 0x54]
mov dword [esp + 4], 0x400
mov dword [esp], eax
call fcn.004943a0
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0x400
mov dword [esp], eax
call fcn.004943a0
mov eax, dword [esp + 0x50]
mov dword [esp + 4], 0x400
mov dword [esp], eax
call fcn.004943a0
lea eax, [esp + 0xd00]
mov dword [esp + 4], 0x400
mov dword [esp], eax
call fcn.004943a0
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0xb8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004943a0
mov dword [esp], ebx
call fcn.00493420
add esp, 0x110c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xb0]
xor edx, edx
div dword [esp + 0x18]
mov esi, edx
mov edx, dword [esp + 0x38]
jmp 0x460efc
lea eax, [esp + 0x900]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x500]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x54], eax
jmp 0x4611db
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
jmp 0x460efc