joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fe26
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40fe35
pop dword [ebp - 0x44]
mov eax, 0x7c5eef19
add eax, 0x83e20f1c
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x4da2c
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0xd5ee1958
sub ecx, 0xd5eddb5b
xor edx, edx
add edx, eax
mov edi, 0x476e00
add edi, dword [ebp - 0x44]
mov esi, 0x604644b7
xor dword [ebp - 0xc], edi
mov ebx, dword [edi]
add ebx, esi
mov dword [ebp - 0x1c], 0x37d5cf9b
mov dword [edx], ebx
xor dword [ebp - 0x34], edi
add edx, 4
add edi, 0xcc8a7687
sub edi, 0xcc8a7683
loop 0x40fe85
add eax, 0xc67203bb
sub eax, 0xc67118f4
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x32936f81
sub ecx, 0x32536f81
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x43fbad
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5e8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fbf0
push str.SystemFunction040
push dword [0x46b5e8]
call edi
push str.SystemFunction041
push dword [0x46b5e8]
mov dword [0x46b5f0], eax
call edi
mov dword [0x46b5f4], eax
jmp 0x43fbf5
mov eax, dword [0x46b5f4]
cmp dword [0x46b5f0], 0
je 0x43fc06
test eax, eax
jne 0x43fcad
push 0x46b5ec
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fcb7
push str.CryptProtectMemory
push dword [0x46b5ec]
call edi
cmp dword [0x46b5f0], 0
mov dword [0x46b5f8], eax
jne 0x43fc6b
test eax, eax
jne 0x43fc6b
call dword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x28
push str.cryputil.cpp
call fcn.004037d3
jmp 0x43fcb7
push str.CryptUnprotectMemory
push dword [0x46b5ec]
call edi
cmp dword [0x46b5f4], 0
mov dword [0x46b5fc], eax
jne 0x43fcad
test eax, eax
jne 0x43fcad
call dword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x2d
jmp 0x43fc5f
mov dword [0x46b600], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x403f9c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405aa8
test esi, esi
jne 0x403fd2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00405be4
jmp 0x403ff0
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403e80
mov edi, eax
test esi, esi
je 0x403ff0
cmp dword [ebx], 0
je 0x403ff0
dec esi
jmp 0x403fd9
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405828
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x43404c], 0
je 0x40588f
cmp word [0x434338], 0xd7b2
jne 0x405851
cmp dword [0x434340], 0
jbe 0x405851
mov eax, 0x434334
call dword [0x434350]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x4058bc
call fcn.00405f48
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x42f022], 0
jne 0x4058ab
push 0
push 0x42f99a
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406fe8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40714d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405aa8
cmp si, word [0x42f9d8]
jb 0x407080
cmp si, word [0x42fbd8]
ja 0x407080
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x407080
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x42f9d8]
jae 0x40705a
mov edi, ebx
dec edi
jmp 0x40707b
cmp si, word [ebx*8 + 0x42f9d8]
jbe 0x40706a
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40707b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x42f9dc]
call fcn.00406f08
jmp 0x407080
cmp edi, dword [ebp - 8]
jae 0x407044
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40712f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40712f
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406084
push dword [ebp - 0x160]
push 0x407168
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00406084
push dword [ebp - 0x164]
push 0x407178
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406084
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040623c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407154
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00405b08
ret
Function at 0x407300
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x407403
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x436b7c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x436b94]
jne 0x40734c
mov eax, esi
mov edx, 0x436b96
mov ecx, 0x55
call fcn.00406084
push 0x436b7c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4073ed
push 0x436b7c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00405aa8
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4073bb
cmp byte [0x436b78], 0
je 0x407380
mov edx, esi
mov eax, ebx
call fcn.004071e4
jmp 0x4073bb
mov edx, esi
mov eax, ebx
call fcn.00406fe8
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4073bb
cmp dword [esi], 0
je 0x4073a4
mov eax, esi
mov edx, 0x40741c
call fcn.0040615c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00406fe8
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040615c
push 0x436b7c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x436b94], bx
push 0xaa
mov eax, dword [esi]
call fcn.00405ff0
push eax
push 0x436b96
call sub.kernel32.dll_lstrcpynW
push 0x436b7c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40740a
lea eax, [ebp - 4]
call fcn.00405aa8
ret
Function at 0x407638
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405b8c
xor eax, eax
push ebp
push 0x40785d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x407678
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x407692
push 0x105
mov eax, dword [ebp - 4]
call fcn.00405ff0
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x407847
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40786c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407761
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40786c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407761
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4078a8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407761
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4078a8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407761
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4078dc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x407761
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x407910
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x407847
xor eax, eax
push ebp
push 0x407840
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00407444
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4077d0
mov eax, dword [ebp - 0x10]
call fcn.00403bdc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00406048
jmp 0x40781b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x407950
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40781b
mov eax, dword [ebp - 0x10]
call fcn.00403bdc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x407950
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00406048
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407847
cmp dword [ebp - 8], 0
je 0x407836
mov eax, dword [ebp - 8]
call fcn.00403bf8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407864
lea eax, [ebp - 4]
call fcn.00405aa8
ret
Function at 0x407b4c
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405b8c
xor eax, eax
push ebp
push 0x407c0c
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00406084
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004061b4
mov eax, dword [ebx]
call fcn.00407a14
test al, al
jne 0x407be9
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00406084
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004061b4
mov eax, dword [ebx]
call fcn.00407a14
test al, al
jne 0x407be9
mov eax, ebx
call fcn.00405aa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407c13
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405b08
lea eax, [ebp - 4]
call fcn.00405aa8
ret

