joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448f94
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449139
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40fa58]
call fcn.00403054
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403c78
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44910f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00438af4
test al, al
je 0x449102
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x449148
lea eax, [ebp - 0x254]
call fcn.00409820
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449102
xor eax, eax
push ebp
push 0x4490fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x449180
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4490e4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403ea4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x4490e4
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449102
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449005
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00413518
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449140
lea eax, [ebp - 0x260]
call fcn.00403c78
ret

Function at 0x4498dc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x48f7ac]
cmp byte [eax + 0x8d], 0
jne 0x44994d
cmp dword [0x48f7e8], 0
jne 0x44990e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x449898
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48f7e8], eax
cmp dword [0x48f7e4], 0
jne 0x449929
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48f7e4], eax
cmp dword [0x48f7ec], 0
jne 0x44994d
push esp
push 0
push 0
push 0x44983c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48f7ec], eax
pop edx
ret
Function at 0x449a44
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x449a5b
add esp, 0xfffffff0
call fcn.004033c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00417a68
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40f52c]
call fcn.00403054
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40f52c]
call fcn.00403054
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x4197f4]
call fcn.00420f3c
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x449bcc
mov eax, dword [0x48dd78]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004212e0
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x44b4f0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48dd78]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cbf0
test eax, eax
je 0x449b4b
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409138
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc18
test eax, eax
je 0x449b5f
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403ea4
mov eax, dword [0x48dbe4]
cmp byte [eax], 0
jne 0x449b90
mov eax, ebx
call fcn.00449cb8
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449bc2
call fcn.0040341c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449f14
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48f7ac]
cmp dword [eax + 0x24], 0
je 0x449fa4
cmp dword [ebx + 0x7c], 0
jne 0x449fa1
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x449ea8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x449fa1
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x449f70
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x449fa1
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.00410f60
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x449f7c
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44a8f4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x44a929
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403d5c
jmp 0x44a933
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403d10
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44b820
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x44b858
mov eax, esi
call fcn.00434834
test al, al
je 0x44b858
mov eax, dword [ebx + 0x6c]
call fcn.0043440c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44b858
push 0
mov eax, dword [ebx + 0x6c]
call fcn.0043440c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x450920
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x450b02
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x45096a
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004503f0
mov eax, dword [ebp - 0x204]
mov edx, ebx
call fcn.0040c7ac
cmp al, 1
jne 0x45096a
dec ebx
mov edi, ebx
mov eax, esi
call fcn.00450704
test al, al
je 0x450aa2
test edi, edi
jge 0x450981
xor edi, edi
lea ebx, [edi + 1]
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004503f0
mov eax, dword [ebp - 0x204]
call fcn.00403ef4
cmp ebx, eax
jge 0x4509c8
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004503f0
mov eax, dword [ebp - 0x204]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x48e11c]
and eax, 0xff
bt dword [edx], eax
jae 0x4509c8
inc ebx
mov eax, dword [esi + 0x20c]
cmp edi, eax
jl 0x4509d6
mov edi, eax
mov ebx, edi
mov ecx, ebx
mov edx, ebx
mov eax, esi
call fcn.004508fc
cmp ebx, edi
je 0x450a9a
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x450a00
mov byte [ebp - 0x1f0], 0x81
mov eax, esi
mov bx, 0xffcf
call fcn.00403260
and eax, 0x7f
movzx eax, word [eax*2 + 0x48cb58]
mov byte [ebp + eax - 0x200], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.00403260
and eax, 0x7f
movzx eax, word [eax*2 + 0x48cb58]
push eax
push pe_nt_image_headers32
mov eax, esi
call fcn.0043440c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, esi
mov bx, 0xffcf
call fcn.00403260
and eax, 0x7f
movzx eax, word [eax*2 + 0x48cb58]
push eax
push 0x101
mov eax, esi
call fcn.0043440c
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [esi + 0x214], edi
jmp 0x450ae9
test edi, edi
jge 0x450aa8
xor edi, edi
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004503f0
mov eax, dword [ebp - 0x204]
call fcn.00403ef4
cmp edi, eax
jl 0x450ade
lea edx, [ebp - 0x204]
mov eax, esi
call fcn.004503f0
mov eax, dword [ebp - 0x204]
call fcn.00403ef4
mov edi, eax
mov ecx, edi
mov edx, edi
mov eax, esi
call fcn.004508fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450b09
lea eax, [ebp - 0x204]
call fcn.00403c78
ret
Function at 0x454c3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x1ec]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x454ddf
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x224]
mov eax, dword [ebx + 0x10]
call fcn.0041ab80
cmp byte [ebp + 8], 0
je 0x454c95
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.0041aa50
jmp 0x454ca3
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.0041aa50
mov eax, dword [ebx + 0x10]
call fcn.0041ab78
dec eax
jle 0x454ce9
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.0041aa48
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.0041ab78
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.0041ab10
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov bx, 0xffcf
call fcn.00403260
test al, al
je 0x454d32
test esi, esi
jne 0x454d32
inc dword [ebp - 0xc]
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x454d68
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1ec]
call fcn.0041b914
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x470324
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4703b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.00470094
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004040b8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x47039f
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x48decc]
call fcn.00405f4c
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x46ffb8]
call fcn.0040bf90
call fcn.00403770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4703bc
lea eax, [ebp - 0x10]
call fcn.00403c78
ret

Function at 0x47393f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x48d9b2
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x473997
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x48d9d3
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x47398d
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x47399b
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x484d78
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x484ed2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484eb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403e1c
lea eax, [ebp - 0x118]
mov edx, 0x484ee8
call fcn.00403efc
mov eax, dword [ebp - 0x118]
call fcn.004040b8
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x484e24
lea eax, [ebp - 0x111]
call fcn.004090d0
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403d5c
jmp 0x484e2b
mov eax, esi
call fcn.00403c78
cmp bl, 0x61
jae 0x484e4c
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040cac4
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403d10
jmp 0x484e66
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040ca38
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403d10
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x484ef4
call fcn.00409888
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403d10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484eb9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004040b8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x487561
test al, 0x10
jne 0x487565
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x488ea0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004040a8
mov eax, dword [ebp - 8]
call fcn.004040a8
mov eax, dword [ebp - 0xc]
call fcn.004040a8
xor eax, eax
push ebp
push 0x488f6f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x488f88
call fcn.00403efc
lea eax, [ebp - 8]
mov edx, 0x488f88
call fcn.00403efc
lea eax, [ebp - 0xc]
mov edx, 0x488f88
call fcn.00403efc
mov bl, 1
push 1
lea eax, [ebp - 0xc]
call fcn.004040c4
push eax
lea eax, [ebp - 8]
call fcn.004040c4
push eax
lea eax, [ebp - 4]
call fcn.004040c4
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jae 0x488f54
xor ebx, ebx
push 0
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x488f94
call fcn.00403f40
mov eax, dword [ebp - 0x10]
mov cx, word [0x488fa8]
mov dl, 1
call fcn.0044eb04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488f76
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403c9c
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40560d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40561c
pop dword [ebp - 0x44]
mov eax, 0x40561c
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xb825747
sub dword [ebp - 0x54], 0xbd3011fc
mov dword [ebp - 0x50], 0xf8e2b599
sub dword [ebp - 0x50], 0xc6af6954
mov dword [ebp - 0x4c], 0x4ae541af
sub dword [ebp - 0x4c], 0xfe98fd81
mov dword [ebp - 0x48], 0x5cbd8792
add dword [ebp - 0x48], 0xa342786e
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x6d8b8f0e
add dword [ebp - 0x54], 0x6e6da48
mov dword [ebp - 0x50], 0x26b8c581
sub dword [ebp - 0x50], 0xe54c640c
mov dword [ebp - 0x4c], 0x8b11c35e
add dword [ebp - 0x4c], 0xd85da90e
mov dword [ebp - 0x48], 0x9eaee643
add dword [ebp - 0x48], 0x615119bd
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x126ad3ba
sub eax, 0x122a036e
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3d17b
push 0
call eax
mov ecx, 0x564b
mov esi, eax
mov edx, 0xbcc861d3
sub edx, 0xbc86b1d3
add edx, dword [ebp - 0x44]
mov ebx, 0xd1ebf854
mov edi, dword [edx]
xor dword [ebp - 0x28], 0x9485a356
xor edi, ebx
mov dword [ebp - 0x14], 0x14f6064c
mov dword [esi], edi
add dword [ebp - 0x40], 0x99d5a89
add esi, 0xb31bd91
add esi, 0xf4ce4273
add edx, 4
loop 0x405728
add eax, 0xe24a3097
sub eax, 0xe248e498
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409b38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x409b47
pop dword [ebp - 0x18]
mov eax, 0xc516aa38
sub eax, 0xc4d60ef1
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x4246c2b0
add dword [ebp - 0x28], 0xc0b829b
mov dword [ebp - 0x24], 0x312c6b83
sub dword [ebp - 0x24], 0xfef91f3e
mov dword [ebp - 0x20], 0xb390e105
sub dword [ebp - 0x20], 0x67449cd7
mov dword [ebp - 0x1c], 0xd7f6bbd8
sub dword [ebp - 0x1c], 0xd7f6bbd8
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xf6e3a1d4
add dword [ebp - 0x28], 0x7d8ec782
mov dword [ebp - 0x24], 0x69f06992
add dword [ebp - 0x24], 0xd77bf7e3
mov dword [ebp - 0x20], 0x198d034c
add dword [ebp - 0x20], 0x49e26920
mov dword [ebp - 0x1c], 0x293155ee
add dword [ebp - 0x1c], 0xd6ceaa12
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3acea
push 0
call eax
mov ecx, 0x4d0f
mov ebx, eax
mov edi, 0xe3569688
add edi, 0x1ceb1978
add edi, dword [ebp - 0x18]
mov edx, 0x6b236d9c
sub edx, 0xa298df0d
xor dword [ebp - 0xc], 0xbd26093e
mov esi, dword [edi]
add esi, edx
sub dword [ebp - 8], 0x7d616fb4
mov dword [ebx], esi
add dword [ebp - 4], 0x247e6062
add ebx, 4
add edi, 0x2e8ee757
add edi, 0xd17118ad
loop 0x409c59
add eax, 0x88e80f41
sub eax, 0x88e6e832
mov ebx, eax
add eax, 0x37a5a4bc
sub eax, 0x37a5a4b7
mov ecx, 0x369dc72
add ecx, 0xfcd6238e
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x4314d2
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x4509f8]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
push ebx
push esi
push edi
mov edi, dword [0x450c60]
mov eax, 0x104
push eax
mov dword [ebp - 0x80], eax
xor ebx, ebx
lea eax, [ebp + 0x198]
push eax
push ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov esi, 0x208
test eax, eax
jne 0x431534
push esi
lea eax, [ebp + 0x198]
push ebx
push eax
call fcn.00408720
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x198]
push eax
call main
test eax, eax
jns 0x431552
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_GetComputerNameW]
test eax, eax
jne 0x43156d
lea eax, [ebp - 0x70]
mov byte [eax], bl
inc eax
dec esi
jne 0x431567
push ebx
lea eax, [ebp - 0x74]
push eax
call main
push dword [ebp - 0x74]
xor esi, esi
push 0x44cd5e
inc esi
push esi
call fcn.0043144a
mov eax, dword [ebp - 0x7c]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
mov eax, dword [ebp - 0x78]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
lea eax, [ebp + 0x198]
push eax
push 0x44cd40
push esi
call fcn.0043144a
lea eax, [ebp - 0x70]
push eax
push 0x44cd30
push esi
call fcn.0043144a
mov eax, dword [0x450c5c]
add esp, 0x34
sub eax, ebx
je 0x4315ec
dec eax
je 0x4315e4
dec eax
je 0x4315dc
dec eax
jne 0x4315f2
mov edi, dword [0x450c6c]
jmp 0x4315f2
mov edi, dword [0x450c68]
jmp 0x4315f2
mov edi, dword [0x450c64]
jmp 0x4315f2
mov edi, dword [0x450c70]
push edi
push 0x44cd14
push esi
call fcn.0043144a
add esp, 0xc
cmp dword [ebp - 0x74], ebx
pop edi
pop esi
pop ebx
je 0x431611
push dword [ebp - 0x74]
call fcn.0042ee18
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
xor eax, eax
call fcn.00408498
add ebp, 0x3a4
leave
ret

