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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [ebp + 0xc]
mov eax, dword [0x7aa024]
xor eax, ebp
mov dword [esp + 0xe8], eax
xor esi, esi
push esi
call fcn.006f51f0
add esp, 4
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x70]
movdqa xmmword [ecx + 0x60], xmm0
movdqa xmmword [ecx + 0x50], xmm0
movdqa xmmword [ecx + 0x40], xmm0
movdqa xmmword [ecx + 0x30], xmm0
movdqa xmmword [ecx + 0x20], xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
push esi
call fcn.006f9fd0
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [edi]
mov esi, dword [eax + 0x48]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
test eax, eax
je 0x594de8
xor eax, eax
dec eax
lea edi, [esp + 0x34]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [section..00cfg]
mov ecx, dword [ebp + 0xc]
push edi
call esi
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x18], ecx
cmp eax, ecx
je 0x594d6b
mov dword [esp + 8], eax
mov esi, dword [eax]
xor eax, eax
dec eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x34]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
lea eax, [esp + 0x28]
push eax
call ebx
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
cmp ebx, esi
je 0x594c82
push str.ActivityTrackerLocation
call fcn.0066b230
add esp, 4
movzx ecx, byte [ebx + 0xb]
test cl, cl
jns 0x594bc8
mov ecx, dword [ebx + 4]
cmp eax, ecx
jne 0x594c6c
mov ecx, ebx
push eax
push str.ActivityTrackerLocation
push 0xffffffffffffffff
push 0
call fcn.005df300
test eax, eax
jne 0x594c6c
movzx eax, word [ebx + 0xc]
cmp eax, 0x8bab
jne 0x594c6c
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
sub ecx, eax
cmp ecx, 0x10
jne 0x594c6c
mov edx, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov ecx, 0x200000
cmp ecx, edi
mov ecx, 0
mov dword [esp + 0xc], edx
sbb ecx, edx
jb 0x594c6c
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x6c], 0
lea eax, [esp + 0x6c]
push eax
push edi
call fcn.0054faa0
add esp, 8
test al, al
je 0x594c6c
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x594c6c
push 1
push 0
push edi
mov dword [esp + 0x1c], eax
push eax
call fcn.006c6eb0
add esp, 0x10
test al, al
jne 0x594cd8
push dword [esp + 0x10]
call fcn.005f2b80
add esp, 4
add ebx, 0x1c
cmp ebx, esi
jne 0x594bb0
mov al, 1
mov ebx, dword [esp + 0x28]
mov edi, dword [ebp + 0xc]
jmp 0x594c84
mov al, 1
test ebx, ebx
je 0x594cba
mov esi, dword [esp + 0x2c]
mov edi, eax
cmp esi, ebx
je 0x594ca6
add esi, 0xffffffe4
mov ecx, esi
call fcn.006ff600
cmp esi, ebx
jne 0x594c92
mov eax, dword [esp + 0x28]
jmp 0x594ca8
mov eax, ebx
mov dword [esp + 0x2c], ebx
push eax
call fcn.0064cd6e
add esp, 4
mov eax, edi
mov edi, dword [ebp + 0xc]
test al, al
je 0x594d73
mov eax, dword [esp + 8]
add eax, 4
cmp eax, dword [esp + 0x18]
jne 0x594b75
jmp 0x594d6b
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov esi, dword [eax + 0x48]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
mov ecx, eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push edi
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.006fdba0
test al, al
je 0x594d50
push 0x28
call fcn.0064cd3e
add esp, 4
mov esi, eax
xor eax, eax
mov ecx, esi
push 1
push eax
push 0x743187
push eax
push eax
push eax
push edi
push dword [esp + 0x2c]
call fcn.006c6f00
mov dword [esi], 0x740f6c
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.006fe230
xor eax, eax
add esp, 8
jmp 0x594c79
mov dword [esp + 0x20], 0
push dword [esp + 0x10]
call fcn.005f2b80
add esp, 4
xor eax, eax
jmp 0x594c79
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x594d88
mov dword [esp + 0x38], eax
push eax
call fcn.0064cd6e
add esp, 4
cmp dword [esp + 0x20], 0
je 0x594e03
push 7
call fcn.006f51f0
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test eax, eax
je 0x594df2
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.005b6b20
add esp, 8
mov esi, eax
push 0xb
push eax
push str.ActivityTracker.CollectCrash.Status
call fcn.005e9220
add esp, 0xc
cmp esi, 1
jne 0x594e03
push 3
call fcn.006f51f0
add esp, 4
mov al, 1
mov dword [esp + 8], eax
jmp 0x594e0b
mov dword [esp + 0x20], 0
jmp 0x594e03
push 0xb
push 2
push str.ActivityTracker.CollectCrash.Status
call fcn.005e9220
add esp, 0xc
mov dword [esp + 8], 0
pxor xmm0, xmm0
lea ecx, [esp + 0x34]
movdqu xmmword [ecx + 0x24], xmm0
movdqu xmmword [ecx + 0x14], xmm0
movdqu xmmword [ecx + 4], xmm0
mov dword [ecx + 0x34], 0
mov eax, 0x38
mov dword [ecx], eax
push eax
push ecx
call sub.KERNEL32.dll_K32GetPerformanceInfo
test eax, eax
je 0x594ecc
or byte [esp + 0x78], 2
mov edi, dword [esp + 0xcc]
test edi, edi
jne 0x594e71
mov ecx, dword [esp + 0x74]
mov eax, ecx
and eax, 0xfffffffe
test cl, 1
je 0x594e5f
mov eax, dword [eax]
push eax
call fcn.006fab40
add esp, 4
mov edi, eax
mov dword [esp + 0xcc], eax
or byte [edi + 8], 1
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x594e97
mov ecx, dword [edi + 4]
mov eax, ecx
and eax, 0xfffffffe
test cl, 1
je 0x594e8b
mov eax, dword [eax]
push eax
call fcn.006faaf0
add esp, 4
mov dword [edi + 0x10], eax
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
mov esi, ecx
or esi, 1
mov dword [eax + 8], esi
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x38]
mov esi, ecx
or esi, 3
mov dword [eax + 8], esi
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x60]
or ecx, 7
mov dword [eax + 8], ecx
mov dword [eax + 0x18], edx
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
test eax, eax
je 0x595108
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x8c]
test ecx, ecx
jle 0x594f33
xor edi, edi
mov ebx, dword [eax + edi*4 + 4]
mov edx, dword [ebx + 8]
test dl, 2
je 0x594f2e
mov esi, dword [ebx + 0x50]
xor esi, dword [esp + 0xc]
or esi, dword [ebx + 0x54]
je 0x5951e3
inc edi
cmp ecx, edi
jne 0x594f12
test eax, eax
je 0x594f4d
mov edx, dword [eax]
cmp ecx, edx
jge 0x594f56
lea edx, [ecx + 1]
mov dword [esp + 0x84], edx
mov ebx, dword [eax + ecx*4 + 4]
jmp 0x594fa4
mov edx, dword [esp + 0x88]
jmp 0x594f5f
cmp edx, dword [esp + 0x88]
jne 0x594f74
lea edi, [esp + 0x80]
inc edx
mov ecx, edi
push edx
call fcn.0058ae80
mov eax, dword [edi + 0xc]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
push dword [esp + 0x80]
call fcn.006faa70
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x8c]
lea edx, [eax + 1]
mov dword [esp + 0x84], edx
mov dword [ecx + eax*4 + 4], ebx
mov edx, dword [ebx + 8]
or edx, 2
mov dword [ebx + 8], edx
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], 0
or edx, 1
mov dword [ebx + 8], edx
mov edi, dword [ebx + 0x48]
test edi, edi
mov esi, dword [esp + 0x14]
jne 0x594fe9
mov ecx, dword [ebx + 4]
mov eax, ecx
and eax, 0xfffffffe
test cl, 1
je 0x594fdb
mov eax, dword [eax]
push eax
call fcn.006faa00
add esp, 4
mov edi, eax
mov dword [ebx + 0x48], eax
or byte [edi + 8], 1
mov ebx, dword [edi + 0x10]
test ebx, ebx
jne 0x595011
mov ecx, dword [edi + 4]
mov eax, ecx
and eax, 0xfffffffe
test cl, 1
je 0x595003
mov eax, dword [eax]
push eax
call fcn.006fa9b0
add esp, 4
mov ebx, eax
mov dword [edi + 0x10], eax
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
cmp eax, 0xe0000008
jne 0x59504a
mov eax, dword [esi]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov ecx, dword [eax]
cmp dword [eax + 4], ecx
je 0x59504a
mov eax, dword [ecx]
or dword [ebx + 8], 8
mov dword [ebx + 0x1c], eax
xor eax, eax
dec eax
lea edi, [esp + 0x28]
mov dword [edi + 4], eax
mov dword [edi], eax
push 0x1010
push dword [esp + 0x10]
push edi
call fcn.006a8f50
add esp, 0xc
mov ecx, edi
call fcn.005f1cb0
test al, al
je 0x5950ff
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0x48], xmm0
movdqu xmmword [esp + 0x38], xmm0
mov esi, 0x2c
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x28]
call fcn.005f1cd0
push esi
lea ecx, [esp + 0x38]
push ecx
push eax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x5950d5
mov eax, dword [esp + 0x5c]
shr eax, 0xc
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x3c]
shr eax, 0xc
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x58]
shr eax, 0xc
or dword [ebx + 8], 7
mov dword [ebx + 0x18], eax
lea esi, [esp + 0x6c]
mov dword [esi], 0
lea ecx, [esp + 0x28]
call fcn.005f1cd0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
test eax, eax
je 0x5950ff
mov eax, dword [esp + 0x6c]
or dword [ebx + 8], 0x10
mov dword [ebx + 0x20], eax
lea ecx, [esp + 0x28]
call fcn.005f1bd0
mov esi, dword [ebp + 8]
push 0x14
call fcn.0064cd3e
add esp, 4
mov edi, eax
mov ecx, eax
push 0x4b6b0002
call fcn.006ff8b0
mov dword [edi], fcn.006e4440
lea ebx, [edi + 8]
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
lea ecx, [esp + 0x70]
push ebx
call fcn.0058abf0
test al, al
je 0x59515a
cmp byte [esp + 8], 0
je 0x595156
push 6
call fcn.006f51f0
add esp, 4
mov dword [esi], edi
jmp 0x5951a0
cmp byte [ebx + 0xb], 0
js 0x595169
xor eax, eax
mov byte [ebx], al
mov byte [ebx + 0xb], al
jmp 0x595176
mov eax, dword [edi + 8]
mov byte [eax], 0
mov dword [edi + 0xc], 0
mov dword [esi], 0
test edi, edi
je 0x5951a0
cmp byte [ebx + 0xb], 0
jns 0x595190
push dword [ebx]
call fcn.0064cd6e
add esp, 4
mov ecx, edi
call fcn.006817d0
push edi
call fcn.0064cd6e
add esp, 4
mov edi, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test edi, edi
je 0x5951c0
mov ecx, edi
call fcn.006fe1c0
push edi
call fcn.0064cd6e
add esp, 4
lea ecx, [esp + 0x70]
call fcn.005b51b0
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.0064d372
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
test ebx, ebx
jne 0x594fbb
jmp 0x594f33