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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b567b
sub esp, 0x68
mov eax, dword [esp + 0x78]
lea ecx, [eax - 0xc]
cmp ecx, 4
ja 0x4b549f
mov ecx, dword [esp + 0x74]
test ecx, ecx
jle 0x4b5453
lea eax, [0x5eab60]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
call fcn.004092b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4b540e
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call ecx
cmp dword [esp + 4], 0x10
jne 0x4b53c2
lea eax, [0x5e0340]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 0x10
call ecx
lea eax, [0x5f7f00]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [eax], ecx
mov ecx, dword [0x7e1c20]
test ecx, ecx
jne 0x4b5263
mov edx, dword [esp + 0x70]
mov dword [eax + 4], edx
jmp 0x4b5273
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.004610d0
mov eax, ecx
mov edx, dword [esp + 0x74]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
nop
nop
mov edx, dword [esp + 0x64]
movzx ebx, byte [edx + 7]
movzx ebp, byte [edx + 6]
mov dword [esp + 0x48], ebp
movzx esi, byte [edx + 5]
movzx edi, byte [edx + 4]
mov ecx, edi
movzx edi, byte [edx + 3]
mov dword [esp + 0x44], edi
movzx edi, byte [edx + 2]
mov dword [esp + 0x40], edi
movzx edi, byte [edx + 1]
mov dword [esp + 0x3c], edi
movzx edi, byte [edx]
mov dword [esp + 0x38], edi
movzx edi, byte [edx + 0xf]
mov dword [esp + 0x34], edi
movzx edi, byte [edx + 0xe]
mov dword [esp + 0x30], edi
movzx edi, byte [edx + 0xd]
mov dword [esp + 0x2c], edi
movzx edi, byte [edx + 0xc]
mov dword [esp + 0x28], edi
movzx edi, byte [edx + 0xb]
mov dword [esp + 0x24], edi
movzx edi, byte [edx + 0xa]
mov dword [esp + 0x50], edi
movzx edi, byte [edx + 9]
movzx edx, byte [edx + 8]
shl ebp, 8
or ebx, ebp
mov ebp, esi
shl esi, 0x10
or esi, ebx
mov ebx, ecx
shl ecx, 0x18
or ecx, esi
mov dword [esp + 0x54], ecx
mov esi, dword [esp + 0x48]
shr esi, 0x18
shr ebp, 0x10
or esi, ebp
shr ebx, 8
or esi, ebx
mov ebx, dword [esp + 0x44]
or ebx, esi
mov ebp, dword [esp + 0x40]
shl ebp, 8
or ebx, ebp
mov ebp, dword [esp + 0x3c]
shl ebp, 0x10
or ebp, ebx
mov ebx, dword [esp + 0x38]
shl ebx, 0x18
or ebp, ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x58], ebp
mov ebx, dword [esp + 0x30]
mov esi, ebx
shl ebx, 8
mov ebp, dword [esp + 0x34]
or ebp, ebx
mov ebx, dword [esp + 0x2c]
shl ebx, 0x10
or ebx, ebp
mov ebp, dword [esp + 0x28]
shl ebp, 0x18
or ebp, ebx
mov dword [esp + 0x5c], ebp
shr esi, 0x18
mov ebx, dword [esp + 0x2c]
shr ebx, 0x10
or esi, ebx
mov ebx, dword [esp + 0x28]
shr ebx, 8
or esi, ebx
mov ebx, dword [esp + 0x24]
or ebx, esi
mov esi, dword [esp + 0x50]
shl esi, 8
or ebx, esi
shl edi, 0x10
or edi, ebx
shl edx, 0x18
or edi, edx
mov dword [esp + 0x60], edi
mov dword [eax + 0x90], ecx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], ebp
mov dword [eax + 0x9c], edi
mov ecx, 2
jmp 0x4b5505
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x61b76b]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x68
ret
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ebx
add esp, 0x68
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x64
lea ecx, [0x61faec]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x68
ret
lea eax, [0x5ec160]
mov dword [esp], eax
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x61a402]
mov dword [eax], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x6681f8]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x68
ret
shl edx, 4
mov dword [eax + edx + 0x10], edi
mov dword [eax + edx + 0x14], ebp
mov ebx, dword [esp + 0x1c]
mov dword [eax + edx + 0x18], ebx
mov dword [eax + edx + 0x1c], esi
add ecx, 2
cmp ecx, 0x10
jge 0x4b562b
mov edx, ecx
shr ecx, 0x1f
lea ebx, [edx + ecx]
mov ebp, ebx
sar ebx, 1
mov esi, edx
shl edx, 2
and edx, 0xc
mov edi, esi
sar esi, 2
and esi, 3
or esi, edx
mov edx, esi
shl esi, 1
and esi, 0xa
sar edx, 1
and edx, 5
or edx, esi
shl ebx, 2
and ebx, 0xc
sar ebp, 3
and ebp, 3
or ebp, ebx
mov ebx, ebp
shl ebp, 1
and ebp, 0xa
sar ebx, 1
and ebx, 5
or ebx, ebp
cmp ebx, 0x10
jae 0x4b566e
mov dword [esp + 0x4c], edi
shl ebx, 4
mov ebp, dword [eax + ebx + 0x18]
mov esi, dword [eax + ebx + 0x1c]
mov dword [esp + 0x48], esi
mov ecx, ebp
shr ebp, 1
shl esi, 0x1f
or esi, ebp
mov ebp, dword [esp + 0x48]
shr ebp, 1
mov edi, dword [eax + ebx + 0x10]
mov dword [esp + 0x48], edi
shl edi, 0x1f
or edi, ebp
mov ebx, dword [eax + ebx + 0x14]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x48]
shr ebp, 1
shl ebx, 0x1f
or ebx, ebp
mov ebp, dword [esp + 0x44]
shr ebp, 1
test ecx, 1
je 0x4b55b5
xor ebp, 0xe1000000
cmp edx, 0x10
jae 0x4b5662
mov dword [esp + 0x48], edi
shl edx, 4
mov dword [eax + edx + 0x10], ebx
mov dword [eax + edx + 0x14], ebp
mov dword [eax + edx + 0x18], esi
mov dword [eax + edx + 0x1c], edi
mov edx, dword [esp + 0x4c]
mov ecx, edx
inc edx
mov dword [esp + 0x20], edx
shl edx, 2
and edx, 0xc
mov edi, dword [esp + 0x20]
sar edi, 2
and edi, 3
or edi, edx
mov edx, edi
shl edi, 1
and edi, 0xa
sar edx, 1
and edx, 5
or edx, edi
mov edi, dword [esp + 0x58]
xor ebp, edi
mov edi, dword [esp + 0x54]
xor edi, ebx
mov ebx, dword [esp + 0x5c]
xor ebx, esi
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x48]
xor esi, ebx
cmp edx, 0x10
jb 0x4b54eb
jmp 0x4b5656
lea ecx, [0x668b14]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x68
ret
mov eax, edx
mov ecx, 0x10
call fcn.00461150
mov eax, edx
mov ecx, 0x10
call fcn.00461150
mov eax, ebx
mov ecx, 0x10
call fcn.00461150
nop
call fcn.0045fcc0
jmp fcn.004b5170