joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a9b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x625260]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x62a5b8], 0
push ebx
push esi
push edi
je 0x42aa1a
call fcn.00423b7b
test al, al
je 0x42a9f1
pop ebx
pop esi
pop esi
push esi
pop eax
push esi
push eax
pop edx
push ecx
pop ecx
pop ebx
push edi
push ebx
pop ebx
push esi
pop esp
pop ebp
call fcn.00423efc
test al, al
je 0x42ab5f
pop edi
pop ecx
pop ebx
pop edx
pop esi
pop ebp
push esi
push edi
pop edi
push edi
pop edx
push ebx
push esi
pop eax
pop ebp
push ebp
push edi
push ebx
pop esi
pop edi
push ecx
push eax
pop ebx
jmp 0x42ab5f
call fcn.00423bc0
test al, al
je 0x42aa41
push edi
push edi
push ebp
pop edi
push esi
pop ebx
pop ecx
push ecx
push edi
push esp
pop ecx
pop esi
pop esp
push esi
pop esi
push ecx
push esi
pop edi
pop esi
pop ebp
push edx
push eax
pop edx
pop edx
push edi
push edx
push edi
push esi
pop ebp
pop esi
call fcn.00423de8
test al, al
je 0x42aa5e
push esp
pop esp
push esp
pop edx
push edx
pop edi
pop edi
pop eax
push ebx
push ecx
pop ecx
push ebx
push ebx
pop edi
pop ebp
pop ebx
push ecx
push edi
pop ebp
push edi
call fcn.00423d5e
test al, al
je 0x42aa86
pop esi
pop esp
pop edi
push edx
push ecx
push edi
push edi
pop ecx
push eax
push ebx
push ebp
push eax
push eax
pop ebx
push esp
pop ecx
push esp
pop ecx
pop ebx
push esp
pop edx
pop edx
push ecx
pop edi
pop edi
push ebp
pop esi
pop esi
push ebx
pop eax
pop esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00440e80
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42aaf6
lea eax, [ebp - 0x20c]
push eax
call fcn.00451273
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00442f92
pop ecx
pop ecx
test eax, eax
jne 0x42aaef
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00442f92
pop ecx
pop ecx
test eax, eax
je 0x42aaf6
mov byte [0x62a5b8], 1
call fcn.0042390e
test al, al
je 0x42ab1d
push ebp
pop ebp
pop edi
push edx
pop ebx
push esi
pop ecx
pop edi
pop edi
pop esp
pop eax
push ecx
push ecx
pop esi
push edi
push edx
push esi
pop esp
push eax
pop ebp
push edi
push esi
pop ecx
pop ebp
pop eax
push esp
pop ecx
pop edi
pop eax
pop esp
call fcn.0042383f
test al, al
je 0x42ab3a
pop esi
pop ebx
pop ecx
pop edx
pop edx
push eax
pop ebp
pop ebp
push esi
push ebp
push ebx
pop edx
push edx
push esp
pop edx
push edi
pop ebx
pop edx
pop ecx
push ecx
call fcn.00423eb7
test al, al
je 0x42ab5f
push eax
pop edi
pop edi
pop ecx
push edx
pop edx
push eax
push esi
pop esi
pop eax
push esi
push edx
push edi
push ebp
pop esi
push esi
pop ecx
push ebp
pop esp
push edx
push ecx
pop edi
pop esp
pop edi
pop ebp
push ebp
push ecx
push esi
mov ecx, dword [ebp - 4]
mov al, byte [0x62a5b8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004229e8
mov esp, ebp
pop ebp
ret
Function at 0x42ba16
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x625260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.00440e80
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.00423e2d
test al, al
je 0x42ba8b
pop eax
pop ebx
push edx
pop ebx
pop ebp
push eax
pop esp
pop esp
pop ecx
pop esi
push edx
pop ecx
push esp
push edx
push ebx
pop ebx
pop ebp
push eax
pop edi
pop esp
push esp
pop ebp
pop esi
push eax
pop ecx
pop edi
push edx
pop edx
push esi
pop ebp
push edi
mov eax, dword [ebp - 0x11c]
mov ebx, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], ebx
call fcn.00423b7b
test al, al
je 0x42bad0
pop edx
push edx
pop eax
push edi
push edi
pop edx
push ecx
push edx
push edi
push esp
push ecx
pop esi
push esi
pop esp
pop esi
push ebx
pop ebx
pop eax
pop edi
push ebp
pop eax
pop esi
pop esp
push esi
pop ebp
pop edx
push ebp
pop esp
pop ecx
push eax
mov ebx, dword [ebp - 0x124]
cmp dword [ebp - 0x128], 5
jg 0x42bae3
cmp ebx, 2
jg 0x42bae3
xor eax, eax
inc eax
jmp 0x42bae5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004229e8
mov esp, ebp
pop ebp
ret

