joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c90
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x43f04c], 0
je 0x405cf1
cmp word [0x43f328], 0xd7b2
jne 0x405cb9
cmp dword [0x43f330], 0
jbe 0x405cb9
mov eax, 0x43f324
call dword [0x43f340]
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
push 0x405d1c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x43d02c], 0
jne 0x405d0d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x408300
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408467
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406730
cmp si, word [0x43d7cc]
jb 0x40839a
cmp si, word [0x43d9cc]
ja 0x40839a
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x40839a
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x43d7cc]
jae 0x408374
mov edi, ebx
dec edi
jmp 0x408395
cmp si, word [ebx*8 + 0x43d7cc]
jbe 0x408384
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x408395
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x43d7d0]
call fcn.00408210
jmp 0x40839a
cmp edi, dword [ebp - 0xc]
jae 0x40835e
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408449
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408449
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406918
push dword [ebp - 0x164]
push 0x408484
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00406918
push dword [ebp - 0x168]
push 0x408494
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406918
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00406cc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40846e
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00406728
ret
Function at 0x408620
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 0x408725
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x441b54
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x441b6c]
jne 0x40866c
mov eax, esi
mov edx, 0x441b70
mov ecx, 0x55
call fcn.00406918
push 0x441b54
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40870f
push 0x441b54
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00406730
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4086dd
cmp byte [0x441b50], 0
je 0x4086a2
mov edx, esi
mov eax, ebx
call fcn.00408500
jmp 0x4086dd
mov edx, esi
mov eax, ebx
call fcn.00408300
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4086dd
cmp dword [esi], 0
je 0x4086c6
mov eax, esi
mov edx, 0x408740
call fcn.00406b20
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408300
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406b20
push 0x441b54
call sub.kernel32.dll_EnterCriticalSection
mov word [0x441b6c], bx
push 0xaa
mov eax, dword [esi]
call fcn.004067bc
push eax
push 0x441b70
call sub.kernel32.dll_lstrcpynW
push 0x441b54
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40872c
lea eax, [ebp - 4]
call fcn.00406720
ret
Function at 0x408964
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.00406718
xor eax, eax
push ebp
push 0x408b49
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4089a4
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4089be
push 0x105
mov eax, dword [ebp - 4]
call fcn.004067bc
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x408b33
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408b58
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408a4d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408b58
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408a4d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408b8c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408a4d
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408bc0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x408b33
xor eax, eax
push ebp
push 0x408b2c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408768
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 0x408abc
mov eax, dword [ebp - 0x10]
call fcn.004041a4
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.004068dc
jmp 0x408b07
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x408c00
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x408b07
mov eax, dword [ebp - 0x10]
call fcn.004041a4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x408c00
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004068dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408b33
cmp dword [ebp - 8], 0
je 0x408b22
mov eax, dword [ebp - 8]
call fcn.004041c0
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 0x408b50
lea eax, [ebp - 4]
call fcn.00406720
ret
Function at 0x408e14
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov esi, ecx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
call fcn.00406718
mov eax, dword [ebp - 0x21c]
call fcn.00406718
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x408fb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406730
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.004067bc
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrcpynW
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrlenW
add eax, eax
lea edx, [ebp - 0x20a]
add eax, edx
sub eax, 2
mov dword [edi], eax
jmp 0x408eb4
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x408ec6
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x408eb1
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x408f7f
add dword [edi], 2
mov eax, dword [edi]
mov word [eax], 0
lea eax, [ebp - 0x20a]
mov edx, dword [edi]
sub edx, eax
sar edx, 1
jns 0x408eef
adc edx, 0
mov eax, 0x105
sub eax, edx
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x218]
call fcn.00408964
cmp dword [ebp - 0x220], 0
je 0x408f27
push ebp
mov eax, dword [ebp - 0x220]
call fcn.00408d08
pop ecx
mov ebx, eax
jmp 0x408f7f
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.00408620
mov eax, dword [ebp - 0x224]
call fcn.00408d08
pop ecx
mov ebx, eax
test bl, bl
jne 0x408f72
cmp byte [0x441b50], 0
jne 0x408f72
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.00408620
mov eax, dword [ebp - 0x228]
call fcn.00408d08
pop ecx
mov ebx, eax
test bl, bl
jne 0x408f7f
push ebp
call fcn.00408db8
pop ecx
mov ebx, eax
test bl, bl
je 0x408f95
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408fba
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00406728
ret

Function at 0x4096fc
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 0x40a7f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x441c4c
push 0xa
push 0x40a884
mov eax, dword [0x441c38]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40a814
call fcn.00414eac
push ebx
mov eax, dword [0x441c38]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40a82b
call fcn.00414eac
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40a83d
call fcn.00414eac
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x441c50], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x441c54], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x441c58], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x441c5c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x441c60], ecx
add edx, dword [eax + 0x14]
mov dword [0x441c64], edx
pop esi
pop ebx
ret

