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

Disassembly:
push 0xffffffffffffffff
push 0x4a7d58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x54]
call fcn.004af1d8
xor edi, edi
lea ecx, [esp + 0xec]
push edi
mov dword [esp + 0x10c], edi
call fcn.004b3b78
lea ecx, [esp + 0x38]
mov byte [esp + 0x108], 1
call fcn.004c5a38
lea ecx, [esp + 0x34]
mov byte [esp + 0x108], 2
call fcn.0050d46e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x108], 3
call fcn.0050d46e
lea ecx, [esp + 0x24]
mov byte [esp + 0x108], 4
call fcn.0050d46e
lea ecx, [esp + 0x28]
mov byte [esp + 0x108], 5
call fcn.0050d46e
push edi
lea eax, [esp + 0x38]
push edi
lea ecx, [esp + 0x34]
push eax
mov bl, 6
push ecx
mov ecx, esi
mov byte [esp + 0x118], bl
call fcn.00479dc8
cmp dword [esi + 0x120], 1
jne 0x48f663
mov edx, dword [esi + 0xec]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0eb8
call fcn.0050d630
lea ecx, [esp + 0x40]
call fcn.004c5c48
mov eax, dword [esi + 0xe8]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0ec8
call fcn.0050d630
lea ecx, [esp + 0x40]
call fcn.004c5c48
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0050d618
push ecx
mov byte [esp + 0x110], 7
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4ceab0
call fcn.0050d630
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], bl
call fcn.004c5ab8
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.0050d618
push ecx
mov byte [esp + 0x110], 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0ed8
call fcn.0050d630
lea ecx, [esp + 0x40]
mov byte [esp + 0x110], bl
call fcn.004c5ab8
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004c5a98
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x10c], 9
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x108], bl
call fcn.0050d468
push 1
push 1
push 1
lea ecx, [esp + 0x30]
call fcn.00470bf8
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.0050d492
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x4d8880
call fcn.0050d618
mov eax, dword [esi + 0x120]
push ecx
mov edx, esp
mov dword [esp + 0x118], esp
push edi
push 0x1d
push eax
push edx
mov ecx, esi
mov byte [esp + 0x134], 0xa
call fcn.00482c18
mov byte [esp + 0x124], bl
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0047b1a8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10c], 0xb
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x108], bl
call fcn.0050d468
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call fcn.0050d48c
push edi
lea ecx, [esp + 0x2c]
call fcn.0050d492
mov dl, byte [esp + 0x33]
mov esi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x14], dl
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x14]
call dword [0x4b4610]
cmp eax, ebp
jae 0x48f7fa
call dword [0x4b460c]
mov edx, dword [esp + 0x18]
xor edi, edi
cmp edx, edi
je 0x48f825
mov al, byte [edx - 1]
test al, al
je 0x48f825
cmp al, 0xff
je 0x48f825
cmp ebp, edi
jne 0x48f850
dec al
push edi
lea ecx, [esp + 0x18]
mov byte [edx - 1], al
call dword [fcn.004b461c]
jmp 0x48f87e
cmp ebp, edi
jne 0x48f837
push 1
lea ecx, [esp + 0x18]
call dword [fcn.004b461c]
jmp 0x48f87e
mov eax, dword [esp + 0x20]
cmp eax, 0x1f
ja 0x48f844
cmp eax, ebp
jae 0x48f85f
push 1
lea ecx, [esp + 0x18]
call dword [fcn.004b461c]
push ebp
lea ecx, [esp + 0x18]
call dword [0x4b4608]
mov edx, dword [esp + 0x18]
mov ecx, ebp
mov edi, edx
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call dword [fcn.004b4604]
xor edi, edi
lea ecx, [esp + 0xec]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x114], 0xc
call fcn.004af268
and eax, 0xff
mov byte [esp + 0x108], bl
mov ebp, eax
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x48f8d1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48f8c8
cmp al, 0xff
je 0x48f8c8
dec al
mov byte [ecx], al
jmp 0x48f8d1
push ecx
call fcn.0050d474
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
call fcn.0050d48c
cmp ebp, edi
je 0x48f925
push 0x4d1468
lea ecx, [esp + 0xf0]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
test eax, eax
je 0x48f923
push 0x4d1484
lea ecx, [esp + 0xf0]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
test eax, eax
je 0x48f923
mov ebp, 1
jmp 0x48f925
xor ebp, ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x108], 5
call fcn.0050d468
lea ecx, [esp + 0x24]
mov byte [esp + 0x108], 4
call fcn.0050d468
lea ecx, [esp + 0x2c]
mov byte [esp + 0x108], 3
call fcn.0050d468
lea ecx, [esp + 0x34]
mov byte [esp + 0x108], 2
call fcn.0050d468
lea ecx, [esp + 0x38]
mov byte [esp + 0x108], 1
call fcn.004c5a78
lea ecx, [esp + 0xec]
mov byte [esp + 0x108], 0
call fcn.004b4098
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x108], 0xd
cmp eax, edi
je 0x48f9c1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48f9b8
cmp al, 0xff
je 0x48f9b8
dec al
mov byte [ecx], al
jmp 0x48f9c1
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xdc], edi
cmp eax, edi
mov dword [esp + 0xe0], edi
mov dword [esp + 0xe4], edi
je 0x48f9fe
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x48f9f5
cmp al, 0xff
je 0x48f9f5
dec al
mov byte [ecx], al
jmp 0x48f9fe
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xb8], edi
cmp eax, edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
je 0x48fb40
mov ecx, dword [esp + 0x90]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0x94], ecx
lea ecx, [eax + 0xc]
call dword [fcn.004b461c]
mov eax, dword [esp + 0xb0]
dec eax
mov dword [esp + 0xb0], eax
je 0x48fa67
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
cmp eax, ecx
jne 0x48fb33
mov eax, dword [esp + 0x94]
mov ecx, eax
add eax, 4
mov dword [esp + 0x94], eax
mov ecx, dword [ecx]
push ecx
call fcn.0050d474
mov eax, dword [esp + 0xb4]
add esp, 4
cmp eax, edi
jne 0x48faf3
lea ecx, [esp + 0x14]
call fcn.004952b8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x88], eax
push ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], esi
call fcn.0050d474
add esp, 4
jmp 0x48fb33
mov eax, dword [esp + 0x94]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004952c8
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
cmp dword [esp + 0xb0], edi
jne 0x48fa22
mov eax, dword [esp + 0x80]
mov dword [esp + 0x108], 0xffffffff
cmp eax, edi
je 0x48fc29
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x80]
add ecx, 4
dec edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], edx
je 0x48fb84
cmp ecx, dword [esp + 0x5c]
jne 0x48fc1c
mov ecx, eax
add eax, 4
mov dword [esp + 0x64], eax
mov eax, dword [ecx]
push eax
call fcn.0050d474
mov eax, dword [esp + 0x84]
add esp, 4
cmp eax, edi
jne 0x48fbf3
lea ecx, [esp + 0x44]
call fcn.004952b8
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x58], eax
push ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
call fcn.0050d474
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
add esp, 4
jmp 0x48fc1c
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x14]
push eax
mov edx, dword [eax]
push edx
call fcn.004952c8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x80], edi
jne 0x48fb62
mov ecx, dword [esp + 0x100]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xfc
ret