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

Disassembly:
push 0xffffffffffffffff
push 0x689f20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x18], ebp
mov ecx, dword [ebp + 0xe0]
test ecx, ecx
je 0x4b8c89
mov edx, dword [ebp + 0x3e8]
mov eax, dword [ecx]
inc edx
push edx
call dword [eax + 0x7c]
mov eax, dword [ebp + 0x3ac]
test eax, eax
jbe 0x4b8c9f
mov dword [ebp + 0x3f4], 0
jmp 0x4b8ca9
mov dword [ebp + 0x3f4], 0xffffffff
mov bl, byte [esp + 0x13]
lea esi, [ebp + 0xe4]
mov dword [esp + 0x14], 0x45
cmp dword [esi], 0
je 0x4b8d1b
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], bl
call fcn.004031c0
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x6dfe28
lea ecx, [esp + 0x30]
call fcn.004083a0
mov ecx, dword [esi]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x7c], 0
mov eax, dword [ecx]
call dword [eax + 0x78]
or edi, 0xffffffff
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x7c], edi
call fcn.004031c0
mov eax, dword [esi]
mov dword [eax + 0xcc], edi
mov eax, dword [esp + 0x14]
add esi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x4b8cbb
mov eax, dword [ebp + 0x3a8]
mov dword [esp + 0x1c], 0
mov esi, dword [eax]
mov dword [esp + 0x14], esi
jmp 0x4b8d47
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp esi, dword [ebp + 0x3a8]
je 0x4b8edb
mov al, byte [esi + 8]
add esi, 8
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], al
call fcn.004031c0
mov ecx, dword [0x6a3564]
push ecx
push 0
push esi
lea ecx, [esp + 0x44]
call fcn.00402fc0
lea edx, [esi + 0x10]
lea ecx, [esp + 0x48]
push edx
mov dword [esp + 0x7c], 1
call fcn.0041cf60
lea eax, [esi + 0x20]
lea ecx, [esp + 0x58]
push eax
mov byte [esp + 0x7c], 2
call fcn.0041cf60
mov ecx, dword [esi + 0x30]
mov byte [esp + 0x78], 3
mov dword [esp + 0x68], ecx
mov dx, word [esi + 0x34]
mov word [esp + 0x6c], dx
mov ax, word [esi + 0x36]
mov word [esp + 0x6e], ax
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], 4
call fcn.004ba880
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x30], esp
push 0
mov esi, eax
mov byte [ebp], cl
mov ecx, ebp
call fcn.004031c0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00403350
test al, al
je 0x4b8e23
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00403330
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x23]
push eax
mov byte [esp + 0x8c], 5
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x48], esp
push ecx
lea ecx, [esp + 0x60]
call fcn.004ba880
push eax
mov ecx, esi
call fcn.004a64f0
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push esi
mov byte [esp + 0xa0], 4
call fcn.004ba680
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x7c], 8
call fcn.004031c0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 7
call fcn.004031c0
mov eax, dword [esp + 0x3c]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x78], 0xffffffff
je 0x4b8ec1
mov cl, byte [eax - 1]
test cl, cl
je 0x4b8eb7
cmp cl, 0xff
je 0x4b8eb7
dec cl
mov byte [eax - 1], cl
jmp 0x4b8ec1
dec eax
push eax
call fcn.006713a0
add esp, 4
inc esi
mov dword [esp + 0x3c], edi
cmp esi, 0x17
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], esi
jl 0x4b8d3f
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret