joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ad14c]
jne 0x401a70
repz ret
jmp fcn.0040251b

Function at 0x40b0ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ad14c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404134
and dword [ebp - 0x14], 0
cmp dword [0x4af7d8], 0
mov dword [ebp - 0x18], eax
jne 0x40b161
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b209
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b209
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4af7d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4af7dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4af7e0], eax
call edi
push eax
call esi
mov dword [0x4af7e8], eax
test eax, eax
je 0x40b161
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4af7e4], eax
mov eax, dword [0x4af7e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b1ba
cmp dword [0x4af7e8], ecx
je 0x40b1ba
push eax
call esi
push dword [0x4af7e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b1ba
test ebx, ebx
je 0x40b1ba
call edi
test eax, eax
je 0x40b1b1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b1b1
test byte [ebp - 8], 1
jne 0x40b1ba
or dword [ebp + 0x10], 0x200000
jmp 0x40b1ed
mov eax, dword [0x4af7dc]
cmp eax, dword [ebp - 0x18]
je 0x40b1ed
push eax
call esi
test eax, eax
je 0x40b1ed
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b1ed
mov eax, dword [0x4af7e0]
cmp eax, dword [ebp - 0x18]
je 0x40b1ed
push eax
call esi
test eax, eax
je 0x40b1ed
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4af7d8]
call esi
test eax, eax
je 0x40b209
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b20b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a66
leave
ret
Function at 0x4a60d0
Capabilities:
Get geographical location

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jle 0x4a615e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
cmp dword [esp + 0x18], 0x2d
jne 0x4a611c
push 0
push str.vepamanal_tulesizoxe_yabadodopa_zokorubonoxesiticohub_foyidufumobowebacaxosububonobo
call edi
push str.wuviyakox
push str.yekukefocudovizene
push str.kaluravujokiziduyux
push str.vixuboxituja
call ebx
push 0
call ebp
call fcn.004a6020
mov ecx, dword [esp + 0x14]
xor byte [esi + ecx], al
cmp dword [esp + 0x18], 0xf
jne 0x4a6154
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push str.tigegisipawupesavumefozoj
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
inc esi
cmp esi, dword [esp + 0x18]
jl 0x4a60f2
pop edi
pop ebp
pop ebx
cmp dword [esp + 0xc], 0x2d
pop esi
jne 0x4a617a
mov dword [0x4b08d0], 0xa62e7790
mov dword [0x4b08d4], 0xffffffff
ret
Function at 0x4a6520
Capabilities:
Access the windows event log
Set file attributes

Disassembly:
mov eax, dword [0x4b08c4]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
mov ebp, 0x1519a5
lea esp, [esp]
mov dword [0x4b052c], 0x8e46a7b8
cmp eax, 0x3dc
jne 0x4a656a
push 0
push 0x4aaf78
call esi
push str.rusokuj
push 0
push 0
call edi
mov eax, dword [0x4b08c4]
dec ebp
jne 0x4a6540
mov edi, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
xor esi, esi
mov ebp, 0xec58acac
lea ebx, [ebx]
cmp eax, 0x997
jne 0x4a6592
push 0
push 0
call edi
mov eax, dword [0x4b08c4]
cmp esi, 0x846373
jne 0x4a65a9
mov eax, dword [0x4aead0]
add eax, 0xa231
mov dword [0x4b08c4], eax
cmp eax, 0x141
jne 0x4a65c0
mov dword [0x4afd18], ebp
mov dword [0x4afd1c], 0xffffffff
inc esi
cmp esi, 0x123c962
jl 0x4a6580
call fcn.004a61c0
pop edi
pop esi
xor eax, eax
pop ebp
ret 0x10
Function at 0x402b78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x412014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402c10
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402bf0
xor eax, eax
push ebp
push 0x402be9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402c2c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402bf0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x412014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x412014], ax
mov esp, ebp
pop ebp
ret

Function at 0x4034bc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x413044], 0
je 0x40351d
cmp word [0x413218], 0xd7b2
jne 0x4034e5
cmp dword [0x413220], 0
jbe 0x4034e5
mov eax, 0x413214
call dword [0x413230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41205c
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 0x403544
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x412020], 0
jne 0x403539
push 0
push 0x412054
push 0x41205c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x403f60
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404190
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403fe3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404190
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403fe3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4041ac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40406c
xor eax, eax
push ebp
push 0x404065
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403da8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40404a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4041cc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40404a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40406c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404186
cmp byte [ebp - 0xd], 0
jne 0x4040b3
cmp byte [ebp - 0x12], 0
je 0x404186
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4040cc
dec ebx
cmp byte [ebx], 0x2e
je 0x4040db
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4040cb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404186
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404118
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404186
cmp byte [ebp - 0xd], 0
je 0x404186
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404186
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40406c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404190
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403fe3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404190
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403fe3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4041ac
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40406c
xor eax, eax
push ebp
push 0x404065
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00403da8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40404a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4041cc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40404a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40406c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404186
cmp byte [ebp - 0xd], 0
jne 0x4040b3
cmp byte [ebp - 0x12], 0
je 0x404186
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4040cc
dec ebx
cmp byte [ebx], 0x2e
je 0x4040db
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4040cb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404186
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404118
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404186
cmp byte [ebp - 0xd], 0
je 0x404186
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404186
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40431c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404382
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040388c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040276c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40436c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404389
lea eax, [ebp - 0x10]
call fcn.00403638
ret

