Function at 0x404c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43c608
push eax
mov dword fs:[0], esp
sub esp, 0x30c
push esi
push edi
push str.____Context_initialize..._n
call fcn.00401dd0
add esp, 4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, eax
mov dword [0x456398], esi
test esi, esi
je 0x404d16
push 0x6c
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 0
push 0
push eax
call fcn.004218b0
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 0x404d23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____SetInformationJobObject_failed_0x_X_n
call fcn.00401dd0
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.00401dd0
add esp, 4
call fcn.004036e0
test al, al
je 0x404d04
push 0x104
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x404d61
push str.____Can_t_get_windows_directory_n
call fcn.00401dd0
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.00402f10
call fcn.00404710
sub esp, 0x18
mov ecx, esp
sub esp, 8
mov eax, esp
mov dword [eax], str.APPDATA
mov dword [eax + 4], 7
call fcn.0041d200
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.0041ca50
mov esi, eax
add esp, 0x18
cmp esi, 0x44fa08
je 0x404e23
mov edx, dword [0x44fa1c]
cmp edx, 8
jb 0x404de3
mov ecx, dword [0x44fa08]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x404dd9
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x40567e
mov ecx, edi
push edx
push ecx
call fcn.0041fc4a
add esp, 8
mov dword [0x44fa18], 0
xor eax, eax
mov dword [0x44fa1c], 7
mov word [0x44fa08], ax
movups xmm0, xmmword [esi]
movups xmmword [0x44fa08], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x44fa18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x404e5d
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404e53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40567e
push ecx
push edx
call fcn.0041fc4a
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.0041d200
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.0041ca50
mov esi, eax
add esp, 0x18
cmp esi, 0x44fa5c
je 0x404f15
mov edx, dword [0x44fa70]
cmp edx, 8
jb 0x404ed5
mov ecx, dword [0x44fa5c]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x404ecb
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x405683
mov ecx, edi
push edx
push ecx
call fcn.0041fc4a
add esp, 8
mov dword [0x44fa6c], 0
xor eax, eax
mov dword [0x44fa70], 7
mov word [0x44fa5c], ax
movups xmm0, xmmword [esi]
movups xmmword [0x44fa5c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x44fa6c], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x404f4f
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404f45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405683
push ecx
push edx
call fcn.0041fc4a
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.0041d200
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.0041ca50
mov esi, eax
add esp, 0x18
cmp esi, 0x44fa44
je 0x405007
mov edx, dword [0x44fa58]
cmp edx, 8
jb 0x404fc7
mov ecx, dword [0x44fa44]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x404fbd
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x405688
mov ecx, edi
push edx
push ecx
call fcn.0041fc4a
add esp, 8
mov dword [0x44fa54], 0
xor eax, eax
mov dword [0x44fa58], 7
mov word [0x44fa44], ax
movups xmm0, xmmword [esi]
movups xmmword [0x44fa44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x44fa54], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x405041
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405037
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405688
push ecx
push edx
call fcn.0041fc4a
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
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405063
sub ecx, esi
lea eax, [ebp - 0x318]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00401ef0
lea ecx, [ebp - 0x34]
call fcn.0041ca50
mov esi, eax
add esp, 0x18
cmp esi, 0x44f9e4
je 0x40511a
mov edx, dword [0x44f9f8]
cmp edx, 8
jb 0x4050da
mov ecx, dword [0x44f9e4]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x4050d0
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x40568d
mov ecx, edi
push edx
push ecx
call fcn.0041fc4a
add esp, 8
mov dword [0x44f9f4], 0
xor eax, eax
mov dword [0x44f9f8], 7
mov word [0x44f9e4], ax
movups xmm0, xmmword [esi]
movups xmmword [0x44f9e4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x44f9f4], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x405154
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40514a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40568d
push ecx
push edx
call fcn.0041fc4a
add esp, 8
cmp dword [0x44fa40], 8
mov eax, 0x44fa2c
cmovae eax, dword [0x44fa2c]
push eax
push str.___sCurrentEXE:__s_n
call fcn.00401dd0
cmp dword [0x44fa1c], 8
mov eax, 0x44fa08
cmovae eax, dword [0x44fa08]
push eax
push str.___sAPPDATA:__s_n
call fcn.00401dd0
cmp dword [0x44fa70], 8
mov eax, 0x44fa5c
cmovae eax, dword [0x44fa5c]
push eax
push str.___sLOCALAPPDATA:__s_n
call fcn.00401dd0
cmp dword [0x44fa58], 8
mov eax, 0x44fa44
cmovae eax, dword [0x44fa44]
push eax
push str.___sALLUSERSPROFILE:__s_n
call fcn.00401dd0
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.00403410
test al, al
je 0x405261
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
mov ecx, 0x44fae0
push eax
call fcn.00412d10
add esp, 8
test eax, eax
je 0x4055e3
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
mov ecx, 0x44f9d8
push eax
call fcn.00412d10
add esp, 8
test eax, eax
je 0x4055e3
mov eax, str.___Keys_retrieved_from_registry_n
jmp 0x4052c7
call fcn.00412e00
test eax, eax
je 0x4055e3
mov edx, 0x44f9d8
mov ecx, 0x44f9cc
call fcn.00412fb0
test eax, eax
je 0x4055e3
lea edx, [ebp - 0x64]
mov ecx, 0x44fae0
call fcn.00412b90
test eax, eax
je 0x4055e3
lea edx, [ebp - 0x4c]
mov ecx, 0x44f9d8
call fcn.00412b90
test eax, eax
je 0x4055e3
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x64]
call fcn.00403170
test al, al
je 0x4055e3
mov eax, str.___Keys_saved_to_registry_n
push eax
call fcn.00401dd0
mov eax, dword [0x44fae4]
add esp, 4
sub eax, dword [0x44fae0]
cmp eax, 0x114
jne 0x4055e3
mov eax, dword [0x44f9dc]
sub eax, dword [0x44f9d8]
cmp eax, 0x500
jne 0x4055e3
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.00401ef0
push 0x44faa4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00401fd0
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 0x405431
sub eax, edx
cmp esi, eax
ja 0x405431
test edx, edx
je 0x405408
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 0x4053bf
movzx eax, word [esi]
cmp ax, dx
je 0x4053ba
cmp ecx, 1
je 0x4053bc
movzx eax, word [esi + 2]
add esi, 2
dec ecx
cmp ax, dx
jne 0x4053a8
mov edi, esi
mov eax, dword [ebp - 0x14]
mov esi, edi
test esi, esi
je 0x405431
mov edi, dword [ebp - 0x24]
mov edx, eax
test edi, edi
je 0x4053fd
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 0x4053ef
add edx, 2
sub edi, 1
je 0x4053fd
mov eax, dword [ebp - 0x68]
jmp 0x4053d6
mov edx, dword [ebp - 0x6c]
add esi, 2
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x70]
jmp 0x405393
sub esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
sar esi, 1
cmp esi, 0xffffffff
je 0x405431
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.0041db30
add esi, dword [ebp - 0x3c]
jmp 0x40533d
movq xmm1, qword [ebp - 0x78]
xor eax, eax
movups xmm0, xmmword [ebp - 0x88]
mov byte [ebp - 4], 2
mov ecx, dword [0x44fab8]
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 0x4054af
mov eax, dword [0x44faa4]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x405499
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405692
mov eax, edx
push ecx
push eax
call fcn.0041fc4a
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 [0x44fab4], xmm1
movups xmmword [0x44faa4], xmm0
cmp eax, 8
jb 0x4054fc
mov edx, dword [ebp - 0x34]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4054f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405692
push ecx
push edx
call fcn.0041fc4a
add esp, 8
mov edx, 0x44faa4
lea ecx, [ebp - 0xa0]
call fcn.0041cf80
mov esi, eax
cmp esi, 0x44fa80
je 0x405596
mov ecx, dword [0x44fa94]
cmp ecx, 0x10
jb 0x405553
mov eax, dword [0x44fa80]
inc ecx
cmp ecx, 0x1000
jb 0x405549
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405697
mov eax, edx
push ecx
push eax
call fcn.0041fc4a
add esp, 8
mov dword [0x44fa90], 0
mov dword [0x44fa94], 0xf
mov byte [0x44fa80], 0
movups xmm0, xmmword [esi]
movups xmmword [0x44fa80], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x44fa90], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x4055d0
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4055c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405697
push ecx
push edx
call fcn.0041fc4a
add esp, 8
push str.___Context_initialized_n
call fcn.00401dd0
add esp, 4
mov byte [ebp - 0xd], 1
jmp 0x4055e7
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x405621
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405617
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40569c
push ecx
push edx
call fcn.0041fc4a
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 0x40566b
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405661
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40569c
push ecx
push edx
call fcn.0041fc4a
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.0042c24f
call fcn.0042c24f
call fcn.0042c24f
call fcn.0042c24f
call fcn.0042c24f
call fcn.0042c24f
call fcn.0042c24f
int3