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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov dword [esp + 0x44], ecx
mov ebp, dword [esp + 0xcc]
mov ebx, dword [esp + 0xc0]
add ebx, 0x6c
mov dword [esp], ebx
call fcn.005ea3ac
mov dword [esp + 0x4c], eax
mov dword [esp], ebx
call fcn.005ea454
mov esi, eax
xor eax, eax
mov ecx, 0xffffffff
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], 0
xor ebx, ebx
mov dword [esp + 0x38], ebp
lea esi, [esi]
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x5b63cc
cmp dword [esp + 0xb4], 0xffffffff
je 0x5b59d4
xor edx, edx
mov ecx, dword [esp + 0xb8]
test ecx, ecx
je 0x5b63d3
cmp dword [esp + 0xbc], 0xffffffff
je 0x5b59b8
xor eax, eax
cmp dl, al
je 0x5b59a8
cmp ebx, dword [esp + 0x40]
jae 0x5b59a8
mov edi, dword [esp + 0x54]
test edi, edi
je 0x5b59f4
mov ebp, dword [esp + 0xc4]
or dword [ebp], 4
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret 0x20
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x5b5980
cmp ebx, dword [esp + 0x40]
jne 0x5b5980
jmp 0x5b598b
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x5b63e9
movzx eax, byte [eax]
mov dword [esp + 0xbc], eax
xor eax, eax
jmp 0x5b596e
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x5b6411
movzx eax, byte [eax]
mov dword [esp + 0xb4], eax
xor edx, edx
jmp 0x5b5953
mov edi, dword [esp + 0x38]
add edi, ebx
movsx ecx, byte [edi]
movzx ebp, cl
mov al, byte [esi + ebp + 0x11d]
test al, al
je 0x5b5aa0
cmp al, 0x25
jne 0x5b5a6c
lea edi, [ebx + 1]
mov eax, dword [esp + 0x38]
movsx ecx, byte [eax + edi]
movzx edx, cl
mov al, byte [esi + edx + 0x11d]
test al, al
je 0x5b5b40
mov dword [esp + 0x58], 0
cmp al, 0x45
je 0x5b5ac8
cmp al, 0x4f
je 0x5b5ac8
mov ebx, edi
sub eax, 0x41
cmp al, 0x38
jbe 0x5b5a60
mov edi, ebx
or dword [esp + 0x54], 4
mov ebx, edi
inc ebx
jmp 0x5b5934
movzx eax, al
jmp dword [eax*4 + 0x6a8484]
mov dl, byte [edi]
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x5b63da
mov eax, dword [esp + 0xb4]
cmp eax, 0xffffffff
je 0x5b5b10
cmp dl, al
je 0x5b5b2e
or dword [esp + 0x54], 4
inc ebx
jmp 0x5b5934
mov eax, dword [esi]
mov dword [esp + 4], 0
mov dword [esp], ecx
mov ecx, esi
call dword [eax + 0x20]
sub esp, 8
test al, al
je 0x5b5a6c
mov byte [esi + ebp + 0x11d], al
jmp 0x5b5a0f
add ebx, 2
mov edi, dword [esp + 0x38]
movsx edx, byte [edi + ebx]
movzx edi, dl
mov al, byte [esi + edi + 0x11d]
test al, al
jne 0x5b5a4a
mov eax, dword [esi]
mov dword [esp + 4], 0
mov dword [esp], edx
mov ecx, esi
call dword [eax + 0x20]
sub esp, 8
test al, al
je case.0x5b5a63.4
mov byte [esi + edi + 0x11d], al
jmp 0x5b5a4a
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x5b6431
movzx eax, byte [eax]
mov dword [esp + 0xb4], eax
cmp dl, al
jne 0x5b5a95
lea ecx, [esp + 0xb0]
call fcn.005e0d48
inc ebx
jmp 0x5b5934
mov eax, dword [esi]
mov dword [esp + 4], 0
mov dword [esp], ecx
mov ecx, esi
mov dword [esp + 0x3c], edx
call dword [eax + 0x20]
sub esp, 8
test al, al
mov edx, dword [esp + 0x3c]
jne 0x5b5b70
or dword [esp + 0x54], 4
mov ebx, edi
inc ebx
jmp 0x5b5934
mov byte [esi + edx + 0x11d], al
jmp 0x5b5a30
lea ecx, [esp + 0xb0]
call fcn.005a5860
and eax, 0xff
mov edx, dword [esi + 0x18]
test byte [edx + eax*2], 0x20
je 0x5b6340
lea ecx, [esp + 0xb0]
call fcn.005e0d48
lea edx, [esp + 0x54]
mov dword [esp + 0x24], edx
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 9
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0xc8]
add edx, 0xc
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 4]
mov eax, dword [eax]
jmp 0x5b5c59
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x1f
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0xc8]
add eax, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x44]
call fcn.005b507c
sub esp, 0x28
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
inc ebx
jmp 0x5b5934
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], eax
nop
mov ebp, dword [esp + 0xc8]
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x54]
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x44]
call fcn.005b58dc
sub esp, 0x20
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
inc ebx
jmp 0x5b5934
lea edi, [esp + 0x60]
mov dword [esp], edi
mov ecx, dword [esp + 0x4c]
call fcn.005a4ba4
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0xc8]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x44]
call fcn.005b54b4
sub esp, 0x24
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
inc ebx
jmp 0x5b5934
mov ebp, dword [esp + 0x4c]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x58]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x60]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], 7
lea eax, [esp + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc8]
add eax, 0x18
jmp 0x5b5d33
lea ecx, [esp + 0xb0]
call fcn.005a5860
and eax, 0xff
mov edx, dword [esi + 0x18]
test byte [edx + eax*2], 1
je 0x5b5a95
lea eax, [esp + 0x54]
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x14], 0x5fbc00
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x44]
call fcn.005b54b4
sub esp, 0x24
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
lea eax, [esp + 0xb8]
mov dword [esp + 4], eax
lea edx, [esp + 0xb0]
mov dword [esp], edx
call fcn.005eb1a0
test al, al
je 0x5b5a5a
mov edi, dword [esp + 0x54]
test edi, edi
jne 0x5b5a5a
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x5b5a5a
lea ecx, [esp + 0xb0]
call fcn.005a5860
mov edi, eax
mov dword [esp], 0x2d
mov ecx, esi
call fcn.005a5b44
push edx
mov ecx, edi
cmp al, cl
je 0x5b5f0a
lea ecx, [esp + 0xb0]
call fcn.005a5860
mov edi, eax
mov dword [esp], 0x2b
mov ecx, esi
call fcn.005a5b44
push ebp
mov edx, edi
cmp al, dl
jne 0x5b5a5a
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x17
mov dword [esp + 0x14], 0
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x44]
call fcn.005b507c
sub esp, 0x28
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x3b
mov dword [esp + 0x14], 0
lea edi, [esp + 0x5c]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0xb8]
mov ebp, dword [esp + 0xbc]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
jmp 0x5b5c59
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x5b5c90
lea edi, [esp + 0x60]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x6a8484
mov dword [esp], 0x6a847b
mov ecx, esi
call fcn.005a5ae0
sub esp, 0xc
mov dword [esp + 0x1c], edi
jmp 0x5b5c90
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
jmp 0x5b5c90
lea ecx, [esp + 0xb0]
call fcn.005a5860
movzx edi, al
mov dl, byte [esi + edi + 0x11d]
test dl, dl
je 0x5b639e
cmp dl, 9
jne 0x5b5a95
jmp 0x5b5b2e
lea ecx, [esp + 0xb0]
call fcn.005a5860
movzx edi, al
mov dl, byte [esi + edi + 0x11d]
test dl, dl
je 0x5b6370
cmp dl, 0xa
jne 0x5b5a95
jmp 0x5b5b2e
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x14], 1
lea eax, [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x44]
call fcn.005b507c
sub esp, 0x28
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x5b5a5a
mov eax, dword [esp + 0x58]
dec eax
mov ebp, dword [esp + 0xc8]
mov dword [ebp + 0x10], eax
inc ebx
jmp 0x5b5934
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 8]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 0x34]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x44]
mov dword [esp + 0x78], eax
lea edi, [esp + 0x54]
mov dword [esp + 0x20], edi
jmp 0x5b5dce
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x14], 0
mov ebp, dword [esp + 0xc8]
mov dword [esp + 0x10], ebp
jmp 0x5b5c35
lea edi, [esp + 0x60]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x6a847b
mov dword [esp], str._H:_M
jmp 0x5b5ff6
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x3b
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0xc8]
add eax, 4
jmp 0x5b5c31
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0xc8]
add eax, 8
jmp 0x5b5c31
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x17
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0xc8]
add eax, 8
jmp 0x5b5c31
lea edi, [esp + 0x60]
mov dword [esp + 8], edi
mov dword [esp + 4], str._H:_M
mov dword [esp], 0x6a846c
jmp 0x5b5ff6
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], 0x270f
mov dword [esp + 0x14], 0
lea eax, [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x44]
call fcn.005b507c
sub esp, 0x28
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edx
mov ebp, dword [esp + 0x54]
test ebp, ebp
jne 0x5b5a5a
mov eax, dword [esp + 0x58]
test eax, eax
js 0x5b63e1
sub eax, 0x76c
mov ebp, dword [esp + 0xc8]
mov dword [ebp + 0x14], eax
inc ebx
jmp 0x5b5934
lea edi, [esp + 0x60]
mov dword [esp], edi
mov ecx, dword [esp + 0x4c]
call fcn.005a4d60
jmp 0x5b5d09
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], ecx
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x1f
mov dword [esp + 0x14], 0xa
jmp 0x5b5c27
mov edx, dword [esi]
mov dword [esp + 4], 0
movsx eax, al
mov dword [esp], eax
mov ecx, esi
call dword [edx + 0x20]
sub esp, 8
mov dl, al
test al, al
je 0x5b5a95
mov byte [esi + edi + 0x11d], al
jmp 0x5b6066
mov edx, dword [esi]
mov dword [esp + 4], 0
movsx eax, al
mov dword [esp], eax
mov ecx, esi
call dword [edx + 0x20]
sub esp, 8
mov dl, al
test al, al
je 0x5b5a95
mov byte [esi + edi + 0x11d], al
jmp 0x5b603a
mov dl, 1
jmp 0x5b5953
mov al, 1
jmp 0x5b596e
mov al, 0xff
jmp 0x5b5a8d
add eax, 0x64
jmp 0x5b6318
mov eax, dword [ecx]
mov byte [esp + 0x3c], dl
call dword [eax + 0x24]
cmp eax, 0xffffffff
mov dl, byte [esp + 0x3c]
jne 0x5b59c7
mov dword [esp + 0xb8], 0
mov al, 1
jmp 0x5b596e
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp eax, 0xffffffff
jne 0x5b59e3
mov dword [esp + 0xb0], 0
mov dl, 1
jmp 0x5b5953
mov eax, dword [ecx]
mov byte [esp + 0x3c], dl
call dword [eax + 0x24]
cmp eax, 0xffffffff
mov dl, byte [esp + 0x3c]
jne 0x5b5b1f
mov dword [esp + 0xb0], 0
mov al, 0xff
jmp 0x5b5a8d