Function at 0x408184
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x414fd8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00405ff0
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x415042
test ah, 4
je 0x41503b
test bl, bl
jne 0x415000
mov al, 1
jmp 0x415069
test al, 0x10
je 0x415008
xor eax, eax
jmp 0x415069
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41502c
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x415069
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x415069
test al, 0x10
sete al
jmp 0x415069
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x415063
cmp ebx, 3
je 0x415063
cmp ebx, 0x7b
je 0x415063
mov eax, esi
call fcn.00414f98
test al, al
jne 0x415067
xor eax, eax
jmp 0x415069
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x415070
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.00405ff0
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x415117
test esi, 0x400
jne 0x4150ac
test esi, 0x10
setne bl
jmp 0x41513b
cmp byte [esp], 0
je 0x4150e0
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x41513b
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x41513b
test esi, 0x10
je 0x4150ec
mov bl, 1
jmp 0x41513b
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x415113
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x41513b
mov bl, 1
jmp 0x41513b
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x415135
cmp eax, 3
je 0x415135
cmp eax, 0x7b
je 0x415135
cmp eax, 0x35
je 0x415135
cmp eax, 0x15
jne 0x415139
xor ebx, ebx
jmp 0x41513b
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x415248
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.00405ff0
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x41529d
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x415297
test ah, 4
je 0x415297
test al, 0x10
je 0x415297
mov eax, esi
call fcn.00405ff0
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x41529d
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41692c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x416965
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405be4
jmp 0x41696e
mov eax, ebx
mov edx, esi
call fcn.00405d60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x416978
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41699a
movzx eax, word [esp]
jmp 0x41699c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x417674
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x417799
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041747c
mov esi, eax
mov eax, dword [0x433408]
cmp byte [eax], 0
je 0x417741
mov eax, dword [0x433330]
call fcn.004044ac
call fcn.00403d30
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x417644]
call fcn.00406a84
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4177b4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41777d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x43330c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x436c44]
call fcn.00406b3c
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4177a0
lea eax, [ebp - 4]
mov edx, dword [0x417644]
call fcn.00406a90
ret

Function at 0x418858
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00405e5c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00408164
mov edi, eax
cmp edi, 0x104
jbe 0x4187ff
mov eax, edi
add eax, eax
call fcn.00403bdc
mov esi, eax
jmp 0x418801
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00408164
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41883c
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x418826
mov eax, esp
cmp esi, eax
je 0x418849
mov eax, esi
call fcn.00403bf8
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x418884
cmp bl, 0
je 0x418880
cmp bl, 0x41
jl 0x41887b
cmp bl, 0x5a
jg 0x41887b
or bl, 0x20
xor al, bl
inc esi
jmp 0x41885f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4187c0

