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

Disassembly:
push 0xffffffffffffffff
push 0x4ee088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 6
push 0x5102ac
lea ecx, [esp + 0x20]
mov dword [esp + 0x64], esi
call fcn.004bea10
xor ebx, ebx
push 6
push 0x511a94
lea ecx, [esp + 0x28]
mov dword [esp + 0xe0], ebx
call fcn.004bea10
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 1
call fcn.004be970
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 2
call fcn.004be970
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 3
mov dword [esp + 0x44], ebx
mov byte [esp + 0x28], al
call fcn.00411e90
mov edi, 0x520168
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
call fcn.00412290
test al, al
je 0x4600e7
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
mov esi, 0x520168
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x2c], ebp
mov byte [eax + ebp], bl
mov ecx, dword [esi + 0x2c]
mov byte [esp + 0xd8], 4
shr ecx, 8
push ecx
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], 3
mov dword [esp + 0x88], 2
mov dword [esp + 0x8c], 4
call fcn.004bedb0
mov dl, byte [esi + 0x2c]
lea ecx, [esp + 0x18]
push edx
push 2
call fcn.004bedb0
push 4
push 3
lea ecx, [esp + 0x20]
call fcn.004bedb0
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0xe8], 5
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x50fb6c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0xe8], 4
call fcn.004cb760
mov ebp, dword [esp + 0x40]
xor edi, edi
push edi
push 5
lea ecx, [esp + 0x20]
call fcn.004bedb0
cmp edi, 2
jne 0x4601f2
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x40], esp
push ecx
push eax
mov ecx, esi
call fcn.00420e70
lea ecx, [esp + 0x20]
call fcn.004beca0
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0x1c]
mov al, byte [esp + edx*4 + 0x78]
push eax
push 6
call fcn.004bedb0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00420a10
test ax, ax
jl 0x4602e8
jmp 0x460252
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00420950
test ax, ax
jl 0x46034e
cmp edi, 4
jne 0x460252
lea ecx, [esp + 0x14]
call fcn.004bee30
cmp ax, 9
jle 0x460252
push 8
lea ecx, [esp + 0x18]
call fcn.004bec90
mov dl, al
push 9
and edx, 0xff
lea ecx, [esp + 0x18]
shl edx, 8
mov dword [esp + 0x38], edx
call fcn.004bec90
mov edx, dword [esp + 0x34]
and eax, 0xff
add edx, eax
mov ebp, edx
inc edi
cmp edi, 6
jl 0x460191
mov al, byte [esp + 0xe0]
mov cl, 3
imul cl
mov byte [esp + 0x13], al
add al, 0x3b
push eax
push 5
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], ebp
call fcn.004bedb0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.004be980
lea eax, [esp + 0x68]
push eax
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0xd8], 6
push ecx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00411c90
mov eax, dword [esp + 0x68]
mov byte [esp + 0xd8], 4
cmp eax, ebx
je 0x460386
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x46037d
cmp al, 0xff
je 0x46037d
dec al
mov byte [ecx], al
jmp 0x460386
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], ebp
mov byte [esp + 0xdc], 3
call fcn.00411e90
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 2
call fcn.004beab0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 1
call fcn.004beab0
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], bl
call fcn.004beab0
lea ecx, [esp + 0x18]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004beab0
or ax, 0xffff
jmp 0x460bc8
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x460a54
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x460a4b
cmp al, 0xff
je 0x460a4b
dec al
mov byte [ecx], al
jmp 0x460a54
push ecx
call fcn.004deb10
add esp, 4
push ebp
lea edx, [esp + 0xb4]
push 0x50f938
push edx
call fcn.004df246
lea edi, [esp + 0xbc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [0x4f73d0]
mov edx, dword [esp + 0x2c]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4603c3
call fcn.004deb1b
cmp esi, ebx
jbe 0x46040a
mov ecx, dword [esp + 0x2c]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x28]
push ebp
call fcn.00412290
test al, al
je 0x46040a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, esi
lea esi, [esp + 0xb0]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov byte [eax + ebp], bl
mov edi, 0x510388
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x2c]
repne scasb al, byte es:[edi]
mov eax, dword [0x4f73d0]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x46042f
call fcn.004deb1b
cmp esi, ebx
jbe 0x460474
mov ecx, dword [esp + 0x2c]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x28]
push ebp
call fcn.00412290
test al, al
je 0x460474
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov esi, 0x510388
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov byte [eax + ebp], bl
mov al, byte [esp + 0xe0]
mov cl, 3
add al, 0x14
imul cl
push eax
push 5
lea ecx, [esp + 0x28]
call fcn.004bedb0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.004be980
lea eax, [esp + 0x68]
push eax
call fcn.004d0560
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0xd8], 7
push ecx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00411f10
mov eax, dword [esp + 0x68]
mov byte [esp + 0xd8], 4
cmp eax, ebx
je 0x4604f2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4604e9
cmp al, 0xff
je 0x4604e9
dec al
mov byte [ecx], al
jmp 0x4604f2
push ecx
call fcn.004deb10
add esp, 4
push ebx
push 4
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x54], esp
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x50f634
call fcn.004bea10
push esi
call fcn.004d0560
sub esp, 8
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x104], 8
call fcn.004118e0
mov ecx, 0x520200
mov byte [esp + 0x100], 4
call fcn.004cb6b0
cmp ax, 4
je 0x460b23
mov al, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
mov edi, 0x520168
or ecx, 0xffffffff
mov dword [esp + 0x4c], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x520168
mov ecx, edx
call fcn.004120b0
push ebx
lea ecx, [esp + 0x5c]
call fcn.004cabb0
mov al, byte [esp + 0x13]
lea ecx, [esp + 0x20]
add al, 0x3d
mov byte [esp + 0xd8], 9
push eax
push 5
call fcn.004bedb0
push 9
lea ecx, [esp + 0x94]
push 0x50f938
push ecx
call fcn.004df246
mov al, byte [esp + 0x1f]
push ecx
mov edx, esp
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
mov dword [esp + 0x4c], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xa4]
push ecx
mov ecx, edx
call fcn.004120b0
sub esp, 0x10
lea edx, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
push 0x50f8ec
mov byte [esp + 0x100], 0xa
call fcn.00411a00
sub esp, 0x10
lea eax, [esp + 0x92]
mov ecx, esp
mov dword [esp + 0xb8], esp
push eax
push 0x50fa38
mov byte [esp + 0x110], 0xb
call fcn.00411a00
sub esp, 0x10
lea edx, [esp + 0xa3]
mov ecx, esp
mov dword [esp + 0xcc], esp
push edx
push 0x520168
mov byte [esp + 0x120], 0xc
call fcn.00411a00
sub esp, 0x10
mov byte [esp + 0x128], 0xd
mov esi, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push 6
push 0x50f634
call fcn.004bea10
push esi
call fcn.004d0560
sub esp, 8
lea eax, [esp + 0x80]
mov esi, esp
mov dword [esp + 0x98], esp
push ecx
mov byte [esp + 0x13c], 0xe
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
call fcn.004be980
push esi
call fcn.004d0560
add esp, 8
lea ecx, [esp + 0xc4]
mov byte [esp + 0x138], 9
push ecx
mov ecx, 0x520200
call fcn.004cb970
mov ecx, dword [0x4f73d0]
mov dx, word [eax]
push ecx
add eax, 4
push ebx
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xe4], 0xf
mov word [esp + 0x54], dx
call fcn.00411c90
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xd8], 9
cmp eax, ebx
je 0x46072c
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x460723
cmp cl, 0xff
je 0x460723
dec cl
mov byte [eax], cl
jmp 0x46072c
push eax
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.004c4fe0
cmp ax, 2
je 0x460af2
lea ecx, [esp + 0x48]
call fcn.004c4fe0
cmp ax, 1
jne 0x4605a6
lea edx, [esp + 0x64]
lea ecx, [esp + 0x48]
push edx
call fcn.004cacf0
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x460778
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x90]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x68]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x4607c1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4607b8
cmp al, 0xff
je 0x4607b8
dec al
mov byte [ecx], al
jmp 0x4607c1
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x90]
mov dword [esp + 0x68], ebx
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.004df3b8
add esp, 4
mov ebp, eax
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0xe8], 0x10
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x511a8c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0xe8], 9
call fcn.004cb760
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x34], ebx
mov dl, byte [esp + 0x34]
lea ecx, [esp + 0x18]
add dl, 6
push edx
push 5
call fcn.004bedb0
call fcn.004cd4a0
test al, al
jne 0x4609c8
mov eax, dword [esp + 0x34]
cmp eax, 2
jne 0x4608a9
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x3c], esp
push ecx
push eax
mov ecx, esi
call fcn.00420e70
lea ecx, [esp + 0x20]
call fcn.004beca0
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0x1c]
mov al, byte [esp + edx*4 + 0x78]
push eax
push 6
call fcn.004bedb0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00420a10
test ax, ax
jl 0x4609f9
jmp 0x46097d
cmp eax, 6
je 0x46091f
cmp eax, 8
je 0x46091f
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00420950
test ax, ax
jl 0x460a15
cmp dword [esp + 0x34], 9
jne 0x46097d
lea ecx, [esp + 0x14]
call fcn.004bee30
cmp ax, 9
jle 0x46097d
push 8
lea ecx, [esp + 0x18]
call fcn.004bec90
mov dl, al
push 9
and edx, 0xff
lea ecx, [esp + 0x18]
shl edx, 8
mov dword [esp + 0x60], edx
call fcn.004bec90
mov edx, dword [esp + 0x5c]
and eax, 0xff
add edx, eax
mov edi, edx
jmp 0x46097d
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x3c], esp
push ecx
push eax
mov ecx, esi
call fcn.00420e70
lea ecx, [esp + 0x20]
call fcn.004beca0
push ebp
push 7
lea ecx, [esp + 0x24]
call fcn.004bedb0
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.00420a10
push 2
mov ecx, 0x520174
call fcn.004bec90
cmp al, 0x7f
jne 0x46097d
push 3
mov ecx, 0x520174
call fcn.004bec90
cmp al, 0x31
je 0x460aaf
mov eax, dword [esp + 0x34]
inc eax
cmp eax, 0xb
mov dword [esp + 0x34], eax
jl 0x46082d
push ebx
push 1
push ecx
cmp edi, ebp
mov ecx, esp
jne 0x460b3f
mov dword [esp + 0x44], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0xe8], 0x13
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x5119b4
jmp 0x460adb
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0xe8], 0x11
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x5119b4
jmp 0x460adb
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x460a3a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x460a31
cmp al, 0xff
je 0x460a31
dec al
mov byte [ecx], al
jmp 0x460a3a
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x460a3a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x460a31
cmp al, 0xff
je 0x460a31
dec al
mov byte [ecx], al
jmp 0x460a3a
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
jmp 0x460352
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0xd8], 2
call fcn.004beab0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 1
call fcn.004beab0
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], bl
call fcn.004beab0
lea ecx, [esp + 0x18]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004beab0
or ax, 0xffff
jmp 0x460bc8
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0xe8], 0x12
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x50fa6c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0xe8], 9
call fcn.004cb760
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x460b17
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x460b0e
cmp al, 0xff
je 0x460b0e
dec al
mov byte [ecx], al
jmp 0x460b17
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x460b73
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x460b6a
cmp al, 0xff
je 0x460b6a
dec al
mov byte [ecx], al
jmp 0x460b73
mov dword [esp + 0x44], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0xe8], 0x14
mov ecx, esp
mov dword [esp + 0x54], esp
push 6
push 0x5119a4
jmp 0x460adb
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0xd8], 2
call fcn.004beab0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 1
call fcn.004beab0
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], bl
call fcn.004beab0
lea ecx, [esp + 0x18]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004beab0
xor ax, ax
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret 4