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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5b1335
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.005b1440
mov eax, dword [esp + 4]
test eax, eax
jg 0x5b0e1d
xor ecx, ecx
xor edx, edx
jmp 0x5b0e3f
mov dword [esp + 0x50], eax
lea ecx, [0x634440]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004483e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov edx, eax
mov eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x68], edx
lea ebx, [0x652480]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040bfc0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.005ae550
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5b0f63
test ecx, ecx
jbe 0x5b132d
movzx eax, byte [edx]
cmp al, 0x20
je 0x5b0eb2
cmp al, 9
jne 0x5b0f63
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.005b00e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
test eax, eax
je 0x5b0efc
mov eax, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
add esp, 0x84
ret
mov dword [esp], 0
lea eax, [0x66fb08]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044b990
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x8c], ecx
lea ecx, [0x6cf998]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
jmp 0x5b0f73
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x88]
mov dword [esp], edx
lea ebx, [0x67c9b4]
mov dword [esp + 4], ebx
call fcn.005b0300
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x5b130a
mov dword [esp + 0x48], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x54], ebx
mov ebx, dword [0x8207f8]
mov ebp, dword [0x8207fc]
mov esi, dword [0x820800]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.00479200
movzx eax, byte [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
test al, al
je 0x5b129b
mov dword [esp + 0x64], esi
mov dword [esp + 0x3c], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.005b1640
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x5b1048
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x68]
jmp 0x5b0f6d
mov dword [esp + 0x70], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0044bc40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x662573]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
call fcn.004bfac0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
lea edx, [0x652480]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xc], esi
call fcn.0040f950
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
test ecx, ecx
je 0x5b10e4
mov ebx, dword [esp + 0x44]
jmp 0x5b118e
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x5b118e
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x68]
mov dword [edi + 4], ecx
lea ecx, [ebx - 1]
mov dword [esp + 0x40], ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edi
mov dword [esp + 0x78], ecx
mov ebx, dword [0x84d450]
test ebx, ebx
jne 0x5b1122
mov eax, dword [esp + 0x60]
mov dword [edi], eax
jmp 0x5b112b
mov eax, dword [esp + 0x60]
call fcn.0045f3a0
lea eax, [0x652480]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
call fcn.0040ffe0
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov eax, dword [0x84d450]
test eax, eax
jne 0x5b1178
mov eax, dword [esp + 0x68]
mov dword [edi], eax
jmp 0x5b1181
mov eax, dword [esp + 0x68]
call fcn.0045f3a0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x78]
jmp 0x5b1264
lea ebp, [edx + 1]
cmp eax, ebp
jae 0x5b11d0
mov dword [esp + 0x34], edx
lea ebx, [0x634440]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.004484a0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov ebx, dword [esp + 0x44]
mov eax, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], eax
lea esi, [ecx + edx*8 + 4]
mov ebx, dword [esp + 0x38]
mov dword [esi], ebx
mov ebx, dword [0x84d450]
lea edx, [ecx + edx*8]
test ebx, ebx
jne 0x5b11fb
mov ebx, dword [esp + 0x60]
mov dword [edx], ebx
jmp 0x5b1206
mov edi, edx
mov eax, dword [esp + 0x60]
call fcn.0045f3a0
lea eax, [0x652480]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
call fcn.0040ffe0
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x58]
mov dword [edi + 8], eax
mov eax, dword [0x84d450]
test eax, eax
jne 0x5b1253
mov eax, dword [esp + 0x78]
mov dword [edi], eax
jmp 0x5b125c
mov eax, dword [esp + 0x78]
call fcn.0045f3a0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
test edx, edx
je 0x5b0f6d
mov eax, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x94], eax
add esp, 0x84
ret
mov dword [esp], 0
lea eax, [0x66c34c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1c
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
call fcn.0044b990
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00408e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x8c], ecx
lea ecx, [0x6cf998]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x80]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], esi
add esp, 0x84
ret
xor eax, eax
call fcn.0045f420
nop
call fcn.0045df90
jmp fcn.005b0de0