joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ffe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.00420070
add esp, 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
jmp 0x420012
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jge 0x420066
mov eax, dword [ebp - 4]
and eax, 0x800000ff
jns 0x42002b
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax]
add edx, dword [ebp - 0xc]
and edx, 0x800000ff
jns 0x420045
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
xor eax, ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov byte [ecx], al
jmp 0x420009
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x425090
Capabilities:
Check if file exists
Create process on windows
Impersonate user

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x4250c1
cmp dword [ebp + 0xc], 0
je 0x4250c1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x4250c1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4250da
push 0x4a7930
push 0x4a7990
call fcn.00454b60
add esp, 8
xor eax, eax
jmp 0x42521f
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x425120
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 0xc]
push edx
push 0x4a79b8
push str._s:OpenProcessToken__s__no:_d
call fcn.00454b60
add esp, 0x10
xor eax, eax
jmp 0x42521f
lea eax, [ebp - 8]
push eax
push 1
push 1
push 0
push 0x2000000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x4251ff
push 0x44
push 0
lea edx, [ebp - 0x60]
push edx
call fcn.0045d480
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x58], str.winsta0default
mov dword [ebp - 0x34], 1
mov ax, word [ebp + 0x18]
mov word [ebp - 0x30], ax
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
je 0x4251e0
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x14], 0
je 0x4251be
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], 0
je 0x4251ce
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x4251de
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4251fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 0xc]
push edx
push 0x4a7a78
push str._s:CreateProcessWithTokenW__s__no:_d
call fcn.00454b60
add esp, 0x10
jmp 0x42521c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 0xc]
push eax
push str.CJHProcHandler::CmCreateProcessByProcessHandle
push str._s:DuplicateTokenEx__s__no:_d
call fcn.00454b60
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x425410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
push 0x44
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.0045d480
add esp, 0xc
mov dword [ebp - 0x58], 0x44
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov dx, word [ebp + 0x10]
mov word [ebp - 0x28], dx
mov dword [ebp - 0x50], str.WinSta0default
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x58]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42548d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor eax, eax
jmp 0x4254c2
cmp dword [ebp - 0x10], 0
je 0x42549d
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x4254bd
cmp dword [ebp + 0x14], 0
je 0x4254b3
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x4254bd
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x427010
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x424fe0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42709d
push 0xea60
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x427078
push str.CJHProcHandler::AsyncCreateProcessByProcessNameModel::runTask
push str._s:WaitForSingleObject___task_is_time_out
call fcn.00454b60
add esp, 8
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x42708a
push str.CJHProcHandler::AsyncCreateProcessByProcessNameModel::runTask
push str._s:WaitForSingleObject___task_is_normal_finish
call fcn.00454b60
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x4270b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CJHProcHandler::AsyncCreateProcessByProcessNameModel::runTask
push str._s:CreateThread___no:_d
call fcn.00454b60
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x428c40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x63
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00468ef0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404a00
push 0xb
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.0045d480
add esp, 0xc
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x42a7f0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.0041c0c0
mov dword [ebp - 0x14], 0
mov eax, dword [0x4d0c34]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x4d11b8]
cmp eax, dword [edx + 4]
jle 0x42a85a
push 0x4d11b8
call fcn.0041c44b
add esp, 4
cmp dword [0x4d11b8], 0xffffffff
jne 0x42a85a
mov ecx, 0x4d11a0
call fcn.0041e2b0
push 0x49a3e0
call fcn.0041c327
add esp, 4
push 0x4d11b8
call fcn.0041c401
add esp, 4
mov ecx, dword [0x4d11b0]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x42a872
mov dword [ebp - 8], 1
jmp 0x42a879
mov dword [ebp - 8], 0
mov dl, byte [ebp - 8]
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x42a943
push 0x1000
push 0
lea ecx, [ebp - 0x183c]
push ecx
call fcn.0045d480
add esp, 0xc
mov dword [ebp - 0x1c], 0x800
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x183c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x42a91e
push 0x800
push 0
lea ecx, [ebp - 0x83c]
push ecx
call fcn.0045d480
add esp, 0xc
lea edx, [ebp - 0x83c]
mov dword [ebp - 0xc], edx
push 0x44
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [ebp - 0x183c]
push ecx
call fcn.0042b860
add esp, 0xc
test eax, eax
je 0x42a91e
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00421270
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, 0x4d11a0
call fcn.00415db0
lea ecx, [ebp - 0x3c]
call fcn.00423630
mov edx, dword [0x4d11b0]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x42a936
mov dword [ebp - 0x10], 1
jmp 0x42a93d
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov byte [ebp - 2], al
push 0x4d11a0
mov ecx, dword [ebp + 8]
call fcn.00403670
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x42b5a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov dword [ebp - 0xc], 0x10
mov dword [ebp - 4], 0
jmp 0x42b5e6
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jge 0x42b63c
movzx ecx, word [ebp - 0x44]
mov edx, dword [ebp - 4]
cmp ecx, dword [edx*8 + 0x4cf1d0]
jne 0x42b63a
cmp dword [ebp + 8], 0
je 0x42b636
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x4cf1d4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00468ef0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404a00
mov al, 1
jmp 0x42b676
jmp 0x42b5dd
cmp dword [ebp + 8], 0
je 0x42b674
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax*8 + 0x4cf1cc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00468ef0
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404a00
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x42b680
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov dword [ebp - 4], 0xffffffff
cmp dword [0x4cf250], 0
je 0x42b7d8
push 0x800
push 0
lea eax, [ebp - 0x80c]
push eax
call fcn.0045d480
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42b721
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x80c]
test ecx, ecx
je 0x42b721
push str.SysWOW64
lea edx, [ebp - 0x80c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x42b70a
mov dword [ebp - 8], 1
jmp 0x42b711
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [0x4cf250], 0
cmp dword [ebp - 4], 1
je 0x42b7d8
cmp dword [0x4d11bc], 0
jne 0x42b744
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4d11bc], eax
cmp dword [0x4d11bc], 0
je 0x42b7d8
cmp dword [0x4d11c0], 0
jne 0x42b771
push str.GetSystemWow64DirectoryW
mov edx, dword [0x4d11bc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4d11c0], eax
cmp dword [0x4d11c0], 0
je 0x42b7d8
push 0x800
push 0
lea eax, [ebp - 0x80c]
push eax
call fcn.0045d480
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x80c]
push ecx
call dword [0x4d11c0]
test eax, eax
je 0x42b7d8
lea edx, [ebp - 0x80c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x42b7c1
mov dword [ebp - 0xc], 1
jmp 0x42b7c8
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [0x4cf250], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42d330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496d1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1024
call fcn.0041c0c0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
call fcn.0041e380
mov dword [ebp - 4], 0
push 0x1000
push 0
lea eax, [ebp - 0x1030]
push eax
call fcn.0045d480
add esp, 0xc
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1030]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42d3c2
lea eax, [ebp - 0x1030]
push eax
call fcn.00468c16
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x1030]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401490
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041e320
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00423720
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x42d720
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push 0x800
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.0045d480
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x808]
test ecx, ecx
je 0x42d78d
push 0x4a9a60
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x42d78d
push 0x4a9a68
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x808]
push ecx
call fcn.00468c16
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401490
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x42d7c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push 0x800
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.0045d480
add esp, 0xc
push 0x3ff
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x808]
push edx
call fcn.00468c16
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x808]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401490
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x42df10
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4973fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
lea ecx, [ebp - 0x6c]
call fcn.0041e380
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x42df4a
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x42dfa5
lea edx, [ebp - 0x6c]
push edx
push 0
call fcn.0042cf30
add esp, 8
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x14], 8
jb 0x42df76
mov dword [ebp - 0x24], 1
jmp 0x42df7d
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x42df99
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp + 8], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e0f2
mov edx, dword [ebp - 0x14]
add edx, 0x20
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004661bc
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42dff9
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00423720
mov eax, dword [ebp - 0x34]
jmp 0x42e10b
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42e0e6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x4a9b70
mov eax, dword [ebp - 0x1c]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42e0e6
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
and ecx, 0xffff
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
push str._d._d._d._d
lea ecx, [ebp - 0x84]
push ecx
call fcn.00421820
add esp, 0x18
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00415db0
lea ecx, [ebp - 0x84]
call fcn.00423630
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00466005
add esp, 4
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00423720
mov eax, dword [ebp - 0x50]
jmp 0x42e10b
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00466005
add esp, 4
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00423720
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42e280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x42e293
xor eax, eax
jmp 0x42e366
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x1ffff
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42e359
cmp dword [ebp - 4], 0
je 0x42e350
push 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.0042e370
mov ecx, dword [ebp + 0x14]
call fcn.00423320
mov dword [ebp - 0x14], eax
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x1ffff
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42e344
cmp dword [ebp + 0x18], 0
je 0x42e32d
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 4]
mov dword [edx], eax
cmp dword [ebp + 0x1c], 0
je 0x42e33b
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ebp - 0xc], 1
jmp 0x42e34e
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42e357
mov dword [ebp - 0xc], 1
jmp 0x42e363
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x433390
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov ecx, dword [ebp + 8]
call fcn.00423370
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x43345d
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 8
jb 0x4333c9
mov dword [ebp - 0x10], 1
jmp 0x4333d0
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x4333ec
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx]
test edx, edx
je 0x43345d
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 8
jb 0x433420
mov dword [ebp - 0x18], 1
jmp 0x433427
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x433443
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x433461
xor eax, eax
jmp 0x43348a
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00433020
test eax, eax
je 0x433488
mov ecx, dword [ebp - 0x20]
and ecx, 0x10
jne 0x433488
mov eax, 1
jmp 0x43348a
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x433490
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov ecx, dword [ebp + 8]
call fcn.00423370
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x43355d
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x14], 8
jb 0x4334c9
mov dword [ebp - 0x10], 1
jmp 0x4334d0
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x4334ec
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx]
test edx, edx
je 0x43355d
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x14], 8
jb 0x433520
mov dword [ebp - 0x18], 1
jmp 0x433527
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
test ecx, ecx
je 0x433543
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x433561
xor eax, eax
jmp 0x43358a
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00433020
test eax, eax
je 0x433588
mov ecx, dword [ebp - 0x20]
and ecx, 0x10
je 0x433588
mov eax, 1
jmp 0x43358a
xor eax, eax
mov esp, ebp
pop ebp
ret 4