joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4108cb
Capabilities:
Query environment variable

Disassembly:
push 4
mov eax, 0x4b057d
call fcn.004955d9
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00425f07
push eax
mov ecx, esi
call fcn.0040d0a6
and dword [ebp - 4], 0
lea edi, [esi + 4]
call fcn.00425f07
push eax
mov ecx, edi
call fcn.0040d0a6
mov byte [ebp - 4], 1
lea ebx, [esi + 8]
call fcn.00425f07
push eax
mov ecx, ebx
call fcn.0040d0a6
mov byte [ebp - 4], 2
call fcn.00425f07
push eax
lea ecx, [esi + 0xc]
call fcn.0040d0a6
mov ecx, dword [ebp - 0x10]
mov esi, 0x200
push esi
mov byte [ebp - 4], 3
call fcn.0043d403
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push eax
push str._OS_
call esi
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
call fcn.004431bf
push 0x200
mov ecx, edi
call fcn.0043d403
push 0x200
push eax
push str._PATH_
call esi
push 0xffffffffffffffff
mov ecx, edi
call fcn.004431bf
mov edi, 0x200
mov ecx, ebx
push edi
call fcn.0043d403
push edi
push eax
push str._HOMEPATH_
call esi
push 0xffffffffffffffff
mov ecx, ebx
call fcn.004431bf
mov ebx, dword [ebp - 0x10]
push edi
lea ecx, [ebx + 0xc]
call fcn.0043d403
push edi
push eax
push str._TEMP_
call esi
push 0xffffffffffffffff
lea ecx, [ebx + 0xc]
call fcn.004431bf
mov eax, ebx
call fcn.004955a7
ret

Function at 0x4109b6
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push 4
mov eax, 0x4b057d
call fcn.004955d9
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00425f07
push eax
mov ecx, edi
call fcn.0040d0a6
and dword [ebp - 4], 0
lea ebx, [edi + 4]
call fcn.00425f07
push eax
mov ecx, ebx
call fcn.0040d0a6
mov byte [ebp - 4], 1
call fcn.00425f07
push eax
lea ecx, [edi + 8]
call fcn.0040d0a6
mov byte [ebp - 4], 2
call fcn.00425f07
push eax
lea ecx, [edi + 0xc]
call fcn.0040d0a6
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, dword [ebp - 0x10]
mov esi, 0x200
push esi
movzx edi, ax
call fcn.0043d403
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push eax
push 0x1004
push edi
call esi
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
call fcn.004431bf
push 0x200
mov ecx, ebx
call fcn.0043d403
push 0x200
push eax
push 0xb
push edi
call esi
push 0xffffffffffffffff
mov ecx, ebx
call fcn.004431bf
mov ebx, dword [ebp - 0x10]
push 0x200
lea ecx, [ebx + 8]
call fcn.0043d403
push 0x200
push eax
push 6
push edi
call esi
push 0xffffffffffffffff
lea ecx, [ebx + 8]
call fcn.004431bf
push 0x200
lea ecx, [ebx + 0xc]
call fcn.0043d403
push 0x200
push eax
push 2
push edi
call esi
push 0xffffffffffffffff
lea ecx, [ebx + 0xc]
call fcn.004431bf
mov eax, ebx
call fcn.004955a7
ret
Function at 0x4111ff
Capabilities:
Get common file path
Get session user name

