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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b82a3
sub esp, 0x50
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
call fcn.004b7a80
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x10], ebx
call fcn.004b7a80
mov eax, dword [esp + 0x74]
mov ecx, eax
sar eax, 0x1f
shl eax, 3
mov edx, ecx
shr ecx, 0x1d
or ecx, eax
xor ecx, dword [esp + 0x20]
shl edx, 3
xor dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x68]
mov ecx, eax
sar eax, 0x1f
shl eax, 3
mov edx, ecx
shr ecx, 0x1d
or ecx, eax
xor ecx, dword [esp + 0x28]
shl edx, 3
xor dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.004b7750
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
cmp edx, 7
jbe 0x4b8296
mov ebx, eax
shr eax, 0x18
mov ebp, dword [esp + 0x58]
mov byte [ebp], al
mov esi, ebx
shr ebx, 0x10
mov byte [ebp + 1], bl
mov ebx, esi
shr esi, 8
xchg esi, eax
mov byte [ebp + 2], al
xchg esi, eax
mov byte [ebp + 3], bl
mov esi, ebx
shl ebx, 8
mov edi, ecx
shr ecx, 0x18
or ecx, ebx
mov byte [ebp + 4], cl
mov ebx, edi
shr edi, 0x10
mov eax, esi
shl esi, 0x10
or esi, edi
xchg esi, eax
mov byte [ebp + 5], al
xchg esi, eax
mov esi, ebx
shr ebx, 8
shl eax, 0x18
or eax, ebx
mov byte [ebp + 6], al
xchg esi, eax
mov byte [ebp + 7], al
xchg esi, eax
lea ecx, [edx - 8]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
cmp ecx, 7
jbe 0x4b828c
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x60]
mov eax, edi
add edi, 0xfffffff8
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 8
mov ecx, ebx
shr ebx, 0x18
mov byte [ebp + edi], bl
mov ebx, ecx
shr ecx, 0x10
mov byte [ebp + edi + 1], cl
mov ecx, ebx
shr ebx, 8
mov byte [ebp + edi + 2], bl
mov byte [ebp + edi + 3], cl
mov ebx, ecx
shl ecx, 8
shr esi, 0x18
or ecx, esi
mov byte [ebp + edi + 4], cl
mov esi, dword [esp + 0x14]
mov ecx, esi
shr esi, 0x10
shl ebx, 0x10
or ebx, esi
mov byte [ebp + edi + 5], bl
mov ebx, ecx
shr ecx, 8
mov esi, dword [esp + 0x18]
shl esi, 0x18
or esi, ecx
xchg esi, eax
mov byte [ebp + edi + 6], al
xchg esi, eax
mov byte [ebp + edi + 7], bl
mov ebx, dword [esp + 0x7c]
test byte [ebx], al
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0x10
mov dword [esp + 0x40], 0x10
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
xor eax, eax
jmp 0x4b8257
mov dword [edx + eax*4], edi
inc eax
cmp eax, 4
jge 0x4b8272
cmp eax, ebx
jae 0x4b8285
mov edi, dword [ebp + eax*4]
cmp eax, 0x10
jae 0x4b827b
xor edi, dword [esi + eax*4]
cmp eax, ecx
jb 0x4b8253
jmp 0x4b8276
add esp, 0x50
ret
call fcn.0045f030
mov ecx, 0x10
call fcn.0045f030
mov ecx, ebx
call fcn.0045f030
mov eax, 7
call fcn.0045f030
mov eax, 7
mov ecx, edx
call fcn.0045f030
nop
call fcn.0045dba0
jmp fcn.004b8030