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

Disassembly:
push 0xffffffffffffffff
push 0x6bf21c
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.00497230
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.0060fe70
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 9
mov dword [ebx], 0x6d37b8
call fcn.0060e1f0
push 6
push 0x70e164
lea ecx, [esp + 0x24]
mov byte [esp + 0xac], 0xa
mov byte [esp + 0x1b], 0
call fcn.0060ff10
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.006102b0
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.004138a0
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.00414210
test al, al
je 0x5a2512
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.004141f0
xor esi, esi
lea ecx, [esp + 0x4c]
call fcn.0060e5e0
movzx ax, al
cmp ax, si
je 0x5a29a1
push 0xaf
push esi
lea ecx, [esp + 0x24]
call fcn.006102b0
push esi
push 1
lea ecx, [esp + 0x24]
call fcn.006102b0
push 1
push 2
lea ecx, [esp + 0x24]
call fcn.006102b0
push esi
push 3
lea ecx, [esp + 0x24]
call fcn.006102b0
mov ecx, dword [esp + 0x20]
push ecx
push 4
lea ecx, [esp + 0x24]
call fcn.006102b0
push esi
push 5
lea ecx, [esp + 0x24]
call fcn.006102b0
lea edx, [esp + 0x1c]
lea eax, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.0060eaf0
mov dword [esp + 0x18], eax
lea edi, [ebx + 0x38]
mov byte [esp + 0xa4], 0xc
cmp edi, eax
je 0x5a26db
mov ecx, dword [eax + 4]
cmp ecx, esi
mov dword [esp + 0x14], ecx
jne 0x5a25b1
xor edx, edx
jmp 0x5a25b9
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 0x5a25c8
xor ecx, ecx
jmp 0x5a25d7
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 0x5a2613
mov ecx, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.00414b20
mov edx, dword [edi + 8]
add esp, 0xc
mov ecx, edi
push edx
push eax
call fcn.00413d00
mov ecx, dword [esp + 0x18]
call fcn.00639f30
mov ecx, dword [edi + 4]
lea edx, [ecx + eax*4]
mov dword [edi + 8], edx
jmp 0x5a26db
mov ecx, eax
call fcn.00639f30
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
call fcn.0063a250
mov ecx, dword [esp + 0x14]
cmp ecx, eax
ja 0x5a2681
mov edx, dword [esp + 0x18]
lea edi, [ebx + 0x38]
mov ecx, edi
mov eax, dword [edx + 4]
mov dword [esp + 0x14], eax
call fcn.00639f30
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.00414b20
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.00413d30
jmp 0x5a25fc
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x3c]
lea edi, [ebx + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.00413d00
mov eax, dword [edi + 4]
push eax
call fcn.00697880
mov ecx, dword [esp + 0x1c]
add esp, 4
call fcn.00639f30
cmp eax, esi
jge 0x5a26ae
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
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.00413d30
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 0x5a270a
push esi
mov ecx, edi
call fcn.00415aa0
mov eax, dword [esp + 0x14]
add edi, 4
cmp edi, eax
jne 0x5a26f3
mov edi, dword [esp + 0x2c]
push edi
call fcn.00697880
mov ecx, dword [ebx + 0x3c]
add esp, 4
cmp ecx, esi
jne 0x5a2722
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x5a2733
mov eax, dword [ebx + 0x40]
sub eax, ecx
sar eax, 2
cmp ax, si
mov dword [esp + 0x18], eax
jg 0x5a2738
mov byte [esp + 0x13], 1
cmp ax, si
jle 0x5a2998
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.00414330
mov eax, dword [esp + 0x20]
add edi, 4
dec eax
mov dword [esp + 0x20], eax
jne 0x5a274a
mov eax, dword [esp + 0x18]
cmp ax, si
jle 0x5a2998
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.00414b20
add esp, 0xc
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, ebp
push eax
push edi
call fcn.00413d00
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.0060eaf0
mov edi, eax
cmp ebp, edi
mov byte [esp + 0xa4], 0xd
je 0x5a28d4
mov ecx, dword [edi + 4]
cmp ecx, esi
jne 0x5a27dd
mov dword [esp + 0x20], esi
jmp 0x5a27e9
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x20], eax
mov ecx, ebp
call fcn.00639f30
cmp dword [esp + 0x20], eax
ja 0x5a282b
mov edx, dword [ebp + 4]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [ebp + 8]
add esp, 0xc
push ecx
push eax
mov ecx, ebp
call fcn.00413d00
mov ecx, edi
call fcn.00639f30
mov edx, dword [ebp + 4]
lea eax, [edx + eax*4]
mov dword [ebp + 8], eax
jmp 0x5a28d4
mov ecx, ebp
call fcn.0063a250
mov ecx, edi
mov esi, eax
call fcn.00639f30
cmp eax, esi
ja 0x5a2881
mov esi, dword [edi + 4]
mov ecx, ebp
call fcn.00639f30
mov ecx, dword [ebp + 4]
lea esi, [esi + eax*4]
mov eax, dword [edi + 4]
push ecx
push esi
push eax
call fcn.00414b20
mov edx, dword [ebp + 8]
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, ebp
push edx
push eax
push esi
call fcn.00413d30
mov ecx, edi
call fcn.00639f30
mov ecx, dword [ebp + 4]
xor esi, esi
lea edx, [ecx + eax*4]
mov dword [ebp + 8], edx
jmp 0x5a28d4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push eax
push ecx
mov ecx, ebp
call fcn.00413d00
mov eax, dword [ebp + 4]
push eax
call fcn.00697880
add esp, 4
mov ecx, edi
call fcn.00639f30
xor esi, esi
cmp eax, esi
jge 0x5a28ab
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
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.00413d30
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 0x5a2903
push esi
mov ecx, edi
call fcn.00415aa0
mov eax, dword [esp + 0x20]
add edi, 4
cmp edi, eax
jne 0x5a28ec
mov edi, dword [esp + 0x2c]
push edi
call fcn.00697880
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 0x5a292c
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp ax, si
jg 0x5a2931
mov byte [esp + 0x13], 1
mov edi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x30]
cmp edi, eax
jae 0x5a297e
push esi
mov ecx, edi
call fcn.00610190
push 1
mov ecx, edi
mov byte [esp + 0x28], al
call fcn.00610190
push 2
mov ecx, edi
mov byte [esp + 0x29], al
call fcn.00610190
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.00518620
mov eax, dword [ebx + 0x30]
add edi, 4
cmp edi, eax
jb 0x5a293b
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 0x5a2784
lea ecx, [esp + 0x3c]
call fcn.0060e830
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x1c]
push eax
push 5
call fcn.006102b0
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.004138a0
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.00414210
test al, al
je 0x5a2a15
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.004141f0
xor esi, esi
lea ecx, [esp + 0x4c]
call fcn.0060e5e0
movzx ax, al
cmp ax, si
je 0x5a2bc8
push 1
push 1
lea ecx, [esp + 0x24]
call fcn.006102b0
push 1
push 2
lea ecx, [esp + 0x24]
call fcn.006102b0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.0060eaf0
mov ebp, eax
mov dword [esp + 0x18], ebp
lea edi, [ebx + 8]
mov byte [esp + 0xa4], 0xe
cmp edi, ebp
je 0x5a2b81
mov ecx, edi
call fcn.00639f30
mov edx, eax
mov ecx, ebp
mov dword [esp + 0x14], edx
call fcn.00639f30
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x5a2ac2
mov edx, dword [edi + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push edx
push eax
push ecx
call fcn.00414b20
mov ecx, dword [edi + 8]
add esp, 0xc
push ecx
push eax
mov ecx, edi
call fcn.00413d00
mov ecx, ebp
call fcn.00639f30
mov edx, dword [edi + 4]
lea eax, [edx + eax*4]
mov dword [edi + 8], eax
jmp 0x5a2b81
mov ecx, edi
call fcn.0063a250
mov ecx, dword [esp + 0x18]
mov ebp, eax
call fcn.00639f30
cmp eax, ebp
ja 0x5a2b2c
mov ebp, dword [esp + 0x18]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x14], ecx
mov ecx, edi
call fcn.00639f30
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.00414b20
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.00413d30
mov ecx, ebp
call fcn.00639f30
mov ecx, dword [edi + 4]
lea edx, [ecx + eax*4]
mov dword [edi + 8], edx
jmp 0x5a2b81
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
mov ecx, edi
call fcn.00413d00
mov eax, dword [edi + 4]
push eax
call fcn.00697880
mov ebp, dword [esp + 0x1c]
add esp, 4
mov ecx, ebp
call fcn.00639f30
cmp eax, esi
jge 0x5a2b58
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00697be2
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.00413d30
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.00413d00
mov edx, dword [esp + 0x2c]
push edx
call fcn.00697880
mov eax, dword [edi + 4]
add esp, 4
cmp eax, esi
je 0x5a2bba
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
jne 0x5a2bbf
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x3c]
call fcn.0060e830
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.004138a0
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.00414030
lea ecx, [esp + 0x4c]
call fcn.0060e5e0
movzx ax, al
cmp ax, si
je 0x5a2c71
push 2
push 2
lea ecx, [esp + 0x24]
call fcn.006102b0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.0060eaf0
lea edi, [ebx + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0xa8], 0xf
call fcn.00413430
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0xb
call fcn.004133f0
mov eax, dword [edi + 4]
cmp eax, esi
je 0x5a2c63
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 2
jne 0x5a2c68
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x3c]
call fcn.0060e830
mov al, byte [esp + 0x13]
test al, al
je 0x5a2cbe
push esi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 6
push 0x7033ac
call fcn.0060ff10
push ecx
mov byte [esp + 0xb4], 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x7033a4
call fcn.0060ff10
mov ecx, 0x71b930
mov byte [esp + 0xb4], 0xb
call fcn.006115e0
jmp 0x5a2cc5
mov ecx, ebx
call fcn.0057a720
mov ax, word [esp + 0xac]
lea ecx, [esp + 0x1c]
mov word [ebx + 0x88], ax
mov byte [esp + 0xa4], 0xa
call fcn.0060ffb0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa4], 9
call fcn.0060e350
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