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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b8e7c
sub esp, 0x48
movzx eax, byte [esp + 0x4c]
cmp al, 0xe2
ja 0x5b8bff
cmp al, 0xe1
jne 0x5b8aed
mov eax, dword [esp + 0x50]
lea ecx, [0x6a4ea0]
cmp eax, ecx
jne 0x5b8a24
mov eax, dword [esp + 0x54]
jmp 0x5b8a29
mov eax, 0
jne 0x5b8a8b
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
call fcn.00560ed0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test eax, eax
je 0x5b8da0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x48
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
lea eax, [0x6dedf9]
mov dword [esp], eax
mov dword [esp + 4], 0x22
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005242a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x48
ret
cmp al, 0xe2
jne 0x5b8e49
mov eax, dword [esp + 0x50]
lea ecx, [0x6a4ea0]
cmp eax, ecx
jne 0x5b8b0a
mov eax, dword [esp + 0x54]
jmp 0x5b8b0f
mov eax, 0
jne 0x5b8b9d
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0xffffffff
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x20], eax
call fcn.00561770
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
test eax, eax
je 0x5b8da0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add esp, 0x48
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
lea eax, [0x6dedf9]
mov dword [esp], eax
mov dword [esp + 4], 0x22
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005242a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x48
ret
cmp al, 0xe3
jne 0x5b8cfd
mov eax, dword [esp + 0x50]
lea ecx, [0x6c0c00]
cmp eax, ecx
jne 0x5b8c1c
mov eax, dword [esp + 0x54]
jmp 0x5b8c21
mov eax, 0
jne 0x5b8c9b
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
call fcn.005567d0
movzx eax, byte [esp + 0x1c]
test al, al
jne 0x5b8da0
lea eax, [0x6a2c20]
mov dword [esp], eax
call fcn.0040bd30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0x6dad5c]
mov dword [eax], ecx
lea ecx, [0x73be18]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x48
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
lea eax, [0x6dfb93]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005242a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x48
ret
cmp al, 0xe4
jne 0x5b8e49
mov eax, dword [esp + 0x50]
lea ecx, [0x6a0060]
cmp eax, ecx
jne 0x5b8d22
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x5b8d31
mov eax, 0
mov edx, 0
mov ecx, 0
jne 0x5b8de7
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.005605a0
movzx eax, byte [esp + 0x34]
test al, al
je 0x5b8db4
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x48
ret
lea eax, [0x6a2c20]
mov dword [esp], eax
call fcn.0040bd30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x6dbd5c]
mov dword [eax], ecx
lea ecx, [0x73be18]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x48
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
lea eax, [0x6e0985]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005242a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x48
ret
lea eax, [0x6a2c20]
mov dword [esp], eax
call fcn.0040bd30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x6e0a8f]
mov dword [eax], ecx
lea ecx, [0x73be18]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x48
ret
call fcn.00462ed0
jmp fcn.005b89e0