Function at 0x406158
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406191
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403728
jmp 0x40619a
mov eax, ebx
mov edx, esi
call fcn.0040368c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4061a4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4061c5
mov al, byte [esp]
jmp 0x4061c7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40684c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4066c4
mov eax, dword [0x412408]
cmp byte [eax], 0
je 0x4068c8
mov eax, dword [0x41235c]
call fcn.00402708
call fcn.004025ec
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040564c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x406910
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4068fe
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x41233c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x413660]
call fcn.00403d6c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x4072bc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407320
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040388c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405520
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407327
lea eax, [ebp - 0xc]
call fcn.00403638
ret

Function at 0x40de48
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x40df29
cmp eax, 5
jge 0x40df34
call fcn.0040d4ec
ret
cmp eax, 5
jne 0x40e6a8
jmp 0x40e01a
mov eax, 7
call fcn.0040de48
jmp 0x40e07e
mov dword [0x414064], 0xa
jmp 0x40e10f
mov dword [0x4141ac], 3
jmp 0x40e1f1
mov eax, dword [0x414064]
cdq
push edx
push eax
mov eax, dword [0x4141ac]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp edx, 0
jne 0x40e21d
cmp eax, 0
jbe 0x40e5bf
jmp 0x40e35d
jle 0x40e5bf
jmp 0x40e35d
mov eax, dword [0x4142cc]
mov dword [0x4142d0], eax
jmp 0x40e423
mov eax, dword [0x4142d0]
push eax
push 0
call sub.kernel32.dll_LoadResource
mov dword [0x4141c0], eax
jmp 0x40e4f7
mov eax, dword [0x4141c0]
mov dword [0x4141bc], eax
jmp 0x40e5bf
mov eax, 6
call fcn.0040de48
jmp 0x40effa
cmp eax, 6
jne 0x40ea4d
jmp 0x40e766
mov eax, dword [0x4141bc]
push eax
call sub.kernel32.dll_LockResource
mov dword [0x4141b8], eax
jmp 0x40e856
mov eax, dword [0x4142cc]
push eax
push 0
call sub.kernel32.dll_SizeofResource
mov dword [0x4141b0], eax
jmp 0x40e97c
mov eax, dword [0x4141b8]
mov dword [0x4141a8], eax
jmp 0x40effa
cmp eax, 7
jne 0x40effa
jmp 0x40eb65
xor eax, eax
mov dword [0x4142d4], eax
jmp 0x40eba0
mov dword [0x414064], 0xa
jmp 0x40ec83
cmp dword [0x414064], 0
jle 0x40eed1
jmp 0x40ecd2
xor eax, eax
mov dword [0x4141ac], eax
mov edx, 0x40effc
mov ecx, 0xa
mov eax, dword [0x413660]
call fcn.00408adc
mov dword [0x4142d4], eax
inc dword [0x4141ac]
cmp dword [0x4141ac], 1
jne 0x40ecd9
jmp 0x40eed1
mov eax, dword [0x4142d4]
mov dword [0x4142cc], eax
jmp 0x40effa
ret
Function at 0x410034
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00408adc
mov eax, dword [ebp + 8]
mov dword [0x41419c], eax
jmp 0x4100c4
mov eax, 0x414074
xor ecx, ecx
mov edx, 0x44
call fcn.0040d270
jmp 0x410162
mov eax, 0x4140b8
xor ecx, ecx
mov edx, 0x10
call fcn.0040d270
jmp 0x4101f3
mov word [0x4140a4], 0
jmp 0x4102ca
mov dword [0x414074], 0x44
jmp 0x4102fe
push 0x4140b8
push 0x414074
push 0
push 0
push 4
push 0
push 0
push 0
push esi
push ebx
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x41064b
jmp 0x4103df
mov byte [0x414068], 1
jmp 0x410420
xor eax, eax
push ebp
push 0x410641
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.0040f004
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41064b
jmp 0x4104f9
mov eax, 2
call fcn.0040de48
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00408adc
jmp 0x410640
ret
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
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.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x9143bc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x9143c6
pushal
call 0x9143cc
pop ebp
sub ebp, 0x10
sub ebp, 0x5143bc
jmp 0x9143e2
mov eax, 0x5143bc
add eax, ebp
add eax, 0x4c
mov ecx, 0x600
mov edx, 0x56b9c704
xor byte [eax], dl
inc eax
dec ecx
jne 0x9143f9
jmp 0x91440c
invalid
Function at 0x401a72
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42914c]
jne 0x401a7c
repz ret
jmp fcn.004025a5

Function at 0x40b17e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42914c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004043d4
and dword [ebp - 0x14], 0
cmp dword [0x42b7d8], 0
mov dword [ebp - 0x18], eax
jne 0x40b231
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b2d9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b2d9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42b7d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42b7dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42b7e0], eax
call edi
push eax
call esi
mov dword [0x42b7e8], eax
test eax, eax
je 0x40b231
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42b7e4], eax
mov eax, dword [0x42b7e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b28a
cmp dword [0x42b7e8], ecx
je 0x40b28a
push eax
call esi
push dword [0x42b7e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b28a
test ebx, ebx
je 0x40b28a
call edi
test eax, eax
je 0x40b281
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b281
test byte [ebp - 8], 1
jne 0x40b28a
or dword [ebp + 0x10], 0x200000
jmp 0x40b2bd
mov eax, dword [0x42b7dc]
cmp eax, dword [ebp - 0x18]
je 0x40b2bd
push eax
call esi
test eax, eax
je 0x40b2bd
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b2bd
mov eax, dword [0x42b7e0]
cmp eax, dword [ebp - 0x18]
je 0x40b2bd
push eax
call esi
test eax, eax
je 0x40b2bd
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42b7d8]
call esi
test eax, eax
je 0x40b2d9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b2db
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a72
leave
ret