Function at 0x404a30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43d248
push eax
mov dword fs:[0], esp
sub esp, 0x30c
push esi
push edi
push str.____Context_initialize..._n
call fcn.00401d10
add esp, 4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, eax
mov dword [0x457478], esi
test esi, esi
je 0x404ad6
push 0x6c
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 0
push 0
push eax
call fcn.00422520
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 0x404ae3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____SetInformationJobObject_failed_0x_X_n
call fcn.00401d10
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.00401d10
add esp, 4
call fcn.004034a0
test al, al
je 0x404ac4
push 0x104
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x404b21
push str.____Can_t_get_windows_directory_n
call fcn.00401d10
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.004044d0
sub esp, 0x18
mov ecx, esp
sub esp, 8
mov eax, esp
mov dword [eax], str.APPDATA
mov dword [eax + 4], 7
call fcn.0041df10
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.0041d710
mov esi, eax
add esp, 0x18
cmp esi, 0x450a08
je 0x404bde
mov edx, dword [0x450a1c]
cmp edx, 8
jb 0x404b9e
mov ecx, dword [0x450a08]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x404b94
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4053c4
mov ecx, edi
push edx
push ecx
call fcn.004209ec
add esp, 8
mov dword [0x450a18], 0
xor eax, eax
mov dword [0x450a1c], 7
mov word [0x450a08], ax
movups xmm0, xmmword [esi]
movups xmmword [0x450a08], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x450a18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x404c18
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404c0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053c4
push ecx
push edx
call fcn.004209ec
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.0041df10
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.0041d710
mov esi, eax
add esp, 0x18
cmp esi, 0x450a5c
je 0x404cd0
mov edx, dword [0x450a70]
cmp edx, 8
jb 0x404c90
mov ecx, dword [0x450a5c]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x404c86
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4053c9
mov ecx, edi
push edx
push ecx
call fcn.004209ec
add esp, 8
mov dword [0x450a6c], 0
xor eax, eax
mov dword [0x450a70], 7
mov word [0x450a5c], ax
movups xmm0, xmmword [esi]
movups xmmword [0x450a5c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x450a6c], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x404d0a
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404d00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053c9
push ecx
push edx
call fcn.004209ec
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.0041df10
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.0041d710
mov esi, eax
add esp, 0x18
cmp esi, 0x450a44
je 0x404dc2
mov edx, dword [0x450a58]
cmp edx, 8
jb 0x404d82
mov ecx, dword [0x450a44]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x404d78
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4053ce
mov ecx, edi
push edx
push ecx
call fcn.004209ec
add esp, 8
mov dword [0x450a54], 0
xor eax, eax
mov dword [0x450a58], 7
mov word [0x450a44], ax
movups xmm0, xmmword [esi]
movups xmmword [0x450a44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x450a54], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x404dfc
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404df2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053ce
push ecx
push edx
call fcn.004209ec
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 0x404e20
sub ecx, esi
lea eax, [ebp - 0x318]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00401e30
lea ecx, [ebp - 0x34]
call fcn.0041d710
mov esi, eax
add esp, 0x18
cmp esi, 0x4509e4
je 0x404ed7
mov edx, dword [0x4509f8]
cmp edx, 8
jb 0x404e97
mov ecx, dword [0x4509e4]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x404e8d
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4053d3
mov ecx, edi
push edx
push ecx
call fcn.004209ec
add esp, 8
mov dword [0x4509f4], 0
xor eax, eax
mov dword [0x4509f8], 7
mov word [0x4509e4], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4509e4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4509f4], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x404f11
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404f07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053d3
push ecx
push edx
call fcn.004209ec
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
xor eax, eax
mov dword [ebp - 0x50], 7
movups xmmword [ebp - 0x64], xmm0
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.004031d0
test al, al
je 0x404fa3
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
mov ecx, 0x450ae0
push eax
call fcn.00412a10
add esp, 8
test eax, eax
je 0x405329
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
mov ecx, 0x4509d8
push eax
call fcn.00412a10
add esp, 8
test eax, eax
je 0x405329
mov eax, str.___Keys_retrieved_from_registry_n
jmp 0x405009
call fcn.00412b00
test eax, eax
je 0x405329
mov edx, 0x4509d8
mov ecx, 0x4509cc
call fcn.00412cb0
test eax, eax
je 0x405329
lea edx, [ebp - 0x64]
mov ecx, 0x450ae0
call fcn.00412890
test eax, eax
je 0x405329
lea edx, [ebp - 0x4c]
mov ecx, 0x4509d8
call fcn.00412890
test eax, eax
je 0x405329
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x64]
call fcn.00402f40
test al, al
je 0x405329
mov eax, str.___Keys_saved_to_registry_n
push eax
call fcn.00401d10
mov eax, dword [0x450ae4]
add esp, 4
sub eax, dword [0x450ae0]
cmp eax, 0x114
jne 0x405329
mov eax, dword [0x4509dc]
sub eax, dword [0x4509d8]
cmp eax, 0x500
jne 0x405329
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.00401e30
push 0x450aa4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00402010
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 0x40517b
sub eax, edx
cmp esi, eax
ja 0x40517b
test edx, edx
je 0x405152
inc eax
lea esi, [ecx + esi*2]
lea edx, [ecx + eax*2]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x70], edx
movzx edi, word [eax]
mov dword [ebp - 0x6c], edi
mov ecx, edx
mov edx, 0
sub ecx, esi
sar ecx, 1
je 0x405107
movzx eax, word [esi]
cmp ax, di
je 0x405102
nop word [eax + eax]
cmp ecx, 1
je 0x405104
movzx eax, word [esi + 2]
add esi, 2
dec ecx
cmp ax, di
jne 0x4050f0
mov edx, esi
mov eax, dword [ebp - 0x14]
mov esi, edx
test esi, esi
je 0x40517b
mov edi, dword [ebp - 0x24]
mov edx, eax
test edi, edi
je 0x405147
mov eax, esi
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
nop
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x405139
add edx, 2
sub edi, 1
je 0x405147
mov eax, dword [ebp - 0x68]
jmp 0x405120
mov edi, dword [ebp - 0x6c]
add esi, 2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x70]
jmp 0x4050d5
sub esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
sar esi, 1
cmp esi, 0xffffffff
je 0x40517b
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.0041e930
add esi, dword [ebp - 0x3c]
jmp 0x40507f
movq xmm1, qword [ebp - 0x78]
xor eax, eax
movups xmm0, xmmword [ebp - 0x88]
mov byte [ebp - 4], 2
mov ecx, dword [0x450ab8]
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 0x4051f9
mov eax, dword [0x450aa4]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4051e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053d8
mov eax, edx
push ecx
push eax
call fcn.004209ec
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 [0x450ab4], xmm1
movups xmmword [0x450aa4], xmm0
cmp eax, 8
jb 0x405246
mov edx, dword [ebp - 0x34]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40523c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053d8
push ecx
push edx
call fcn.004209ec
add esp, 8
mov edx, 0x450aa4
lea ecx, [ebp - 0xa0]
call fcn.0041dc90
mov esi, eax
cmp esi, 0x450a80
je 0x4052dc
mov ecx, dword [0x450a94]
cmp ecx, 0x10
jb 0x405299
mov eax, dword [0x450a80]
inc ecx
cmp ecx, 0x1000
jb 0x40528f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053dd
mov eax, edx
push ecx
push eax
call fcn.004209ec
add esp, 8
mov dword [0x450a90], 0
mov dword [0x450a94], 0xf
mov byte [0x450a80], 0
movups xmm0, xmmword [esi]
movups xmmword [0x450a80], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x450a90], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0x10
jb 0x405316
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40530c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053dd
push ecx
push edx
call fcn.004209ec
add esp, 8
push str.___Context_initialized_n
call fcn.00401d10
add esp, 4
mov byte [ebp - 0xd], 1
jmp 0x40532d
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x405367
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40535d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053e2
push ecx
push edx
call fcn.004209ec
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 0x4053b1
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4053a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4053e2
push ecx
push edx
call fcn.004209ec
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.0042cebf
call fcn.0042cebf
call fcn.0042cebf
call fcn.0042cebf
call fcn.0042cebf
call fcn.0042cebf
call fcn.0042cebf
int3