Function at 0x42bb41
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.00423b36
test al, al
je 0x42bb68
push ebx
pop eax
pop edx
pop ebp
pop edi
push edi
pop edi
push eax
push esp
push edi
pop esi
pop ebx
pop esi
pop eax
push ebp
pop ebx
push esi
push ecx
pop edx
pop ebx
call fcn.00423b36
test al, al
je 0x42bb89
push esi
push edx
push edi
push eax
pop esi
push edx
push esp
pop esp
push edx
pop edi
pop edi
push ebp
pop edx
pop eax
push ecx
pop ebx
push ecx
pop ecx
push eax
pop esi
push ebx
push ebp
pop esp
push ebx
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
pop edi
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42bff2
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x42c006
xor eax, eax
jmp 0x42c144
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x42c02f
dec edx
sub edx, 1
jne 0x42c031
add eax, 2
jmp 0x42c031
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x42c044
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x42c143
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x42c0da
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x5a51f8]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x5a51f8]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x5a51f8]
mov byte [edi + 2], al
mov al, byte [esi + 0x5a51f8]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x42c06f
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x42c0dd
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x42c136
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x42c0f2
movzx ecx, byte [eax + 1]
jmp 0x42c0f4
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x5a51f8]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x5a51f8]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x42c12b
and ecx, 0xf
mov al, byte [ecx*4 + 0x5a51f8]
mov byte [edi + 2], al
jmp 0x42c12f
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c30c
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x625260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.00440e80
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5a52c4
call fcn.00450cbb
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0045154a
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.00440e80
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.00440e80
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.00440e80
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42c40a
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00408eb0
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00405e00
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004229e8
mov esp, ebp
pop ebp
ret 4
Function at 0x4338e5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x59f234
call fcn.00596496
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.004361fb
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0043622f
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x433925
mov edi, 0xf003f
push edi
push esi
push 0x5a64e0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x433985
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x433960
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x433985
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.0043620e
call fcn.00596470
ret 0xc
Function at 0x433e0d
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x59f2cf
call fcn.005964ca
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.00440e80
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x433f04
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x433e89
lea eax, [ebp - 0x218]
push eax
call fcn.00450cbb
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403c20
and dword [ebp - 4], 0
push 0x5a18e8
call fcn.00450cbb
pop ecx
push eax
push 0x5a18e8
lea ecx, [ebp - 0x230]
call fcn.004039d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00433a70
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x433ef5
call fcn.00424956
mov eax, edi
jmp 0x433fb6
or dword [ebp - 4], 0xffffffff
call fcn.00424956
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x433fb4
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x433f4b
lea eax, [ebp - 0x218]
push eax
call fcn.00450cbb
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00403c20
mov esi, 0x5a18e8
mov dword [ebp - 4], 1
push esi
call fcn.00450cbb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.004039d0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00433a70
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.00424956
test esi, esi
je 0x433fb4
mov eax, esi
jmp 0x433fb6
xor eax, eax
call fcn.00596485
ret 4
Function at 0x433fbe
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x625260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
test edi, edi
jne 0x433fe6
xor eax, eax
jmp 0x43411c
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x433fdf
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00440e80
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43410a
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4340e4
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.00440e80
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4340d8
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.00442f92
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x434112
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x43404f
push dword [ebp - 0x418]
call ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004229e8
mov esp, ebp
pop ebp
ret 4

Function at 0x434c0a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x625260]
push edx
bound eax, qword [eax]
Function at 0x434c15
Capabilities:
Query or enumerate registry key