Disassembly:
push 8
mov eax, 0x4b0698
call fcn.004955d9
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.00410712
and dword [ebp - 4], 0
lea esi, [ebx + 0x20]
call fcn.00425f07
push eax
mov ecx, esi
call fcn.0040d0a6
mov byte [ebp - 4], 1
lea edi, [ebx + 0x24]
call fcn.00425f07
push eax
mov ecx, edi
call fcn.0040d0a6
mov byte [ebp - 4], 2
add ebx, 0x28
call fcn.00425f07
push eax
mov ecx, ebx
call fcn.0040d0a6
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
mov byte [ebp - 4], 3
call fcn.004108cb
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
lea ecx, [ecx + 0x3c]
call fcn.00410cc7
mov eax, dword [ebp - 0x10]
add eax, 0x15c
mov byte [ebp - 4], 5
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, 0x200
mov ecx, esi
push eax
mov dword [ebp - 0x14], eax
call fcn.0043d403
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004431bf
mov esi, 0x104
mov ecx, edi
push esi
call fcn.0043d403
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004431bf
push esi
mov ecx, ebx
call fcn.0043d403
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.004431bf
mov eax, dword [ebp - 0x10]
call fcn.004955a7
ret
Function at 0x4112e6
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push 8
mov eax, 0x4b06df
call fcn.004955d9
mov ebx, ecx
mov dword [ebp - 0x14], ebx
lea edi, [ebx + 4]
call fcn.00425f07
push eax
mov ecx, edi
call fcn.0040d0a6
and dword [ebp - 4], 0
call fcn.00425f07
push eax
lea ecx, [ebx + 8]
call fcn.0040d0a6
mov byte [ebp - 4], 1
call fcn.00425f07
push eax
lea ecx, [ebx + 0x2c]
call fcn.0040d0a6
mov byte [ebp - 4], 2
call fcn.00425f07
push eax
lea ecx, [ebx + 0x30]
call fcn.0040d0a6
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov byte [ebp - 4], 3
mov dword [ebx + 0x68], 0x28
call esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x104
mov ecx, edi
mov dword [ebx], eax
call fcn.0043d403
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004431bf
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov edi, eax
xor ecx, ecx
cmp dword [ecx + 0x4bb40c], edi
je 0x4113a0
add ecx, 8
cmp ecx, 0x30
jb 0x41138b
lea esi, [ebx + 8]
jmp 0x4113af
lea esi, [ebx + 8]
push str.Above_Normal
mov ecx, esi
call fcn.0041434b
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4113c6
push edi
push 0x4b9cf0
push esi
call fcn.00424732
add esp, 0xc
mov esi, dword [ebp - 0x10]
lea eax, [ebx + 0x24]
push eax
lea eax, [ebx + 0x1c]
push eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebx + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea eax, [ebx + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessIoCounters]
push 0x28
lea eax, [ebx + 0x68]
push eax
push esi
call sub.PSAPI.DLL_GetProcessMemoryInfo
push esi
lea ecx, [ebx + 0x90]
call fcn.0042e826
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebx + 0x2c]
call fcn.00445d59
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41142e
push esi
lea ecx, [ebx + 0x30]
call fcn.00445d59
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.004955a7
ret

Function at 0x411475
Capabilities:
Get system information on windows

Disassembly:
push 0x34
mov eax, 0x4b070a
call fcn.004955d9
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0040c2a9
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edi, edi
cmp dword [ebp - 0x2c], edi
jbe 0x4114f3
lea ecx, [ebp - 0x1c]
call fcn.004100db
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004564fd
push edi
mov ecx, eax
call fcn.00430709
test al, al
je 0x4114e1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4114d6
mov ecx, dword [ebp - 0x14]
add eax, 4
push eax
push dword [ebp - 0x1c]
call fcn.004536b4
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00457cb2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00454738
inc edi
cmp edi, dword [ebp - 0x2c]
jb 0x4114a0
mov eax, esi
call fcn.004955a7
ret
Function at 0x4179ad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop ebp
ret

Function at 0x417d57
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push pe_nt_image_headers32
xor ebx, ebx
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.00491060
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x417db8
cmp dword [ebp - 0x114], 5
jae 0x417dbb
cmp dword [ebp - 0x114], 4
jne 0x417db8
cmp dword [ebp - 0x110], 0x5a
jae 0x417dbb
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00495535
mov esp, ebp
pop ebp
ret

Function at 0x4194e9
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x410]
test eax, eax
je 0x41951c
push eax
call fcn.00487281
and dword [esi + 0x410], 0
pop ecx
push dword [esi + 0x40c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x40c]
pop esi
jmp fcn.004234d7
pop esi
ret

