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

Disassembly:
push 0xffffffffffffffff
push 0x1008f88f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov eax, dword [0x100ba4f0]
push ebx
push ebp
push esi
mov ebp, 0xf
xor esi, esi
mov dword [esp + 0xc0], eax
push edi
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], esi
mov byte [esp + 0xac], 0
mov edi, dword [esp + 0xd8]
mov eax, edi
mov dword [esp + 0xd0], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], esi
mov byte [esp + 0x58], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10058928
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x5c]
call fcn.10007f20
mov ecx, dword [esp + 0xdc]
mov eax, ecx
mov dword [esp + 0x30], esi
mov byte [esp + 0xd0], 1
mov dword [esp + 0x34], ebp
mov byte [esp + 0x20], 0
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10058960
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.10007f20
cmp dword [esp + 0x68], 2
mov byte [esp + 0xd0], 2
mov bl, 0x3a
mov esi, 0x10
jb 0x10058a00
cmp dword [esp + 0x6c], esi
mov eax, dword [esp + 0x58]
jae 0x10058998
lea eax, [esp + 0x58]
cmp byte [eax + 1], bl
jne 0x10058a00
cmp dword [esp + 0x34], esi
jb 0x100589b0
mov eax, dword [esp + 0x20]
push eax
call fcn.100788bb
add esp, 4
mov eax, dword [esp + 0x6c]
xor ebx, ebx
cmp eax, esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x100589d3
mov ecx, dword [esp + 0x58]
push ecx
call fcn.100788bb
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], 0
jb 0x100589f9
mov edx, dword [esp + 0xac]
push edx
call fcn.100788bb
add esp, 4
mov eax, edi
jmp 0x100590e4
push 1
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x20], 0x2f
mov byte [esp + 0x1c], 0x5c
call fcn.1002caf0
cmp eax, 0xffffffff
jne 0x10058a3d
push 1
push 0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0x5c
call fcn.1002caf0
cmp eax, 0xffffffff
je 0x10058a42
mov byte [esp + 0x14], 0x5c
mov ecx, dword [esp + 0x30]
cmp ecx, 2
jb 0x10058ad9
cmp dword [esp + 0x34], esi
mov eax, dword [esp + 0x20]
jae 0x10058a5d
lea eax, [esp + 0x20]
cmp byte [eax + 1], bl
jne 0x10058ad9
push 2
push 0
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x28]
call fcn.1002d050
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xdc], 3
call fcn.10007df0
cmp dword [esp + 0x50], esi
mov byte [esp + 0xd0], 2
jb 0x10058aa8
mov eax, dword [esp + 0x3c]
push eax
call fcn.100788bb
add esp, 4
mov edx, dword [esp + 0x34]
cmp edx, esi
mov eax, dword [esp + 0x20]
mov ecx, eax
jae 0x10058aba
lea ecx, [esp + 0x20]
add ecx, 2
cmp edx, esi
jae 0x10058ac5
lea eax, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
call fcn.100586d0
mov ecx, dword [esp + 0x30]
test ecx, ecx
jbe 0x10058b17
mov edx, dword [esp + 0x34]
cmp edx, esi
mov eax, dword [esp + 0x20]
jae 0x10058aed
lea eax, [esp + 0x20]
cmp byte [ecx + eax - 1], 0x5c
je 0x10058b17
cmp edx, esi
mov eax, dword [esp + 0x20]
jae 0x10058b00
lea eax, [esp + 0x20]
cmp byte [ecx + eax - 1], 0x2f
je 0x10058b17
mov edx, dword [esp + 0x14]
push edx
push 1
lea ecx, [esp + 0x24]
call fcn.1000a7e0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], 0
mov byte [esp + 0x9c], 0
call fcn.10007df0
mov eax, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0xd0], 4
je 0x10058f0a
lea ebx, [ebx]
push 1
push 0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0x1c], 0x5c
call fcn.1002caf0
push 1
push 0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x98]
mov esi, eax
mov byte [esp + 0x1c], 0x2f
call fcn.1002caf0
cmp esi, 0xffffffff
je 0x10058ba4
cmp eax, 0xffffffff
je 0x10058ba6
cmp eax, esi
jge 0x10058ba6
mov esi, eax
cmp esi, 0xffffffff
je 0x10058f0a
push esi
push 0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x98]
call fcn.1002d050
mov eax, dword [esp + 0xa4]
cmp eax, 0x10
mov edi, dword [esp + 0x90]
mov byte [esp + 0xd0], 5
mov ecx, edi
jae 0x10058be7
lea ecx, [esp + 0x90]
cmp eax, 0x10
lea ecx, [ecx + esi + 1]
mov edx, edi
jae 0x10058c03
lea edx, [esp + 0x90]
mov esi, edx
test edx, edx
jne 0x10058c07
xor eax, eax
jmp 0x10058c0b
mov esi, edi
jmp 0x10058bfb
mov eax, edx
sub eax, esi
test ecx, ecx
je 0x10058c11
sub ecx, edx
push ecx
push eax
lea ecx, [esp + 0x94]
call fcn.10006d40
mov edx, dword [esp + 0x84]
test edx, edx
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
je 0x10058deb
cmp edx, 2
mov ecx, edx
jb 0x10058c45
mov ecx, 2
cmp ebp, 0x10
mov esi, ebx
jae 0x10058c50
lea esi, [esp + 0x74]
mov edi, 0x10093b18
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10058c60
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10058dc6
cmp edx, 2
jb 0x10058dc6
cmp edx, 2
setne al
test eax, eax
jne 0x10058dc6
mov ecx, dword [esp + 0x30]
lea ebp, [ecx - 1]
test ebp, ebp
jle 0x10058cbb
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
cmp esi, 0x10
mov eax, edx
jae 0x10058c9d
lea eax, [esp + 0x20]
cmp byte [eax + ebp - 1], 0x5c
je 0x10058cbb
cmp esi, 0x10
mov eax, edx
jae 0x10058caf
lea eax, [esp + 0x20]
cmp byte [eax + ebp - 1], 0x2f
je 0x10058cbb
dec ebp
test ebp, ebp
jg 0x10058c92
sub ecx, ebp
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.1002d050
mov eax, dword [esp + 0x4c]
test eax, eax
mov byte [esp + 0xd0], 6
je 0x10058d3e
cmp eax, 2
mov ecx, eax
jb 0x10058cea
mov ecx, 2
cmp dword [esp + 0x50], 0x10
mov esi, dword [esp + 0x3c]
jae 0x10058cf9
lea esi, [esp + 0x3c]
mov edi, 0x10093b18
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x10058d09
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x10058d3e
cmp eax, 2
jb 0x10058d3e
cmp eax, 2
setne dl
test edx, edx
jne 0x10058d3e
push 2
push 0x10093b18
lea ecx, [esp + 0x24]
call fcn.1000a8b0
mov edx, dword [esp + 0x14]
push edx
push 1
lea ecx, [esp + 0x24]
call fcn.1000a7e0
jmp 0x10058d90
mov eax, dword [esp + 0x34]
cmp eax, 0x10
mov esi, dword [esp + 0x20]
mov ecx, esi
jae 0x10058d51
lea ecx, [esp + 0x20]
mov edx, dword [esp + 0x30]
add edx, ecx
cmp eax, 0x10
mov ecx, esi
jae 0x10058d62
lea ecx, [esp + 0x20]
add ecx, ebp
cmp eax, 0x10
jae 0x10058d6d
lea esi, [esp + 0x20]
test ecx, ecx
jne 0x10058d75
xor eax, eax
jmp 0x10058d79
mov eax, ecx
sub eax, esi
test edx, edx
jne 0x10058d81
xor ecx, ecx
jmp 0x10058d85
sub edx, ecx
mov ecx, edx
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.10006d40
cmp dword [esp + 0x50], 0x10
jb 0x10058da4
mov eax, dword [esp + 0x3c]
push eax
call fcn.100788bb
add esp, 4
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
jmp 0x10058e3c
test edx, edx
je 0x10058deb
cmp ebp, 0x10
mov esi, ebx
jae 0x10058dd5
lea esi, [esp + 0x74]
xor ecx, ecx
mov edi, 0x10090a11
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10058de7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10058dfa
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x10058e7e
test edx, edx
je 0x10058ea5
cmp edx, 1
mov ecx, edx
jb 0x10058e0e
mov ecx, 1
cmp ebp, 0x10
mov esi, ebx
jae 0x10058e19
lea esi, [esp + 0x74]
mov edi, 0x10093b14
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10058e29
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10058ea5
cmp edx, 1
jb 0x10058ea5
cmp edx, 1
setne al
test eax, eax
jne 0x10058ea5
cmp ebp, 0x10
mov byte [esp + 0xd0], 4
jb 0x10058e52
push ebx
call fcn.100788bb
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
jne 0x10058b60
jmp 0x10058f0a
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.10058730
cmp dword [esp + 0x88], 0x10
mov byte [esp + 0xd0], 4
jb 0x10058f0a
mov edx, dword [esp + 0x74]
push edx
jmp 0x10058f02
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.10058780
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 7
call fcn.1000a9c0
mov eax, dword [esp + 0x50]
mov esi, 0x10
cmp eax, esi
jb 0x10058eec
mov eax, dword [esp + 0x3c]
push eax
call fcn.100788bb
add esp, 4
cmp dword [esp + 0x88], esi
mov byte [esp + 0xd0], 4
jb 0x10058f0a
mov ecx, dword [esp + 0x74]
push ecx
call fcn.100788bb
add esp, 4
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.10058820
lea edx, [esp + 0x98]
push edx
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0xe8], 8
call fcn.10058820
add esp, 0x18
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 9
call fcn.10007df0
mov eax, dword [esp + 0x50]
mov ebx, 0x10
cmp eax, ebx
jb 0x10058f70
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.100788bb
add esp, 4
cmp dword [esp + 0x88], ebx
mov ebp, 0xf
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
jb 0x10058f98
mov edx, dword [esp + 0x74]
push edx
call fcn.100788bb
add esp, 4
cmp byte [esp + 0x14], 0x2f
push 1
lea ecx, [esp + 0x20]
push edi
jne 0x10058fef
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1c], 0x5c
call fcn.1002caf0
cmp eax, 0xffffffff
je 0x10059030
lea ebx, [ebx]
cmp dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
jae 0x10058fce
lea ecx, [esp + 0x20]
push 1
mov byte [ecx + eax], 0x2f
push edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0x5c
call fcn.1002caf0
cmp eax, 0xffffffff
jne 0x10058fc0
jmp 0x10059030
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x1c], 0x2f
call fcn.1002caf0
cmp eax, 0xffffffff
je 0x10059030
cmp dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
jae 0x10059011
lea ecx, [esp + 0x20]
push 1
mov byte [ecx + eax], 0x5c
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0x2f
call fcn.1002caf0
cmp eax, 0xffffffff
jne 0x10059003
mov esi, dword [esp + 0xe0]
cmp esi, edi
je 0x1005905a
cmp dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
jae 0x10059049
lea ecx, [esp + 0x20]
mov edx, esi
jmp 0x10059050
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x10059050
cmp dword [esp + 0xa4], ebx
jb 0x10059073
mov ecx, dword [esp + 0x90]
push ecx
call fcn.100788bb
add esp, 4
cmp dword [esp + 0x34], ebx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], edi
mov byte [esp + 0x90], 0
jb 0x1005909c
mov edx, dword [esp + 0x20]
push edx
call fcn.100788bb
add esp, 4
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
jb 0x100590bc
mov eax, dword [esp + 0x58]
push eax
call fcn.100788bb
add esp, 4
cmp dword [esp + 0xc0], ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], edi
mov byte [esp + 0x58], 0
jb 0x100590e2
mov ecx, dword [esp + 0xac]
push ecx
call fcn.100788bb
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xb8]
pop ebx
call fcn.10043e9e
add esp, 0xc4
ret 0xc