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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5b9fc8
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, dword [ecx + 0x18]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5b9bb8
xor edx, edx
jmp 0x5b9bcb
movzx edx, byte [eax]
test dl, dl
je 0x5b9bc6
mov edx, 0xffffffff
jmp 0x5b9bcb
mov edx, 1
test edx, edx
jl 0x5b9bf8
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5b9be1
xor ebx, ebx
jmp 0x5b9bf4
movzx ebx, byte [edx]
test bl, bl
je 0x5b9bef
mov ebx, 0xffffffff
jmp 0x5b9bf4
mov ebx, 1
test ebx, ebx
jge 0x5b9c3c
lea eax, [0x6b6b60]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x6feb17]
mov dword [eax], ecx
mov dword [esp + 0x84], 0
lea ecx, [0x762e24]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x70
ret
mov edx, dword [esp + 4]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.0053b360
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x5b9d67
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0053b360
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x5b9d67
lea ecx, [0x6a71a0]
mov dword [esp], ecx
lea ecx, [eax + 7]
sar ecx, 0x1f
shr ecx, 0x1d
lea eax, [ecx + eax + 7]
sar eax, 3
mov dword [esp + 0x2c], eax
shl eax, 1
mov dword [esp + 0x3c], eax
lea edx, [eax + 1]
mov dword [esp + 0x30], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0046c600
mov edx, dword [esp + 0x30]
test edx, edx
jbe 0x5b9fbe
mov ebx, dword [esp + 0xc]
mov byte [ebx], 4
mov ecx, dword [esp + 0x2c]
lea ebp, [ecx + 1]
cmp ebp, edx
ja 0x5b9fb7
cmp ebp, 1
jb 0x5b9fab
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x3c]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add esi, ebx
test ecx, ecx
je 0x5b9d43
mov dword [esp + 0x68], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.00471f80
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
mov eax, ebx
mov ebx, dword [esp + 0x7c]
mov edx, dword [ebx + 4]
mov dword [esp + 0x60], edx
mov ebx, dword [ebx + 8]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
jmp 0x5b9dc2
lea eax, [0x6b6b60]
mov dword [esp], eax
call fcn.0040c000
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x16
lea ecx, [0x700889]
mov dword [eax], ecx
mov dword [esp + 0x84], 0
lea ecx, [0x762e24]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x70
ret
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x58]
cmp ebp, ebx
jge 0x5b9de0
mov eax, dword [edx + ebp*4]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
jmp 0x5b9f5e
test ecx, ecx
jge 0x5b9de6
xor ecx, ecx
mov ebx, dword [esp + 0x2c]
jmp 0x5b9ded
inc ecx
cmp ecx, ebx
jge 0x5b9e01
jae 0x5b9f3d
movzx ebp, byte [ecx + esi]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b9dec
sub edi, ebx
mov ecx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
mov ebx, dword [esp + 0x38]
and edi, ebx
lea ebx, [edi + eax]
test ecx, ecx
je 0x5b9e3b
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x64], ebx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00471f80
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x80]
mov esi, dword [ebp + 4]
mov dword [esp + 0x5c], esi
mov ebp, dword [ebp + 8]
mov dword [esp + 0x1c], ebp
mov edx, ecx
xor edi, edi
jmp 0x5b9e5f
inc edi
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x6c]
cmp edi, ebp
jge 0x5b9e79
mov eax, dword [esi + edi*4]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
jmp 0x5b9efa
test ecx, ecx
jge 0x5b9e82
xor ecx, ecx
jmp 0x5b9e82
inc ecx
cmp ecx, edx
jge 0x5b9e92
jae 0x5b9edd
movzx ebp, byte [ecx + ebx]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5b9e81
mov eax, dword [esp + 0x74]
mov edx, dword [eax]
mov eax, dword [edx]
call eax
mov edx, dword [esp + 0x78]
mov eax, dword [edx]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
add esp, 0x70
ret
mov eax, ecx
mov ecx, edx
call fcn.00471840
lea ecx, [esi + 1]
shr eax, 8
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x24], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
cmp esi, 4
jge 0x5b9e56
lea ebp, [ecx - 1]
test ebp, ebp
jl 0x5b9f18
cmp edx, ebp
jbe 0x5b9f34
mov byte [ecx + ebx - 1], al
jmp 0x5b9ee6
test al, al
je 0x5b9ee6
lea eax, [0x6a7120]
mov dword [esp], eax
lea eax, [0x7628e0]
mov dword [esp + 4], eax
call fcn.0046aeb0
mov eax, ebp
mov ecx, edx
call fcn.00471840
mov eax, ecx
mov ecx, ebx
call fcn.00471840
lea ecx, [edi + 1]
shr eax, 8
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, edx
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x28]
cmp edi, 4
jge 0x5b9dab
lea edx, [ecx - 1]
test edx, edx
jl 0x5b9f80
mov ebx, dword [esp + 0x2c]
cmp ebx, edx
jbe 0x5b9fa2
mov byte [ecx + esi - 1], al
jmp 0x5b9f46
test al, al
jne 0x5b9f8a
mov ebx, dword [esp + 0x2c]
jmp 0x5b9f46
lea eax, [0x6a7120]
mov dword [esp], eax
lea eax, [0x7628e0]
mov dword [esp + 4], eax
call fcn.0046aeb0
mov eax, edx
mov ecx, ebx
call fcn.00471840
mov eax, 1
xor ecx, ecx
call fcn.004718a0
mov ecx, ebp
call fcn.00471880
xor eax, eax
mov ecx, eax
call fcn.00471840
nop
call fcn.004703c0
jmp fcn.005b9b80