Disassembly:
push edx
bound eax, qword [eax]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x434c2f
xor eax, eax
jmp 0x434cc2
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.00440e80
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434cc0
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x434c9e
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0044cdab
pop ecx
pop ecx
test eax, eax
je 0x434cb0
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x434c7d
jmp 0x434cb3
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004229e8
mov esp, ebp
pop ebp
ret 4
Function at 0x4350c0
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x59f455
call fcn.005964ca
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.00440e80
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x43512b
lea eax, [ebp - 0x218]
push eax
call fcn.00450cbb
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.00403c20
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.00450cbb
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.004039d0
xor ebx, ebx
cmp word [esi], bx
jne 0x435165
mov eax, ebx
jmp 0x43516c
push esi
call fcn.00450cbb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004039d0
mov esi, str..lnk
push esi
call fcn.00450cbb
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.004039d0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x43527a
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00440e80
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.00440e80
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004510a8
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004337cb
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00440e80
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.00450cbb
pop ecx
test eax, eax
jne 0x435268
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004510a8
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x43527a
xor esi, esi
inc esi
jmp 0x43527c
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.00424956
mov eax, esi
call fcn.00596485
ret 4
Function at 0x435294
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x625260]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x62a748]
test al, al
jne 0x43532d
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00440e80
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x435324
lea eax, [ebp - 0x20c]
push eax
call fcn.00451273
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.00442f92
pop ecx
pop ecx
test eax, eax
jne 0x43531c
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00442f92
pop ecx
pop ecx
test eax, eax
je 0x435324
mov byte [0x62a748], bl
jmp 0x43532a
mov bl, byte [0x62a748]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004229e8
mov esp, ebp
pop ebp
ret
Function at 0x435df6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x625260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.00440e80
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x435e61
lea eax, [ebp - 0x20c]
push 0x5a18e8
push eax
call fcn.00451703
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0043533b
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004229e8
mov esp, ebp
pop ebp
ret 4
Function at 0x4362a9
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push str.kernel32.dll
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
call fcn.00423af1
test al, al
je 0x4362e2
pop ebx
push ebp
push esp
pop edi
push ebp
pop eax
pop ebx
pop ecx
pop ebp
push eax
pop esp
pop ebp
pop ebx
push ecx
push ebx
pop esp
pop eax
pop ebp
pop eax
push ebx
push ebx
pop ecx
push esp
call fcn.00423a22
test al, al
je 0x436302
push ebx
push ecx
push ecx
pop esp
push esi
pop edx
push esi
pop edx
pop ecx
pop ebp
push edx
pop ebx
pop ecx
pop esp
push ebx
push eax
pop esp
push ebx
push edx
push esp
pop ebp
push esp
push esi
call fcn.00423953
test al, al
je 0x43631f
push ebx
push ebx
pop ecx
pop esp
pop ebx
pop ebp
push esi
push edi
pop ecx
push esp
pop esp
push ebp
push eax
pop edx
push ebp
pop ebx
push ebp
push eax
push edi
push eax
call fcn.00423998
test al, al
je 0x43633e
push esp
pop ebp
push edi
pop ecx
push ebx
pop ecx
push eax
pop ebp
push ecx
push edi
pop edi
push ebp
push esp
push ebx
pop ebx
pop ebp
pop esi
push edi
pop edi
push edi
push esi
pop ecx
call fcn.00423efc
test al, al
je 0x43635e
pop esi
push ebx
push ebx
push esp
push ebx
push eax
push ebp
push esi
pop ebx
push edx
push eax
pop esp
pop ebx
pop eax
push ebp
push esp
pop edi
push ecx
pop ecx
push ebp
pop eax
push ecx
pop ecx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x43636d
xor eax, eax
jmp 0x43642a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5a518c
push dword [ebx]
call esi
push str.IsWow64Process
push dword [ebx]
mov dword [ebx + 8], eax
call esi
push str.Wow64DisableWow64FsRedirection
push dword [ebx]
mov dword [ebx + 0xc], eax
call esi
push str.Wow64RevertWow64FsRedirection
push dword [ebx]
mov dword [ebx + 0x18], eax
call esi
push str.GetSystemWow64DirectoryW
push dword [ebx]
mov dword [ebx + 0x14], eax
call esi
push str.advapi32.dll
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
call fcn.00423b36
test al, al
je 0x4363da
push ebx
pop eax
pop edx
pop ebp
pop edi
push edi
pop edi
push eax
push esp
push edi
pop esi
pop ebx
pop esi
pop eax
push ebp
pop ebx
push esi
push ecx
pop edx
pop ebx
call fcn.00423b36
test al, al
je 0x4363fb
push esi
push edx
push edi
push eax
pop esi
push edx
push esp
pop esp
push edx
pop edi
pop edi
push ebp
pop edx
pop eax
push ecx
pop ebx
push ecx
pop ecx
push eax
pop esi
push ebx
push ebp
pop esp
push ebx
mov esi, dword [ebp - 4]
cmp dword [esi + 4], 0
je 0x436366
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret