Function at 0x404660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43bb48
push eax
mov dword fs:[0], esp
sub esp, 0x30c
push esi
push edi
push str.____Context_initialize..._n
call fcn.00401db0
add esp, 4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, eax
mov dword [0x455198], esi
test esi, esi
je 0x404706
push 0x6c
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 0
push 0
push eax
call fcn.00420e90
add esp, 0xc
mov dword [ebp - 0x100], 0x2000
lea eax, [ebp - 0x110]
push 0x70
push eax
push 9
push esi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
jne 0x404713
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____SetInformationJobObject_failed_0x_X_n
call fcn.00401db0
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.____Job_object_not_created_n
call fcn.00401db0
add esp, 4
call fcn.00403640
test al, al
je 0x4046f4
push 0x104
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x404751
push str.____Can_t_get_windows_directory_n
call fcn.00401db0
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00402e70
sub esp, 0x18
mov ecx, esp
sub esp, 8
mov eax, esp
mov dword [eax], str.APPDATA
mov dword [eax + 4], 7
call fcn.0041c7e0
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.0041c030
mov esi, eax
add esp, 0x18
cmp esi, 0x44ea04
je 0x40480e
mov edx, dword [0x44ea18]
cmp edx, 8
jb 0x4047ce
mov ecx, dword [0x44ea04]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x4047c4
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x40506b
mov ecx, edi
push edx
push ecx
call fcn.0041f22a
add esp, 8
mov dword [0x44ea14], 0
xor eax, eax
mov dword [0x44ea18], 7
mov word [0x44ea04], ax
movups xmm0, xmmword [esi]
movups xmmword [0x44ea04], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x44ea14], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x404848
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40483e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40506b
push ecx
push edx
call fcn.0041f22a
add esp, 8
sub esp, 0x18
mov ecx, esp
sub esp, 8
mov eax, esp
mov dword [eax], str.LOCALAPPDATA
mov dword [eax + 4], 0xc
call fcn.0041c7e0
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.0041c030
mov esi, eax
add esp, 0x18
cmp esi, 0x44ea58
je 0x404900
mov edx, dword [0x44ea6c]
cmp edx, 8
jb 0x4048c0
mov ecx, dword [0x44ea58]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x4048b6
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x405070
mov ecx, edi
push edx
push ecx
call fcn.0041f22a
add esp, 8
mov dword [0x44ea68], 0
xor eax, eax
mov dword [0x44ea6c], 7
mov word [0x44ea58], ax
movups xmm0, xmmword [esi]
movups xmmword [0x44ea58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x44ea68], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x40493a
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404930
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405070
push ecx
push edx
call fcn.0041f22a
add esp, 8
sub esp, 0x18
mov ecx, esp
sub esp, 8
mov eax, esp
mov dword [eax], str.ALLUSERSPROFILE
mov dword [eax + 4], 0xf
call fcn.0041c7e0
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.0041c030
mov esi, eax
add esp, 0x18
cmp esi, 0x44ea40
je 0x4049f2
mov edx, dword [0x44ea54]
cmp edx, 8
jb 0x4049b2
mov ecx, dword [0x44ea40]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x4049a8
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x405075
mov ecx, edi
push edx
push ecx
call fcn.0041f22a
add esp, 8
mov dword [0x44ea50], 0
xor eax, eax
mov dword [0x44ea54], 7
mov word [0x44ea40], ax
movups xmm0, xmmword [esi]
movups xmmword [0x44ea40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x44ea50], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x404a2c
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404a22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405075
push ecx
push edx
call fcn.0041f22a
add esp, 8
sub esp, 0x18
lea ecx, [ebp - 0x318]
mov edx, esp
lea esi, [ecx + 2]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404a50
sub ecx, esi
lea eax, [ebp - 0x318]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00401ed0
lea ecx, [ebp - 0x34]
call fcn.0041c030
mov esi, eax
add esp, 0x18
cmp esi, 0x44e9e0
je 0x404b07
mov edx, dword [0x44e9f4]
cmp edx, 8
jb 0x404ac7
mov ecx, dword [0x44e9e0]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x404abd
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x40507a
mov ecx, edi
push edx
push ecx
call fcn.0041f22a
add esp, 8
mov dword [0x44e9f0], 0
xor eax, eax
mov dword [0x44e9f4], 7
mov word [0x44e9e0], ax
movups xmm0, xmmword [esi]
movups xmmword [0x44e9e0], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x44e9f0], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x404b41
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404b37
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40507a
push ecx
push edx
call fcn.0041f22a
add esp, 8
cmp dword [0x44ea3c], 8
mov eax, 0x44ea28
cmovae eax, dword [0x44ea28]
push eax
push str.___sCurrentEXE:__s_n
call fcn.00401db0
cmp dword [0x44ea18], 8
mov eax, 0x44ea04
cmovae eax, dword [0x44ea04]
push eax
push str.___sAPPDATA:__s_n
call fcn.00401db0
cmp dword [0x44ea6c], 8
mov eax, 0x44ea58
cmovae eax, dword [0x44ea58]
push eax
push str.___sLOCALAPPDATA:__s_n
call fcn.00401db0
cmp dword [0x44ea54], 8
mov eax, 0x44ea40
cmovae eax, dword [0x44ea40]
push eax
push str.___sALLUSERSPROFILE:__s_n
call fcn.00401db0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
xor eax, eax
mov dword [ebp - 0x50], 7
movups xmmword [ebp - 0x64], xmm0
add esp, 0x20
mov word [ebp - 0x64], ax
mov dword [ebp - 4], eax
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea edx, [ebp - 0x4c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00403370
test al, al
je 0x404c4e
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
mov ecx, 0x44eadc
push eax
call fcn.004122d0
add esp, 8
test eax, eax
je 0x404fd0
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
mov ecx, 0x44e9d4
push eax
call fcn.004122d0
add esp, 8
test eax, eax
je 0x404fd0
mov eax, str.___Keys_retrieved_from_registry_n
jmp 0x404cb4
call fcn.004123c0
test eax, eax
je 0x404fd0
mov edx, 0x44e9d4
mov ecx, 0x44e9c8
call fcn.00412570
test eax, eax
je 0x404fd0
lea edx, [ebp - 0x64]
mov ecx, 0x44eadc
call fcn.00412150
test eax, eax
je 0x404fd0
lea edx, [ebp - 0x4c]
mov ecx, 0x44e9d4
call fcn.00412150
test eax, eax
je 0x404fd0
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x64]
call fcn.004030d0
test al, al
je 0x404fd0
mov eax, str.___Keys_saved_to_registry_n
push eax
call fcn.00401db0
mov eax, dword [0x44eae0]
add esp, 4
sub eax, dword [0x44eadc]
cmp eax, 0x114
jne 0x404fd0
mov eax, dword [0x44e9d8]
sub eax, dword [0x44e9d4]
cmp eax, 0x500
jne 0x404fd0
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push str._IDENTIFIER_
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x34], xmm0
call fcn.00401ed0
push 0x44eaa0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00401fb0
mov byte [ebp - 4], 3
xor esi, esi
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x24]
cmp edi, 8
cmovae ecx, eax
cmp dword [ebp - 0x74], 8
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x88]
mov dword [ebp - 0x18], ecx
cmp edx, eax
ja 0x404e1e
sub eax, edx
cmp esi, eax
ja 0x404e1e
test edx, edx
je 0x404df5
inc eax
lea esi, [ecx + esi*2]
lea edi, [ecx + eax*2]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x70], edi
movzx edx, word [eax]
mov dword [ebp - 0x6c], edx
mov ecx, edi
mov edi, 0
sub ecx, esi
sar ecx, 1
je 0x404dac
movzx eax, word [esi]
cmp ax, dx
je 0x404da7
cmp ecx, 1
je 0x404da9
movzx eax, word [esi + 2]
add esi, 2
dec ecx
cmp ax, dx
jne 0x404d95
mov edi, esi
mov eax, dword [ebp - 0x14]
mov esi, edi
test esi, esi
je 0x404e1e
mov edi, dword [ebp - 0x24]
mov edx, eax
test edi, edi
je 0x404dea
mov eax, esi
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x404ddc
add edx, 2
sub edi, 1
je 0x404dea
mov eax, dword [ebp - 0x68]
jmp 0x404dc3
mov edx, dword [ebp - 0x6c]
add esi, 2
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x70]
jmp 0x404d80
sub esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
sar esi, 1
cmp esi, 0xffffffff
je 0x404e1e
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x88]
push eax
push edx
push esi
call fcn.0041d110
add esi, dword [ebp - 0x3c]
jmp 0x404d2a
movq xmm1, qword [ebp - 0x78]
xor eax, eax
movups xmm0, xmmword [ebp - 0x88]
mov byte [ebp - 4], 2
mov ecx, dword [0x44eab4]
movq qword [ebp - 0x1c], xmm1
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
movups xmmword [ebp - 0x98], xmm0
cmp ecx, 8
jb 0x404e9c
mov eax, dword [0x44eaa0]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x404e86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40507f
mov eax, edx
push ecx
push eax
call fcn.0041f22a
movups xmm0, xmmword [ebp - 0x98]
add esp, 8
movq xmm1, qword [ebp - 0x1c]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
movq qword [0x44eab0], xmm1
movups xmmword [0x44eaa0], xmm0
cmp eax, 8
jb 0x404ee9
mov edx, dword [ebp - 0x34]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404edf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40507f
push ecx
push edx
call fcn.0041f22a
add esp, 8
mov edx, 0x44eaa0
lea ecx, [ebp - 0xa0]
call fcn.0041c560
mov esi, eax
cmp esi, 0x44ea7c
je 0x404f83
mov ecx, dword [0x44ea90]
cmp ecx, 0x10
jb 0x404f40
mov eax, dword [0x44ea7c]
inc ecx
cmp ecx, 0x1000
jb 0x404f36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405084
mov eax, edx
push ecx
push eax
call fcn.0041f22a
add esp, 8
mov dword [0x44ea8c], 0
mov dword [0x44ea90], 0xf
mov byte [0x44ea7c], 0
movups xmm0, xmmword [esi]
movups xmmword [0x44ea7c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x44ea8c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x404fbd
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404fb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405084
push ecx
push edx
call fcn.0041f22a
add esp, 8
push str.___Context_initialized_n
call fcn.00401db0
add esp, 4
mov byte [ebp - 0xd], 1
jmp 0x404fd4
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x40500e
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405004
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405089
push ecx
push edx
call fcn.0041f22a
add esp, 8
mov ecx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
cmp ecx, 8
jb 0x405058
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40504e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405089
push ecx
push edx
call fcn.0041f22a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0042b82f
call fcn.0042b82f
call fcn.0042b82f
call fcn.0042b82f
call fcn.0042b82f
call fcn.0042b82f
call fcn.0042b82f
int3