Function at 0x41951e
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x414]
test eax, eax
je 0x419551
push eax
call fcn.00487281
and dword [esi + 0x414], 0
pop ecx
push dword [esi + 0x410]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x410]
pop esi
jmp fcn.004234d7
pop esi
ret
Function at 0x41b1ff
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x20]
mov esi, ecx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
mov eax, dword [esi + 0x4d0]
push dword [ebp + 0x14]
add eax, 0x1c
push dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
push eax
push dword [ebp + 8]
call fcn.0041a4df
mov edi, eax
test edi, edi
je 0x41b273
mov ecx, dword [esi + 0x4d0]
cmp dword [ecx + 0x60], 0
je 0x41b24c
push 1
push dword [ecx + 0x60]
lea ecx, [esi + 0x8b4]
call fcn.00445b06
mov eax, dword [esi + 0x4d0]
cmp dword [eax + 0x64], 0
je 0x41b268
push 1
push dword [eax + 0x64]
lea ecx, [esi + 0x91c]
call fcn.00445b99
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x1c

Function at 0x41b4cc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], ecx
push edx
push ecx
mov eax, esp
lea ebx, [ecx + 0x24]
push edx
push 0x5600094e
push edx
push ecx
mov dword [eax], edx
mov eax, esp
mov dword [eax], 0x4e5004
push dword [ecx + 4]
mov ecx, ebx
call fcn.0041a7e4
cmp dword [ebx], 0
je 0x41b591
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x41e
push dword [ebx]
call esi
and dword [ebp - 0x18], 0
lea edi, [ebp - 0x14]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push 1
push 0x444
push dword [ebx]
mov dword [ebp - 0x14], 0xe152
mov word [ebp - 0x10], 4
call esi
push 0xb
push 0xd
mov ecx, ebx
call fcn.00444881
push 0x12
push 0x14
pop esi
push esi
mov ecx, ebx
call fcn.004448a9
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0xd0]
shr eax, 1
test al, 1
je 0x41b57f
push esi
push 0x12
push esi
push 3
push 3
push 0
jmp 0x41b589
push 0x16
push 0x12
push esi
xor eax, eax
push eax
push eax
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495535
mov esp, ebp
pop ebp
ret
Function at 0x41bc68
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
call fcn.004199f1
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00491c27
inc eax
pop ecx
cmp eax, 0x3fffffff
jle 0x41bcc7
xor eax, eax
jmp 0x41bce3
lea esi, [eax + eax]
mov eax, esi
call fcn.00495c60
mov eax, esp
lea ecx, [ebp - 0x20c]
push 3
push esi
push ecx
push eax
call fcn.00418030
push 0
push eax
call fcn.00485dfd
mov dword [edi + 0x114], eax
pop ecx
pop ecx
test eax, eax
je 0x41bd0e
lea eax, [ebp - 0x20c]
push eax
lea ecx, [edi + 0x118]
call fcn.00445d59
xor eax, eax
inc eax
jmp 0x41bd10
xor eax, eax
lea esp, [ebp - 0x41c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495535
mov esp, ebp
pop ebp
ret
Function at 0x424157
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ebx, [ecx + 4]
xor edi, edi
mov dword [ebp - 0x10], ebx
cmp dword [ebx], edi
je 0x424180
push dword [ebx]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebx], edi
push 0x20
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00491060
mov eax, dword [ebp + 0x10]
mov esi, edi
mov dword [ebp - 0x30], eax
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], esi
cmp dword [ebp + 8], esi
je 0x4241d0
push dword [ebp + 8]
call fcn.00491c27
inc eax
push 2
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004018d4
add esp, 0x10
test eax, eax
jns 0x4241d4
mov ebx, edi
jmp 0x42420f
mov ebx, dword [ebp - 8]
cmp ebx, 0x400
jg 0x4241f5
push ebx
call fcn.0044ef78
pop ecx
test al, al
je 0x4241f5
mov eax, ebx
call fcn.00495c60
mov eax, esp
jmp 0x424201
push ebx
lea ecx, [ebp - 0xc]
call fcn.00417062
mov esi, dword [ebp - 0xc]
push 3
push ebx
push dword [ebp + 8]
push eax
call fcn.00418030
mov ebx, eax
cmp dword [ebp + 0xc], edi
je 0x42426e
push dword [ebp + 0xc]
call fcn.00491c27
inc eax
push 2
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004018d4
add esp, 0x10
test eax, eax
js 0x42426e
mov edi, dword [ebp - 8]
cmp edi, 0x400
jg 0x424254
push edi
call fcn.0044ef78
pop ecx
test al, al
je 0x424254
mov eax, edi
call fcn.00495c60
mov eax, esp
jmp 0x424260
push edi
lea ecx, [ebp - 0xc]
call fcn.00417062
mov esi, dword [ebp - 0xc]
push 3
push edi
push dword [ebp + 0xc]
push eax
call fcn.00418030
mov edi, eax
test ebx, ebx
je 0x424289
test edi, edi
je 0x424289
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push eax
push edi
push ebx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov edi, eax
jmp 0x42429f
push 8
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or edi, 0xffffffff
jmp 0x42429f
push esi
mov esi, dword [esi]
call fcn.0048e3df
pop ecx
test esi, esi
jne 0x424296
mov eax, edi
lea esp, [ebp - 0x3c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495535
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4254e1
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00491060
add esp, 0xc
cmp dword [ebp + 0x14], 0
push dword [ebp + 0x18]
push 0x23
pop eax
push 0x1c
pop ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42559f
test esi, esi
je 0x42559b
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp + 0x18], 0
je 0x425582
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x425582
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0xc]
push edi
call fcn.00491bcb
push eax
call fcn.004176f5
add esp, 0x10
mov al, 1
jmp 0x4255a1
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00495535
mov esp, ebp
pop ebp
ret

