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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5b4deb
sub esp, 0x94
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.00467547
lea edi, [esp + 0x70]
call fcn.00467547
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
call fcn.005b9930
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5b4a91
mov edx, dword [0x7c3d28]
xor ebx, ebx
jmp 0x5b4ac4
mov edx, dword [ecx + 0x28c]
cmp edx, eax
jb 0x5b4de3
mov ebx, dword [ecx + 0x290]
sub edx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp edx, 3
jbe 0x5b4dd7
mov ebp, dword [ecx + 0x288]
mov ebx, dword [ebx + ebp]
xor edx, edx
test edx, edx
jne 0x5b4b27
mov dword [esp + 0x20], eax
mov edx, ebx
and ebx, 7
mov byte [esp + 0x70], bl
mov ebx, edx
and edx, 0xf8
shr edx, 3
mov byte [esp + 0x71], dl
mov edx, ebx
and ebx, 0xff00
shr ebx, 8
mov byte [esp + 0x72], bl
mov ebx, edx
and edx, 0xff0000
shr edx, 0x10
mov byte [esp + 0x73], dl
mov edx, ebx
and ebx, 0xf00000
shr ebx, 0x18
mov byte [esp + 0x74], bl
and edx, 0xf0000000
shr edx, 0x1c
lea edx, [edx + edx*2]
shl edx, 1
mov byte [esp + 0x75], dl
xor edx, edx
jmp 0x5b4b52
lea edi, [esp + 0xa0]
lea esi, [esp + 0x70]
call fcn.00467a06
add esp, 0x94
ret
lea esi, [esp + 0x50]
call fcn.00467a38
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x98]
movzx ebx, byte [esp + 0x73]
movzx ebp, bl
cmp edx, ebp
jge 0x5b4c81
mov dword [esp + 0x24], edx
lea ebx, [eax + edx*2 + 4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
movzx ebp, byte [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], ebx
xchg ebp, eax
mov byte [esp + 8], al
xchg ebp, eax
call fcn.005b4000
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x60]
lea esi, [esp + 0xc]
call fcn.00467a38
lea edi, [esp + 0x50]
lea esi, [esp + 0x60]
call fcn.00467a38
test eax, eax
je 0x5b4c6a
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
inc edx
mov ebx, dword [esp + 0x78]
cmp ecx, edx
jae 0x5b4c1c
mov dword [esp + 0x2c], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x607fc0]
mov dword [esp + 0x10], eax
call fcn.0044d830
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], edx
mov ecx, dword [0x7f7690]
dec edx
shl edx, 4
lea edi, [ebx + edx]
mov edx, dword [esp + 0x24]
add edx, eax
test ecx, ecx
je 0x5b4b3e
mov dword [esp + 0x4c], edi
mov dword [esp + 0x30], edx
lea eax, [0x607fc0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.00411290
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
jmp 0x5b4b3e
lea edi, [esp + 0xa0]
lea esi, [esp + 0x70]
call fcn.00467a06
add esp, 0x94
ret
lea ebp, [eax + 4]
test bl, 1
je 0x5b4c8c
lea ebp, [eax + 6]
movzx ebx, byte [esp + 0x71]
test bl, 1
jne 0x5b4c9b
test bl, 2
je 0x5b4ce0
test bl, 4
jne 0x5b4ce0
lea eax, [ebp + edx*2]
mov ebx, dword [ecx + 0x28c]
cmp ebx, eax
jb 0x5b4dd0
mov esi, dword [ecx + 0x290]
sub ebx, eax
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
cmp ebx, 3
jbe 0x5b4dc4
mov eax, dword [ecx + 0x288]
mov eax, dword [esi + eax]
mov dword [esp + 0x84], eax
movzx eax, byte [esp + 0x71]
test al, 4
je 0x5b4d96
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x600f00]
mov dword [esp], eax
lea eax, [ebp + edx*2]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.004cc720
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
lea ecx, [0x5e0e60]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.005ba620
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5b4dad
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
lea edi, [esp + 0xa0]
lea esi, [esp + 0x70]
call fcn.00467a06
add esp, 0x94
ret
lea edi, [esp + 0xa0]
lea esi, [esp + 0x70]
call fcn.00467a06
add esp, 0x94
ret
mov eax, 3
mov ecx, ebx
call fcn.00467310
mov ecx, ebx
call fcn.00467380
mov eax, 3
mov ecx, edx
call fcn.00467310
mov ecx, edx
call fcn.00467380
nop
call fcn.00465ea0
jmp fcn.005b4a20