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

Disassembly:
push 0xffffffffffffffff
push 0x522d00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
push 6
push 0x54ac5c
lea ecx, [esp + 0x24]
mov dword [esp + 0x80], 1
call fcn.004f58e0
push 6
push 0x54aca8
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 2
call fcn.004f58e0
push 6
push 0x54aca0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 3
call fcn.004f58e0
xor ebx, ebx
lea ecx, [esp + 0x10]
push ebx
mov byte [esp + 0x7c], 4
call fcn.004f5870
mov al, byte [esp + 0x84]
mov edi, 0x554048
mov byte [esp + 0x24], al
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x7c], 5
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.004016f0
test al, al
je 0x459c08
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
mov esi, 0x554048
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.004016d0
mov al, byte [0x554048]
mov esi, dword [esp + 0x80]
mov byte [esp + 0x54], al
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x55]
rep stosd dword es:[edi], eax
push esi
push 3
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 6
call fcn.004f5c80
push esi
push 3
lea ecx, [esp + 0x1c]
call fcn.004f5c80
push esi
push 4
lea ecx, [esp + 0x20]
call fcn.004f5c80
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call fcn.004f5850
mov ecx, dword [0x5540b4]
call fcn.004ff740
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push 6
push 0x54ac98
call fcn.004f58e0
mov ecx, dword [0x5540b4]
call fcn.004ff8c0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push 6
push 0x54ac90
call fcn.004f58e0
mov ecx, dword [0x5540b4]
call fcn.004ff8c0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push 6
push 0x54ac88
call fcn.004f58e0
mov ecx, dword [0x5540b4]
call fcn.004ff8c0
mov ecx, dword [0x5540b4]
push 1
call fcn.004fa310
mov al, byte [esp + 0x24]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x90], esp
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x530168]
lea eax, [esp + 0x34]
push edx
push ebx
push eax
call fcn.004011e0
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x90], 7
call fcn.004f5850
mov ecx, dword [0x5540b4]
mov byte [esp + 0x8c], 6
call fcn.004ffa90
sub esp, 0x10
lea eax, [esp + 0x24]
mov esi, esp
mov dword [esp + 0x90], esp
push ecx
mov ecx, esp
mov dword [esp + 0x94], esp
push eax
call fcn.004f5850
push esi
call fcn.004fd210
mov ecx, dword [0x5540b4]
add esp, 8
call fcn.004ff940
mov ecx, dword [0x5540b4]
call fcn.004ffe70
movsx eax, ax
sub eax, ebx
je 0x459f6a
dec eax
je 0x459d98
dec eax
je 0x45a0c8
jmp 0x459c51
push 0xff
push 6
lea ecx, [esp + 0x8c]
call fcn.004f5c80
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push ebx
call fcn.004f5870
lea ecx, [esp + 0x14]
lea edx, [esp + 0x88]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x88], 0xa
call fcn.004f5850
mov ecx, 0x5574f0
mov byte [esp + 0x84], 6
call fcn.004a3b90
cmp ax, bx
jge 0x459e3e
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push 6
push 0x548208
call fcn.004f58e0
push ecx
mov byte [esp + 0x88], 0xb
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x5493d0
call fcn.004f58e0
mov ecx, 0x5540a8
mov byte [esp + 0x88], 6
call fcn.004f91a0
jmp 0x459c51
je 0x45a0c8
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push 6
push 0x54ac80
call fcn.004f58e0
lea eax, [esp + 0x38]
push eax
call fcn.004fd210
mov eax, dword [eax + 4]
add esp, 8
cmp eax, ebx
jne 0x459e73
mov eax, 0x530164
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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 + 0x38]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x459ebb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x459eb2
cmp al, 0xff
je 0x459eb2
dec al
mov byte [ecx], al
jmp 0x459ebb
push ecx
call fcn.00514140
add esp, 4
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x38], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ebx
mov ebp, ecx
mov dword [esp + 0x40], ebx
cmp ebp, 0xfffffffd
jbe 0x459ee1
call fcn.0051414b
mov edi, dword [esp + 0x28]
cmp edi, ebx
je 0x459f0c
mov al, byte [edi - 1]
cmp al, bl
je 0x459f0c
cmp al, 0xff
je 0x459f0c
cmp ebp, ebx
jne 0x459f38
dec al
push ebx
lea ecx, [esp + 0x28]
mov byte [edi - 1], al
call fcn.004013e0
jmp 0x459c51
cmp ebp, ebx
jne 0x459f20
push 1
lea ecx, [esp + 0x28]
call fcn.004013e0
jmp 0x459c51
mov eax, dword [esp + 0x30]
cmp eax, 0x1f
ja 0x459f2d
cmp eax, ebp
jae 0x459f46
push 1
lea ecx, [esp + 0x28]
call fcn.004013e0
push ebp
lea ecx, [esp + 0x28]
call fcn.00401a80
mov edi, dword [esp + 0x28]
mov ecx, ebp
lea esi, [esp + 0x54]
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
jmp 0x459c51
push ebx
push 6
lea ecx, [esp + 0x8c]
call fcn.004f5c80
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push ebx
call fcn.004f5870
lea ecx, [esp + 0x14]
lea edx, [esp + 0x88]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x88], 8
call fcn.004f5850
mov ecx, 0x5574f0
mov byte [esp + 0x84], 6
call fcn.004a3b90
cmp ax, bx
jge 0x45a00c
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push 6
push 0x548208
call fcn.004f58e0
push ecx
mov byte [esp + 0x88], 9
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x5493d0
call fcn.004f58e0
mov ecx, 0x5540a8
mov byte [esp + 0x88], 6
call fcn.004f91a0
jmp 0x459c51
je 0x45a0c8
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push 6
push 0x54ac78
call fcn.004f58e0
lea eax, [esp + 0x48]
push eax
call fcn.004fd210
mov eax, dword [eax + 4]
add esp, 8
cmp eax, ebx
jne 0x45a041
mov eax, 0x530164
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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 + 0x48]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x45a089
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x45a080
cmp al, 0xff
je 0x45a080
dec al
mov byte [ecx], al
jmp 0x45a089
push ecx
call fcn.00514140
add esp, 4
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x4c], ebx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.004016f0
test al, al
je 0x459c51
mov edi, dword [esp + 0x28]
mov ecx, ebp
lea esi, [esp + 0x54]
jmp 0x459f4c
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x45a0ed
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x45a0e4
cmp al, 0xff
je 0x45a0e4
dec al
mov byte [ecx], al
jmp 0x45a0ed
push ecx
call fcn.00514140
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x78], 4
call fcn.004f5980
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
call fcn.004f5980
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 2
call fcn.004f5980
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 1
call fcn.004f5980
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], bl
call fcn.004f5980
lea ecx, [esp + 0x88]
mov dword [esp + 0x78], 0xffffffff
call fcn.004f5980
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 0xc