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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b591d
sub esp, 0x64
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5b4f83
nop
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x40]
test edx, edx
je 0x5b4f51
movzx ebx, byte [edx + 0xf]
nop
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x5b4f4b
or ebx, 0x80
mov ebp, dword [esp + 0x44]
jmp 0x5b4f57
xor ebx, ebx
xor ebp, ebp
xor edx, edx
mov esi, ebx
and ebx, 0x1f
nop
cmp ebx, 0x16
jne 0x5b4f8d
test esi, 0x200
jne 0x5b4f8d
test esi, 0x80
je 0x5b4f77
mov ebx, dword [ebp]
jmp 0x5b4f79
mov ebx, ebp
test ebx, ebx
jne 0x5b4f8d
xor eax, eax
xor ecx, ecx
jmp 0x5b4f8d
mov ecx, dword [esp + 0x78]
xor esi, esi
xor edx, edx
xor ebp, ebp
test eax, eax
je 0x5b57b1
test esi, esi
je 0x5b5658
mov dword [esp + 0x34], esi
mov ebx, dword [esp + 0x68]
mov edi, dword [ebx]
mov esi, dword [edi]
test esi, esi
je 0x5b5006
mov eax, dword [edi + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x1c], edx
call fcn.005b4610
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test eax, eax
jne 0x5b55ab
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x84]
mov ebp, edx
and edx, 0x1f
lea esi, [edx - 2]
nop
nop
cmp esi, 4
ja 0x5b5023
mov edx, 2
jmp 0x5b503f
lea esi, [edx - 7]
cmp esi, 4
ja 0x5b5032
mov edx, 7
jmp 0x5b503f
lea esi, [edx - 0xd]
cmp esi, 1
ja 0x5b503f
mov edx, 0xd
mov dword [esp + 0x30], edx
cmp edx, 0x13
ja 0x5b5239
cmp edx, 7
ja 0x5b5147
cmp edx, 1
je 0x5b50fe
cmp edx, 2
je 0x5b50b5
cmp edx, 7
jne 0x5b534e
mov dword [esp], ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.005b7390
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5b54cd
mov dword [esp], ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.005b69c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5b54cd
mov dword [esp], ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.005b7f90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5b54cd
cmp edx, 0xd
je 0x5b51f0
cmp edx, 0x11
je 0x5b51a7
cmp edx, 0x13
jne 0x5b534e
mov dword [esp], ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.005bb740
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5b54cd
mov dword [esp], ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.005bc8b0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5b54cd
mov dword [esp], ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.005b87f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5b54cd
cmp edx, 0x16
ja 0x5b5333
cmp edx, 0x14
je 0x5b52ea
cmp edx, 0x15
jne 0x5b5299
mov dword [esp], ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.005b9190
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5b54cd
mov dword [esp], ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.005bb1e0
movzx eax, byte [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, edx
mov edx, eax
mov eax, ecx
mov ecx, ebx
jmp 0x5b54cd
mov dword [esp], ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.005b5930
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5b54cd
cmp edx, 0x17
je 0x5b5489
cmp edx, 0x18
je 0x5b5443
cmp edx, 0x19
je 0x5b53fa
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0040a980
mov eax, dword [esp + 4]
lea ecx, [0x5e0ca0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x611777]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cadf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov dword [esp], ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.005bd450
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5b54cd
mov dword [esp], ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.005b5fb0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
jmp 0x5b54cd
mov dword [esp], ebx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
call fcn.005bbad0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, 1
test dl, dl
je 0x5b5599
mov edx, dword [esp + 0x68]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
test edx, edx
je 0x5b5599
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x5b5599
mov ebp, dword [edx + 8]
mov esi, dword [edx + 4]
inc esi
mov edi, dword [edx]
cmp ebp, esi
jae 0x5b556a
mov dword [esp + 0x60], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], ecx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5dd3e0]
mov dword [esp + 0x10], eax
call fcn.00450060
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 8], eax
mov eax, dword [0x7da640]
test eax, eax
je 0x5b5556
call fcn.0046be80
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, dword [esp + 0x38]
mov esi, edx
mov edi, ecx
mov ecx, dword [esp + 0x48]
mov edx, ebx
mov ebx, dword [esp + 0x70]
mov dword [edx + 4], esi
lea edx, [edi + esi*8 - 4]
mov dword [edx], ebx
mov edx, dword [0x7da640]
lea ebx, [edi + esi*8 - 8]
test edx, edx
jne 0x5b5587
mov edx, dword [esp + 0x6c]
jmp 0x5b5597
call fcn.0046be80
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.0040aa80
mov eax, dword [esp + 8]
lea ecx, [0x5dd3e0]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5b5604
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
lea eax, [0x610ff1]
mov dword [esp], eax
mov dword [esp + 4], 0x17
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cadf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x84]
test eax, eax
je 0x5b5676
test eax, 0x200
jne 0x5b5676
lea ecx, [0x65a1a0]
mov edx, dword [esp + 0x7c]
jmp 0x5b569d
mov ecx, dword [esp + 0x7c]
mov dword [esp], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004c6560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c4ac0
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5b5797
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x5b5797
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
inc ebx
mov ebp, dword [eax]
cmp edx, ebx
jae 0x5b5768
mov dword [esp + 0x60], eax
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5dd3e0]
mov dword [esp + 0x10], eax
call fcn.00450060
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 8], eax
mov eax, dword [0x7da640]
test eax, eax
je 0x5b575c
call fcn.0046be80
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ebx
lea eax, [ebp + ebx*8 - 4]
mov dword [eax], ecx
mov eax, dword [0x7da640]
lea ecx, [ebp + ebx*8 - 8]
test eax, eax
jne 0x5b5785
mov eax, dword [esp + 0x6c]
jmp 0x5b5795
call fcn.0046be80
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
movzx ecx, byte [ecx + 0xa]
test cl, cl
je 0x5b5903
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x5b57e2
test ecx, 0x200
jne 0x5b57e2
lea edx, [0x65a1a0]
mov ebx, dword [esp + 0x7c]
jmp 0x5b5809
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c5b70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov ebx, ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.004c6560
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x84]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c4ac0
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5b5903
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x5b5903
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
inc ebx
mov ebp, dword [eax]
cmp edx, ebx
jae 0x5b58d4
mov dword [esp + 0x60], eax
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5dd3e0]
mov dword [esp + 0x10], eax
call fcn.00450060
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 8], eax
mov eax, dword [0x7da640]
test eax, eax
je 0x5b58c8
call fcn.0046be80
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ebx
lea eax, [ebp + ebx*8 - 4]
mov dword [eax], ecx
mov eax, dword [0x7da640]
lea ecx, [ebp + ebx*8 - 8]
test eax, eax
jne 0x5b58f1
mov eax, dword [esp + 0x6c]
jmp 0x5b5901
call fcn.0046be80
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x64
ret
call fcn.0046aa70
jmp fcn.005b4f00