Function at 0x42608d
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x80
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4260cd
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_htonl]
jmp 0x4260d4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495535
mov esp, ebp
pop ebp
ret
Function at 0x42e9bb
Capabilities:
Get file version info

Disassembly:
push 0x61c
mov eax, 0x4b2b40
call fcn.0049560c
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
and dword [ebp - 0x61c], 0
mov dword [ebp - 0x618], eax
lea eax, [ebp - 0x61c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x42eae9
and dword [ebp - 0x614], 0
lea ecx, [ebp - 0x614]
push esi
call fcn.004171a9
push dword [ebp - 0x614]
and dword [ebp - 4], 0
push esi
push dword [ebp - 0x61c]
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42ead0
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x620]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x614]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42ead0
mov ecx, dword [ebp - 0x620]
push dword [ebp - 0x618]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04x_s
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.00405be7
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x614]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42ead0
push dword [ebp - 0x618]
push dword [ebp + 0xc]
push ebx
call fcn.0045efef
lea eax, [ebp - 0x610]
add esp, 0xc
cmp dword [ebp - 0x614], eax
je 0x42eacc
lea ecx, [ebp - 0x614]
call fcn.00424c37
mov al, 1
jmp 0x42eaeb
lea eax, [ebp - 0x610]
cmp dword [ebp - 0x614], eax
je 0x42eae9
lea ecx, [ebp - 0x614]
call fcn.00424c37
xor al, al
call fcn.004955bb
ret
Function at 0x42fe67
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42fe82
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x430853
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx + 0x10], 0xf3bcc908
mov dword [ecx + 0x14], 0x6a09e667
mov dword [ecx + 0x18], 0x84caa73b
mov dword [ecx + 0x1c], 0xbb67ae85
mov dword [ecx + 0x20], 0xfe94f82b
mov dword [ecx + 0x24], 0x3c6ef372
mov dword [ecx + 0x28], 0x5f1d36f1
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0xade682d1
mov dword [ecx + 0x34], 0x510e527f
mov dword [ecx + 0x38], 0x2b3e6c1f
mov dword [ecx + 0x3c], 0x9b05688c
mov dword [ecx + 0x40], 0xfb41bd6b
mov dword [ecx + 0x44], 0x1f83d9ab
mov dword [ecx + 0x48], 0x137e2179
mov dword [ecx + 0x4c], 0x5be0cd19
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
ret