Function at 0x40e05c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40e105
test eax, edx
je 0x40e108
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40e085
push edx
mov edx, eax
mov eax, esp
call fcn.00406934
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40e09b
push eax
lea eax, [esp + 8]
call fcn.00406934
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40e0aa
movzx eax, word [eax]
sub eax, ecx
jmp 0x40e0d1
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40e0eb
add ecx, 4
js 0x40e0c2
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40e0e8
push eax
mov eax, ecx
mov edx, 2
call fcn.00405e68
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40e0cf
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40e0d1
xor eax, eax
ret
test eax, eax
je 0x40e118
test edx, edx
jne 0x40e06c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41247c
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 0x4124b5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040686c
jmp 0x4124be
mov eax, ebx
mov edx, esi
call fcn.00406730
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4124c8
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 0x4124ea
movzx eax, word [esp]
jmp 0x4124ec
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x412c7c
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 0x412da1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00412a8c
mov esi, eax
mov eax, dword [0x43e6b4]
cmp byte [eax], 0
je 0x412d49
mov eax, dword [0x43e578]
call fcn.004044ac
call fcn.004042ec
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 [0x412c54]
call fcn.00407d2c
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 0x412dbc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x412d85
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x43e548]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x441c38]
call fcn.00407df0
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 0x412da8
lea eax, [ebp - 4]
mov edx, dword [0x412c54]
call fcn.00407d38
ret

Function at 0x414d54
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.00406178
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x414cfe
mov eax, edi
add eax, eax
call fcn.004041a4
mov esi, eax
jmp 0x414d00
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x414d39
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 0x414d23
mov eax, esp
cmp esi, eax
je 0x414d46
mov eax, esi
call fcn.004041c0
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 0x414d80
cmp bl, 0
je 0x414d7c
cmp bl, 0x41
jl 0x414d77
cmp bl, 0x5a
jg 0x414d77
or bl, 0x20
xor al, bl
inc esi
jmp 0x414d5b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x414cc0
Function at 0x4387ec
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
xor esi, esi
cmp byte [0x443f70], 0
jne 0x43887d
mov dl, 1
mov eax, dword [0x437da0]
call fcn.0043ad30
mov dword [0x443f84], eax
push 0
mov eax, dword [0x441c38]
push eax
push 0x438740
push 4
call sub.user32.dll_SetWindowsHookExW
mov dword [0x443f80], eax
cmp dword [0x443f80], 0
je 0x43887d
mov byte [0x443f70], 1
push 0x438888
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingW
mov dword [0x443f78], eax
push 0
push 0
push 0
push 2
mov eax, dword [0x443f78]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x443f74], eax
mov eax, dword [0x443f74]
mov dword [eax], ebx
mov dword [0x443f7c], ebx
mov esi, dword [0x443f80]
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x40a0aa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d4a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004069b7
mov dword [ebp - 0x14], eax
cmp dword [0x41f454], esi
jne 0x40a19d
push 0x800
push esi
push 0x415c88
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40a12a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40a27d
push esi
push esi
push 0x415c88
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40a27d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a27d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x41f454], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x41f458], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x41f45c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41f464], eax
test eax, eax
je 0x40a19a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41f460], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40a1c2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40a1b5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40a1d7
push 4
pop eax
jmp 0x40a27f
cmp dword [ebp - 0x14], esi
je 0x40a1d7
push dword [0x41f454]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40a1bc
mov eax, dword [0x41f460]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40a235
cmp dword [0x41f464], edi
je 0x40a235
push eax
call ebx
push dword [0x41f464]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40a235
test eax, eax
je 0x40a235
call ecx
test eax, eax
je 0x40a22a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40a22a
test byte [ebp - 8], 1
jne 0x40a235
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40a265
mov eax, dword [0x41f458]
cmp eax, edi
je 0x40a262
push eax
call ebx
test eax, eax
je 0x40a262
call eax
mov esi, eax
test esi, esi
je 0x40a262
mov eax, dword [0x41f45c]
cmp eax, edi
je 0x40a262
push eax
call ebx
test eax, eax
je 0x40a262
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x41f454]
call ebx
test eax, eax
je 0x40a27d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40a27f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405af9
mov esp, ebp
pop ebp
ret
Function at 0x44c323
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x46b578
call fcn.0044ca51
push 1
call fcn.0044c4de
pop ecx
test al, al
jne 0x44c1cc
push 7
call fcn.0044d2fd
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0044c4a9
mov byte [ebp - 0x24], al
mov eax, dword [0x484c10]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x44c1c5
test eax, eax
jne 0x44c236
mov dword [0x484c10], ecx
push 0x45151c
push 0x451504
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x44c219
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x44c31d
push 0x451500
push 0x451440
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x484c10], 2
jmp 0x44c23b
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0044c63b
pop ecx
call fcn.0044d2f1
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x44c26b
push esi
call fcn.0044c5ae
pop ecx
test al, al
je 0x44c26b
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0044d52c
call esi
call fcn.0044d2f7
mov esi, eax
cmp dword [esi], edi
je 0x44c289
push esi
call fcn.0044c5ae
pop ecx
test al, al
je 0x44c289
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.0044d412
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.0044d445
test al, al
jne 0x44c2c2
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x44c2cb
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0044c658
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x44c31d
call fcn.0044ca97
ret
call fcn.0044c032
jmp 0x44c1ad

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x76c330e4
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3e8a7820
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0xccf370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xccf38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xcf8074
push ecx
mov edi, eax
call fcn.00ce3198
mov esi, eax
add esp, 8
test esi, esi
jne 0xccf3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00ce302e
push esi
call fcn.00ce2fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret