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

Disassembly:
push 0xffffffffffffffff
push 0x4edfca
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 0x510218
lea ecx, [esp + 0x20]
mov dword [esp + 0x60], esi
call fcn.004be240
xor ebx, ebx
push 6
push 0x5119f8
lea ecx, [esp + 0x28]
mov dword [esp + 0xe0], ebx
call fcn.004be240
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 1
call fcn.004be1a0
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 2
call fcn.004be1a0
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 3
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
call fcn.00414090
mov edi, 0x520010
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.004144a0
test al, al
je 0x461077
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
mov esi, 0x520010
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 + 0x58]
mov dword [esp + 0x2c], ebp
mov byte [eax + ebp], bl
mov cx, word [esi + 0x2c]
mov byte [esp + 0xd8], 4
sar 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.004be5e0
mov dl, byte [esi + 0x2c]
lea ecx, [esp + 0x18]
push edx
push 2
call fcn.004be5e0
push 4
push 3
lea ecx, [esp + 0x20]
call fcn.004be5e0
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0xe8], 5
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x50fb4c
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0xe8], 4
call fcn.004caf10
mov ebp, dword [esp + 0x3c]
xor edi, edi
push edi
push 5
lea ecx, [esp + 0x20]
call fcn.004be5e0
cmp edi, 2
jne 0x461183
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x44], esp
push ecx
push eax
mov ecx, esi
call fcn.00423a30
lea ecx, [esp + 0x20]
call fcn.004be4d0
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0x1c]
mov al, byte [esp + edx*4 + 0x78]
push eax
push 6
call fcn.004be5e0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00423660
test ax, ax
jl 0x46126a
jmp 0x4611e3
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.004235d0
test ax, ax
jl 0x46126a
cmp edi, 4
jne 0x4611e3
lea ecx, [esp + 0x14]
call fcn.004be660
cmp ax, 9
jle 0x4611e3
push 8
lea ecx, [esp + 0x18]
call fcn.004be4c0
mov dl, al
push 9
and edx, 0xff
lea ecx, [esp + 0x18]
shl edx, 8
mov dword [esp + 0x40], edx
call fcn.004be4c0
mov edx, dword [esp + 0x3c]
and eax, 0xff
add edx, eax
mov ebp, edx
inc edi
cmp edi, 6
jl 0x461122
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 + 0x44], ebp
call fcn.004be5e0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004be1b0
lea eax, [esp + 0x68]
push eax
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0xd8], 6
push ecx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00413e90
mov eax, dword [esp + 0x68]
mov byte [esp + 0xd8], 4
cmp eax, ebx
je 0x46127c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x461273
cmp al, 0xff
je 0x461273
dec al
mov byte [ecx], al
jmp 0x46127c
mov dword [esp + 0x3c], ebp
jmp 0x4618e4
push ecx
call fcn.004de1a0
add esp, 4
push ebp
lea edx, [esp + 0xb4]
push 0x50f930
push edx
call fcn.004de8d6
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 0x4612b9
call fcn.004de1ab
cmp esi, ebx
jbe 0x461300
mov ecx, dword [esp + 0x2c]
push ebx
lea ebp, [esi + ecx]
lea ecx, [esp + 0x28]
push ebp
call fcn.004144a0
test al, al
je 0x461300
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, esi
lea esi, [esp + 0xb0]
lea edi, [edx + eax]
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, 0x5102f4
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 0x461325
call fcn.004de1ab
cmp esi, ebx
jbe 0x46136a
mov ecx, dword [esp + 0x2c]
push ebx
lea ebp, [esi + ecx]
lea ecx, [esp + 0x28]
push ebp
call fcn.004144a0
test al, al
je 0x46136a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, esi
mov esi, 0x5102f4
lea edi, [edx + eax]
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.004be5e0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004be1b0
lea eax, [esp + 0x68]
push eax
call fcn.004cfca0
add esp, 8
mov ecx, dword [0x4f73d0]
mov byte [esp + 0xd8], 7
push ecx
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00414120
mov eax, dword [esp + 0x68]
mov byte [esp + 0xd8], 4
cmp eax, ebx
je 0x4613e8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4613df
cmp al, 0xff
je 0x4613df
dec al
mov byte [ecx], al
jmp 0x4613e8
push ecx
call fcn.004de1a0
add esp, 4
push ebx
push 4
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x58], esp
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 6
push 0x50f634
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov byte [esp + 0x104], 8
call fcn.00413ad0
mov ecx, 0x5200a8
mov byte [esp + 0x100], 4
call fcn.004cae60
cmp ax, 4
je 0x461a00
mov al, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
mov edi, 0x520010
or ecx, 0xffffffff
mov dword [esp + 0x50], 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 0x520010
mov ecx, edx
call fcn.004142c0
push ebx
lea ecx, [esp + 0x58]
call fcn.004ca360
mov al, byte [esp + 0x13]
lea ecx, [esp + 0x20]
add al, 0x3d
mov byte [esp + 0xd8], 9
push eax
push 5
call fcn.004be5e0
push 9
lea ecx, [esp + 0x94]
push 0x50f930
push ecx
call fcn.004de8d6
mov al, byte [esp + 0x1f]
push ecx
mov edx, esp
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
mov dword [esp + 0x50], 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.004142c0
sub esp, 0x10
lea edx, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
push 0x50f8e4
mov byte [esp + 0x100], 0xa
call fcn.00413bf0
sub esp, 0x10
lea eax, [esp + 0x93]
mov ecx, esp
mov dword [esp + 0xb8], esp
push eax
push 0x50f9a8
mov byte [esp + 0x110], 0xb
call fcn.00413bf0
sub esp, 0x10
lea edx, [esp + 0xa2]
mov ecx, esp
mov dword [esp + 0xcc], esp
push edx
push 0x520010
mov byte [esp + 0x120], 0xc
call fcn.00413bf0
sub esp, 0x10
mov byte [esp + 0x128], 0xd
mov esi, esp
mov dword [esp + 0xac], esp
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push 6
push 0x50f634
call fcn.004be240
push esi
call fcn.004cfca0
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.004be1b0
push esi
call fcn.004cfca0
add esp, 8
lea ecx, [esp + 0xc4]
mov byte [esp + 0x138], 9
push ecx
mov ecx, 0x5200a8
call fcn.004cb120
mov ecx, dword [0x4f73d0]
mov dx, word [eax]
push ecx
add eax, 4
push ebx
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xe4], 0xf
mov word [esp + 0x50], dx
call fcn.00413e90
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xd8], 9
cmp eax, ebx
je 0x461622
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x461619
cmp cl, 0xff
je 0x461619
dec cl
mov byte [eax], cl
jmp 0x461622
push eax
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.004c48d0
cmp ax, 2
je 0x4619a7
lea ecx, [esp + 0x44]
call fcn.004c48d0
cmp ax, 1
jne 0x46149c
lea edx, [esp + 0x64]
lea ecx, [esp + 0x44]
push edx
call fcn.004ca4a0
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x46166e
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 0x4616b7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4616ae
cmp al, 0xff
je 0x4616ae
dec al
mov byte [ecx], al
jmp 0x4616b7
push ecx
call fcn.004de1a0
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.004dea48
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.004be240
push ecx
mov byte [esp + 0xe8], 0x10
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x5119f0
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0xe8], 9
call fcn.004caf10
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x34], ebx
mov dl, byte [esp + 0x34]
lea ecx, [esp + 0x18]
add dl, 6
push edx
push 5
call fcn.004be5e0
cmp dword [esp + 0x34], 2
jne 0x461790
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x3c], esp
push ecx
push eax
mov ecx, esi
call fcn.00423a30
lea ecx, [esp + 0x20]
call fcn.004be4d0
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0x1c]
mov al, byte [esp + edx*4 + 0x78]
push eax
push 6
call fcn.004be5e0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00423660
test ax, ax
jl 0x4618b3
jmp 0x461868
mov eax, dword [esp + 0x34]
cmp eax, 6
je 0x46180a
cmp eax, 8
je 0x46180a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.004235d0
test ax, ax
jl 0x4618b3
cmp dword [esp + 0x34], 9
jne 0x461868
lea ecx, [esp + 0x14]
call fcn.004be660
cmp ax, 9
jle 0x461868
push 8
lea ecx, [esp + 0x18]
call fcn.004be4c0
mov dl, al
push 9
and edx, 0xff
lea ecx, [esp + 0x18]
shl edx, 8
mov dword [esp + 0x5c], edx
call fcn.004be4c0
mov edx, dword [esp + 0x58]
and eax, 0xff
add edx, eax
mov edi, edx
jmp 0x461868
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x3c], esp
push ecx
push eax
mov ecx, esi
call fcn.00423a30
lea ecx, [esp + 0x20]
call fcn.004be4d0
push ebp
push 7
lea ecx, [esp + 0x24]
call fcn.004be5e0
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.00423660
push 2
mov ecx, 0x52001c
call fcn.004be4c0
cmp al, 0x7f
jne 0x461868
push 3
mov ecx, 0x52001c
call fcn.004be4c0
cmp al, 0x31
je 0x461964
mov eax, dword [esp + 0x34]
inc eax
cmp eax, 0xb
mov dword [esp + 0x34], eax
jl 0x461723
push ebx
push 1
push ecx
cmp edi, ebp
mov ecx, esp
jne 0x4619c3
mov dword [esp + 0x44], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0xe8], 0x12
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x511938
jmp 0x461990
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x4618d8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4618cf
cmp al, 0xff
je 0x4618cf
dec al
mov byte [ecx], al
jmp 0x4618d8
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x461909
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x461900
cmp al, 0xff
je 0x461900
dec al
mov byte [ecx], al
jmp 0x461909
push ecx
call fcn.004de1a0
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.004be2e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 1
call fcn.004be2e0
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], bl
call fcn.004be2e0
lea ecx, [esp + 0x18]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004be2e0
or ax, 0xffff
jmp 0x461a7a
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0xe8], 0x11
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x50f998
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0xe8], 9
call fcn.004caf10
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x4619f4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4619eb
cmp al, 0xff
je 0x4619eb
dec al
mov byte [ecx], al
jmp 0x4619f4
mov dword [esp + 0x44], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0xe8], 0x13
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x511928
jmp 0x461990
push ecx
call fcn.004de1a0
add esp, 4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x461a25
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x461a1c
cmp al, 0xff
je 0x461a1c
dec al
mov byte [ecx], al
jmp 0x461a25
push ecx
call fcn.004de1a0
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.004be2e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 1
call fcn.004be2e0
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], bl
call fcn.004be2e0
lea ecx, [esp + 0x18]
mov dword [esp + 0xd8], 0xffffffff
call fcn.004be2e0
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