Function at 0x430b50
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push edi
push eax
lea ecx, [ebx + 0xc]
call fcn.00445d59
push 0
call fcn.004954e4
mov dword [ebx + 4], eax
lea edi, [ebp - 0x12]
xor eax, eax
mov dword [ebx + 8], edx
stosd dword es:[edi], eax
pop ecx
push 2
mov ecx, ebx
mov dword [ebp - 0x18], 0x20
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
pop eax
mov word [ebp - 0x14], ax
call fcn.0042608d
push dword [ebp - 0x18]
lea ecx, [ebx + 0x58]
mov dword [ebp - 0x10], eax
call fcn.0043d403
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_WSAAddressToStringW]
push 0xffffffffffffffff
lea ecx, [ebx + 0x58]
call fcn.004431bf
push 0xf
pop eax
push eax
lea ecx, [ebx + 0x54]
mov dword [ebp - 0x18], eax
call fcn.0043d403
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0xffffffffffffffff
lea ecx, [ebx + 0x54]
call fcn.004431bf
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495535
mov esp, ebp
pop ebp
ret 4
Function at 0x430eb7
Capabilities:
Get geographical location

Disassembly:
push 4
mov eax, 0x4b35e4
call fcn.004955d9
mov ebx, ecx
push 0
push 0
push 0x184
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
movzx esi, word [edi*2 + 0x4e54e4]
call fcn.00425f07
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d0a6
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0x200
call fcn.0043d403
push 0x200
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004431bf
push dword [ebp - 0x10]
push edi
push 0x181
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0x19a
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x58]
cmp esi, dword [eax + 4]
jne 0x430f57
push 0
push edi
push 0x186
push dword [ebx + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00443157
inc edi
cmp edi, 2
jb 0x430ed9
call fcn.004955a7
ret

Function at 0x431a27
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push pe_nt_image_headers32
xor ebx, ebx
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.00491060
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x431a77
cmp dword [ebp - 0x114], 6
jb 0x431a77
inc ebx
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00495535
mov esp, ebp
pop ebp
ret

Function at 0x432164
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00491060
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
push dword [0x4ef8b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp + 8]
movzx eax, ax
push eax
lea eax, [ebp - 0x20c]
push eax
push str._s._04x.MUI
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0045e4fe
add esp, 0x14
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
test eax, eax
je 0x432209
push 1
push 0
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x432209
push eax
push 0x4ef8b4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov al, 1
jmp 0x43220b
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495535
mov esp, ebp
pop ebp
ret
Function at 0x436b45
Capabilities:
Hide graphical window

Disassembly:
push ebx
push edi
mov edi, ecx
push 2
lea ebx, [edi + 4]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [edi + 0x1b0]
call fcn.0044706c
push 0x11
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [edi + 0x174]
call fcn.00447045
push 0
mov ecx, ebx
call fcn.004191fd
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0041e630
xor eax, eax
pop edi
inc eax
pop ebx
ret 0x10

Function at 0x436d2c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push 0xffffffffffffffff
xor edi, edi
mov esi, ecx
push edi
call fcn.0041e2e6
lea ebx, [esi + 4]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.004191fd
push dword [ebx]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [ebx]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, esi
call fcn.004309c3
cmp dword [esi + 0x10c], edi
je 0x436da6
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e8
push dword [ebx]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x3e9
push dword [ebx]
call edi
push 0
push eax
call esi
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret 0x10
mov eax, dword [esi + 0xf8]
cmp dword [eax - 0xc], edi
je 0x436d9d
push 0x3ed
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00443e3d
pop ecx
xor eax, eax
jmp 0x436da0