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

Disassembly:
push 0xffffffffffffffff
push 0x6ccb5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x38], ebx
call fcn.004a45c0
mov al, byte [esp + 0x13]
xor esi, esi
mov dword [esp + 0xa4], esi
mov byte [ebx + 8], al
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
mov cl, byte [esp + 0x13]
mov dword [ebx + 0x1c], esi
mov byte [ebx + 0x18], cl
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov dl, byte [esp + 0x13]
lea ebp, [ebx + 0x28]
mov byte [ebp], dl
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov al, byte [esp + 0x13]
mov dword [ebx + 0x3c], esi
mov byte [ebx + 0x38], al
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], esi
mov cl, byte [esp + 0x13]
mov dword [ebx + 0x4c], esi
mov byte [ebx + 0x48], cl
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x54], esi
mov dl, byte [esp + 0x13]
mov dword [ebx + 0x5c], esi
mov byte [ebx + 0x58], dl
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], esi
mov al, byte [esp + 0x13]
mov dword [ebx + 0x6c], esi
mov byte [ebx + 0x68], al
mov dword [ebx + 0x70], esi
mov dword [ebx + 0x74], esi
mov cl, byte [esp + 0x13]
mov dword [ebx + 0x7c], esi
mov byte [ebx + 0x78], cl
mov dword [ebx + 0x80], esi
mov dword [ebx + 0x84], esi
lea ecx, [ebx + 0x8c]
mov byte [esp + 0xa4], 8
call fcn.0061d780
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 9
mov dword [ebx], 0x6e20f0
call fcn.0061bb00
push 6
push 0x71e2d8
lea ecx, [esp + 0x24]
mov byte [esp + 0xac], 0xa
mov byte [esp + 0x1b], 0
call fcn.0061d820
mov ax, word [esp + 0xac]
mov byte [esp + 0xa4], 0xb
sar ax, 8
push eax
mov word [esp + 0x24], ax
push 4
lea ecx, [esp + 0x24]
call fcn.0061dbc0
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
mov dword [esp + 0x2c], ecx
mov byte [ecx], dl
call fcn.004138c0
mov edi, str.PID.db
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [esp + 0x2c]
push edi
mov dword [esp + 0x2c], edi
call fcn.00414230
test al, al
je 0x58ca32
mov eax, dword [esp + 0x28]
mov ecx, edi
mov edx, ecx
mov esi, str.PID.db
mov eax, dword [eax + 4]
mov edi, eax
mov eax, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
call fcn.00414210
xor esi, esi
lea ecx, [esp + 0x4c]
call fcn.0061bef0
movzx ax, al
cmp ax, si
je 0x58cec1
push 0xaf
push esi
lea ecx, [esp + 0x24]
call fcn.0061dbc0
push esi
push 1
lea ecx, [esp + 0x24]
call fcn.0061dbc0
push 1
push 2
lea ecx, [esp + 0x24]
call fcn.0061dbc0
push esi
push 3
lea ecx, [esp + 0x24]
call fcn.0061dbc0
mov ecx, dword [esp + 0x20]
push ecx
push 4
lea ecx, [esp + 0x24]
call fcn.0061dbc0
push esi
push 5
lea ecx, [esp + 0x24]
call fcn.0061dbc0
lea edx, [esp + 0x1c]
lea eax, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.0061c400
mov dword [esp + 0x18], eax
lea edi, [ebx + 0x38]
mov byte [esp + 0xa4], 0xc
cmp edi, eax
je 0x58cbfb
mov ecx, dword [eax + 4]
cmp ecx, esi
mov dword [esp + 0x14], ecx
jne 0x58cad1
xor edx, edx
jmp 0x58cad9
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], edx
cmp ecx, esi
jne 0x58cae8
xor ecx, ecx
jmp 0x58caf7
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
sub ecx, edx
mov edx, dword [esp + 0x20]
sar ecx, 2
cmp edx, ecx
ja 0x58cb33
mov ecx, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.00414d10
mov edx, dword [edi + 8]
add esp, 0xc
mov ecx, edi
push edx
push eax
call fcn.00413d20
mov ecx, dword [esp + 0x18]
call fcn.00647dd0
mov ecx, dword [edi + 4]
lea edx, [ecx + eax*4]
mov dword [edi + 8], edx
jmp 0x58cbfb
mov ecx, eax
call fcn.00647dd0
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.006480f0
mov ecx, dword [esp + 0x14]
cmp ecx, eax
ja 0x58cba1
mov edx, dword [esp + 0x18]
lea edi, [ebx + 0x38]
mov ecx, edi
mov eax, dword [edx + 4]
mov dword [esp + 0x14], eax
call fcn.00647dd0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [ecx + eax*4]
mov ecx, dword [edx + 4]
mov edx, dword [edi + 4]
mov dword [esp + 0x14], eax
push edx
push eax
push ecx
call fcn.00414d10
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [eax + 8]
push ecx
push eax
push edx
mov ecx, edi
call fcn.00413d50
jmp 0x58cb1c
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x3c]
lea edi, [ebx + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.00413d20
mov eax, dword [edi + 4]
push eax
call fcn.006a64d0
mov ecx, dword [esp + 0x1c]
add esp, 4
call fcn.00647dd0
cmp eax, esi
jge 0x58cbce
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [edi + 4], eax
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
push eax
push edx
push ecx
mov ecx, edi
call fcn.00413d50
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
cmp edi, eax
mov byte [esp + 0xa4], 0xb
mov dword [esp + 0x14], eax
je 0x58cc2a
push esi
mov ecx, edi
call fcn.00415c90
mov eax, dword [esp + 0x14]
add edi, 4
cmp edi, eax
jne 0x58cc13
mov edi, dword [esp + 0x2c]
push edi
call fcn.006a64d0
mov ecx, dword [ebx + 0x3c]
add esp, 4
cmp ecx, esi
jne 0x58cc42
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x58cc53
mov eax, dword [ebx + 0x40]
sub eax, ecx
sar eax, 2
cmp ax, si
mov dword [esp + 0x18], eax
jg 0x58cc58
mov byte [esp + 0x13], 1
cmp ax, si
jle 0x58ceb8
movsx eax, ax
xor edi, edi
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x50]
lea ecx, [ebx + 0x48]
add eax, edi
push eax
push 1
push edx
call fcn.00414350
mov eax, dword [esp + 0x20]
add edi, 4
dec eax
mov dword [esp + 0x20], eax
jne 0x58cc6a
mov eax, dword [esp + 0x18]
cmp ax, si
jle 0x58ceb8
movsx ecx, ax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 4]
mov eax, dword [ebp + 8]
push ecx
push eax
push eax
call fcn.00414d10
add esp, 0xc
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, ebp
push eax
push edi
call fcn.00413d20
mov edx, dword [esp + 0x18]
mov dword [ebp + 8], edi
mov eax, dword [ebx + 0x4c]
lea ecx, [esp + 0x3c]
add edx, eax
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0061c400
mov edi, eax
cmp ebp, edi
mov byte [esp + 0xa4], 0xd
je 0x58cdf4
mov ecx, dword [edi + 4]
cmp ecx, esi
jne 0x58ccfd
mov dword [esp + 0x20], esi
jmp 0x58cd09
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x20], eax
mov ecx, ebp
call fcn.00647dd0
cmp dword [esp + 0x20], eax
ja 0x58cd4b
mov edx, dword [ebp + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [ebp + 8]
add esp, 0xc
push ecx
push eax
mov ecx, ebp
call fcn.00413d20
mov ecx, edi
call fcn.00647dd0
mov edx, dword [ebp + 4]
lea eax, [edx + eax*4]
mov dword [ebp + 8], eax
jmp 0x58cdf4
mov ecx, ebp
call fcn.006480f0
mov ecx, edi
mov esi, eax
call fcn.00647dd0
cmp eax, esi
ja 0x58cda1
mov esi, dword [edi + 4]
mov ecx, ebp
call fcn.00647dd0
mov ecx, dword [ebp + 4]
lea esi, [esi + eax*4]
mov eax, dword [edi + 4]
push ecx
push esi
push eax
call fcn.00414d10
mov edx, dword [ebp + 8]
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, ebp
push edx
push eax
push esi
call fcn.00413d50
mov ecx, edi
call fcn.00647dd0
mov ecx, dword [ebp + 4]
xor esi, esi
lea edx, [ecx + eax*4]
mov dword [ebp + 8], edx
jmp 0x58cdf4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push eax
push ecx
mov ecx, ebp
call fcn.00413d20
mov eax, dword [ebp + 4]
push eax
call fcn.006a64d0
add esp, 4
mov ecx, edi
call fcn.00647dd0
xor esi, esi
cmp eax, esi
jge 0x58cdcb
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
add esp, 4
mov dword [ebp + 4], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00413d50
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
cmp edi, eax
mov byte [esp + 0xa4], 0xb
mov dword [esp + 0x20], eax
je 0x58ce23
push esi
mov ecx, edi
call fcn.00415c90
mov eax, dword [esp + 0x20]
add edi, 4
cmp edi, eax
jne 0x58ce0c
mov edi, dword [esp + 0x2c]
push edi
call fcn.006a64d0
mov ecx, dword [ebp + 4]
add esp, 4
cmp ecx, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
je 0x58ce4c
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp ax, si
jg 0x58ce51
mov byte [esp + 0x13], 1
mov edi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
cmp edi, eax
jae 0x58ce9e
push esi
mov ecx, edi
call fcn.0061daa0
push 1
mov ecx, edi
mov byte [esp + 0x28], al
call fcn.0061daa0
push 2
mov ecx, edi
mov byte [esp + 0x29], al
call fcn.0061daa0
lea ecx, [ebx + 0x78]
lea edx, [esp + 0x24]
mov byte [esp + 0x26], al
push edx
mov eax, dword [ecx + 8]
push 1
push eax
call fcn.00525fe0
mov eax, dword [ebx + 0x30]
add edi, 4
cmp edi, eax
jb 0x58ce5b
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add ecx, 4
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
jne 0x58cca4
lea ecx, [esp + 0x3c]
call fcn.0061c140
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x1c]
push eax
push 5
call fcn.0061dbc0
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x24], esp
push esi
mov byte [ebp], cl
mov ecx, ebp
call fcn.004138c0
mov edi, str.InitCmd.db
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, ebp
push edi
mov dword [esp + 0x2c], edi
call fcn.00414230
test al, al
je 0x58cf35
mov eax, dword [ebp + 4]
mov ecx, edi
mov edx, ecx
mov esi, str.InitCmd.db
mov edi, eax
mov eax, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00414210
xor esi, esi
lea ecx, [esp + 0x4c]
call fcn.0061bef0
movzx ax, al
cmp ax, si
je 0x58d0e8
push 1
push 1
lea ecx, [esp + 0x24]
call fcn.0061dbc0
push 1
push 2
lea ecx, [esp + 0x24]
call fcn.0061dbc0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.0061c400
mov ebp, eax
mov dword [esp + 0x18], ebp
lea edi, [ebx + 8]
mov byte [esp + 0xa4], 0xe
cmp edi, ebp
je 0x58d0a1
mov ecx, edi
call fcn.00647dd0
mov edx, eax
mov ecx, ebp
mov dword [esp + 0x14], edx
call fcn.00647dd0
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x58cfe2
mov edx, dword [edi + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
call fcn.00414d10
mov ecx, dword [edi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, edi
call fcn.00413d20
mov ecx, ebp
call fcn.00647dd0
mov edx, dword [edi + 4]
lea eax, [edx + eax*4]
mov dword [edi + 8], eax
jmp 0x58d0a1
mov ecx, edi
call fcn.006480f0
mov ecx, dword [esp + 0x18]
mov ebp, eax
call fcn.00647dd0
cmp eax, ebp
ja 0x58d04c
mov ebp, dword [esp + 0x18]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x14], ecx
mov ecx, edi
call fcn.00647dd0
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 4]
lea eax, [edx + eax*4]
mov edx, dword [edi + 4]
push edx
push eax
push ecx
mov dword [esp + 0x20], eax
call fcn.00414d10
mov ecx, dword [edi + 8]
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push eax
push edx
mov ecx, edi
call fcn.00413d50
mov ecx, ebp
call fcn.00647dd0
mov ecx, dword [edi + 4]
lea edx, [ecx + eax*4]
mov dword [edi + 8], edx
jmp 0x58d0a1
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, edi
call fcn.00413d20
mov eax, dword [edi + 4]
push eax
call fcn.006a64d0
mov ebp, dword [esp + 0x1c]
add esp, 4
mov ecx, ebp
call fcn.00647dd0
cmp eax, esi
jge 0x58d078
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.006a6832
add esp, 4
mov dword [edi + 4], eax
mov ecx, dword [ebp + 8]
mov ebp, dword [ebp + 4]
push eax
push ecx
push ebp
mov ecx, edi
call fcn.00413d50
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0xac], 0xb
call fcn.00413d20
mov edx, dword [esp + 0x2c]
push edx
call fcn.006a64d0
mov eax, dword [edi + 4]
add esp, 4
cmp eax, esi
je 0x58d0da
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
jne 0x58d0df
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x3c]
call fcn.0061c140
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x24], esp
push esi
mov ecx, ebp
mov byte [ebp], dl
call fcn.004138c0
mov edi, str.DataItemList.db
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.DataItemList.db
mov ecx, ebp
call fcn.00414050
lea ecx, [esp + 0x4c]
call fcn.0061bef0
movzx ax, al
cmp ax, si
je 0x58d191
push 2
push 2
lea ecx, [esp + 0x24]
call fcn.0061dbc0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.0061c400
lea edi, [ebx + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0xa8], 0xf
call fcn.00413460
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0xb
call fcn.00413420
mov eax, dword [edi + 4]
cmp eax, esi
je 0x58d183
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 2
jne 0x58d188
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x3c]
call fcn.0061c140
mov al, byte [esp + 0x13]
test al, al
je 0x58d1de
push esi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x7133ac
call fcn.0061d820
push ecx
mov byte [esp + 0xb4], 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x7133a4
call fcn.0061d820
mov ecx, 0x72bae0
mov byte [esp + 0xb4], 0xb
call fcn.0061ef70
jmp 0x58d1e5
mov ecx, ebx
call fcn.0058bce0
mov ax, word [esp + 0xac]
lea ecx, [esp + 0x1c]
mov word [ebx + 0x88], ax
mov byte [esp + 0xa4], 0xa
call fcn.0061d8c0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 9
call fcn.0061bc60
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 4