Function at 0x432e1e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x432e2d
pop dword [ebp - 0x50]
mov eax, 0xad393e60
sub eax, 0xacf61033
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3f7f8
push 0
mov eax, 0x3c829ecd
add eax, 0xc3bd736b
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x699679c4
sub ecx, 0x6996325c
xor ebx, ebx
add ebx, eax
mov esi, 0xa3130e43
add esi, 0x5d32c3bd
add esi, dword [ebp - 0x50]
mov edi, 0xbe8a00f4
sub edi, 0xf495f48b
xor dword [ebp - 0x18], 0x28a70c1c
mov edx, dword [esi]
add dword [ebp - 0xc], esi
sub edx, edi
sub dword [ebp - 0x18], 0xa279496e
mov dword [ebx], edx
add dword [ebp - 0x3c], 0xf66aa140
add ebx, 0x4d235278
sub ebx, 0x4d235274
add esi, 0x36420b93
sub esi, 0x36420b8f
loop 0x432e8e
add eax, 0x84e6308b
add eax, 0x7b1adfe8
xor ebx, ebx
add ebx, eax
add eax, 0xcf86b918
sub eax, 0xcf86b913
mov ecx, 0x533bf75f
sub ecx, 0x52fbf75f
add ecx, dword [ebp - 0x50]
call ebx
leave
ret