Function at 0x418aa4
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00406084
add esp, 0x800
pop ebx
ret
Function at 0x418d90
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00405aa8
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00405ff0
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x418dd5
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00405be4
jmp 0x418dee
mov edx, ebx
dec edx
mov eax, esi
call fcn.004060dc
push ebx
mov eax, dword [esi]
call fcn.00405ff0
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42a248
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x431208
test edx, edx
jne 0x42a267
xor eax, eax
jmp 0x42a385
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x42a284
push esi
push edx
push eax
call fcn.0042a38c
add esp, 0xc
jmp 0x42a385
push esi
push edx
push eax
call fcn.0042a64c
add esp, 0xc
jmp 0x42a385
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x42ae30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.kernel32.dll_FindResourceW
mov edi, eax
mov dword [ebx + 0x14], edi
push edi
push esi
call sub.kernel32.dll_LoadResource
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
push eax
push esi
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebx + 0x18]
push eax
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, ebx
pop ecx
call fcn.0042ae84
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x42b0d8
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42b16d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x42b188
push ebx
push 0x42b198
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040623c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040451c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405ff0
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x42b157
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b174
lea eax, [ebp - 4]
call fcn.00405aa8
ret
Function at 0x42b1a0
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcb8
xor eax, eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x338], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42b387
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x338]
call fcn.0042aee8
mov edx, dword [ebp - 0x338]
lea eax, [ebp - 4]
mov ecx, 0x42b3a0
call fcn.004061b4
xor ecx, ecx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x2e0]
call fcn.004043c4
call fcn.00403d30
lea eax, [ebp - 0x2e0]
call fcn.00404084
call fcn.00403d30
mov edx, 0x42b3c8
lea eax, [ebp - 0x2e0]
call fcn.00404a78
call fcn.00404b78
call fcn.00403d30
push 0x42b3e0
lea edx, [ebp - 0x340]
xor eax, eax
call fcn.00403f9c
push dword [ebp - 0x340]
push 0x42b3f8
lea eax, [ebp - 0x33c]
mov edx, 3
call fcn.0040623c
mov edx, dword [ebp - 0x33c]
lea eax, [ebp - 0x2e0]
call fcn.00404a78
call fcn.00404b78
call fcn.00403d30
push 0x42b408
lea edx, [ebp - 0x348]
xor eax, eax
call fcn.00403f9c
push dword [ebp - 0x348]
push 0x42b3f8
push 0x42b42c
lea eax, [ebp - 0x344]
mov edx, 4
call fcn.0040623c
mov edx, dword [ebp - 0x344]
lea eax, [ebp - 0x2e0]
call fcn.00404a78
call fcn.00404b78
call fcn.00403d30
mov edx, 0x42b44c
lea eax, [ebp - 0x2e0]
call fcn.00404a78
call fcn.00404b78
call fcn.00403d30
lea eax, [ebp - 0x2e0]
call fcn.004044c4
call fcn.00403d30
lea eax, [ebp - 0x334]
xor ecx, ecx
mov edx, 0x44
call fcn.0040451c
mov dword [ebp - 0x308], 1
mov word [ebp - 0x304], 0
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x334]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405ff0
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x42b361
mov eax, dword [ebp - 0x2ec]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x2f0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b38e
lea eax, [ebp - 0x348]
mov edx, 5
call fcn.00405b08
lea eax, [ebp - 4]
call fcn.00405aa8
ret
Function at 0x42b5e4
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x42b6d4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x438ee4]
call fcn.00405ff0
mov edx, eax
lea eax, [ebp - 8]
call fcn.00406048
mov eax, dword [ebp - 8]
mov edx, 0x40
call fcn.00414e34
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x42b6b2
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
mov eax, ecx
sub eax, 0x13f
xor edx, edx
push edx
push eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00414f48
mov edx, 0x438efc
mov ecx, 0x13f
mov eax, dword [ebp - 4]
call fcn.00414ef0
cmp byte [0x439038], 0
je 0x42b68b
lea edx, [ebp - 0xc]
mov eax, dword [0x438ee4]
call fcn.004152a4
mov edx, dword [ebp - 0xc]
mov eax, 0x438ef0
mov ecx, 0x42b6ec
call fcn.004061b4
jmp 0x42b69b
mov eax, 0x438ef0
mov edx, dword [0x438ee4]
call fcn.00405d60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b6b9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle_1
ret