joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437150
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44f118]
cmp byte [eax + 0xc], 0
je 0x4372bd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4372b6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x450b64], 0
jne 0x4371a4
push 0x4372c4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4372cc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b64], eax
cmp dword [0x44eb00], 0
jne 0x43729f
push 0x4372dc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44eb00], eax
cmp dword [0x44eb00], 0
je 0x43729f
push 0x4372e8
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b68], eax
push 0x4372f8
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b6c], eax
push 0x43730c
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b70], eax
push 0x437324
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b74], eax
push 0x43733c
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b78], eax
push 0x437350
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b7c], eax
push 0x437368
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b80], eax
push 0x437380
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b84], eax
push 0x43739c
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b88], eax
push 0x4373a8
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4372bd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b148
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404060
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43b197
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004042d0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4428ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4428fc]
test si, 4
je 0x4428c0
or bl, 1
test si, 8
je 0x4428ca
or bl, 4
test si, 1
je 0x4428d4
or bl, 8
test si, 2
je 0x4428de
or bl, 0x10
test si, 0x10
je 0x4428e8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4428f7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442900
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442938]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442919
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442928
or bl, 4
test esi, 0x20000000
je 0x442933
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448fe0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x448ff2
add esp, 0xfffffff0
call fcn.00403634
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419370
mov eax, dword [0x44edf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x449384
mov eax, dword [0x44ee00]
mov dword [eax + 4], ebx
mov dword [eax], 0x449390
mov eax, ebx
call fcn.0044939c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4115a4]
call fcn.004032f8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4115a4]
call fcn.004032f8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4115a4]
call fcn.004032f8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4115a4]
call fcn.004032f8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4115a4]
call fcn.004032f8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4457b8
push eax
push 0
push 0
mov eax, dword [0x44ef40]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ad94]
call fcn.0041c1d8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ad94]
call fcn.0041c1d8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ad94]
call fcn.0041c1d8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004497bc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449698
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449698
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449698
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44912f
call fcn.0040368c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44947c
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 0x449627
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449608
mov dl, 1
mov eax, dword [0x4119c0]
call fcn.004032f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404060
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4495f7
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.004374b0
test al, al
je 0x4495ea
lea eax, [ebp - 0xc]
push eax
push 0x20019
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, 0x449638
lea eax, [ebp - 0x254]
call fcn.00408b58
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4495ea
xor eax, eax
push ebp
push 0x4495e3
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 0x449670
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4495cc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042d0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4495cc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4495ea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4494ed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041549c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44962e
lea eax, [ebp - 0x260]
call fcn.00404060
ret

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

Disassembly:
push ecx
mov eax, dword [0x450bb0]
cmp byte [eax + 0xa5], 0
jne 0x449fcd
cmp dword [0x450bc8], 0
jne 0x449f8e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x449f18
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x450bc8], eax
cmp dword [0x450bc4], 0
jne 0x449fa9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x450bc4], eax
cmp dword [0x450bcc], 0
jne 0x449fcd
push esp
push 0
push 0
push 0x449ebc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x450bcc], eax
pop edx
ret
Function at 0x44a0c4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44a0db
add esp, 0xfffffff0
call fcn.00403634
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419370
mov eax, dword [0x44ef2c]
cmp word [eax + 2], 0
jne 0x44a103
mov eax, dword [0x44ef2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b82c
mov eax, dword [0x44efd4]
cmp word [eax + 2], 0
jne 0x44a11d
mov eax, dword [0x44efd4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044ba24
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4115a4]
call fcn.004032f8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4115a4]
call fcn.004032f8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b544]
call fcn.0042118c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44a2a4
mov eax, dword [0x44ee54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042155c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44bfd4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44ee54]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040c194
test eax, eax
je 0x44a212
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040854c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c1bc
test eax, eax
je 0x44a226
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004042d0
mov eax, dword [0x44ed58]
cmp byte [eax], 0
jne 0x44a25a
mov eax, ebx
call fcn.0044a3cc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044c1b0
mov eax, ebx
call fcn.0044cb74
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44a29a
call fcn.0040368c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a64c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x450bb0]
cmp dword [eax + 0x30], 0
je 0x44a6f6
cmp dword [ebx + 0x94], 0
jne 0x44a6f0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a5dc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a6f0
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 0x44a6b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a6f0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041390c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a6c5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b258
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44b28d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404150
jmp 0x44b29a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040b4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c38c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c3cd
mov eax, esi
call fcn.00432cb8
test al, al
je 0x44c3cd
mov eax, dword [ebx + 0x84]
call fcn.00432a58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c3cd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432a58
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x44d15c
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x44d38e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x411cb0]
call fcn.004032f8
mov dword [ebp - 4], eax
lea edx, [ebp - 0x14]
mov eax, dword [0x44efb8]
mov eax, dword [eax]
call fcn.0044bd3c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00415d1c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x44d1f1
cmp eax, 0x5b000
jne 0x44d1f1
mov eax, dword [ebp - 4]
call fcn.00403328
jmp 0x44d363
xor ecx, ecx
mov edx, pe_overlay
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov dl, 1
mov eax, dword [0x411cb0]
call fcn.004032f8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
sub eax, 0x5b000
sbb edx, 0
push edx
push eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004157e8
mov eax, 0xff
call fcn.004026d4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
xor eax, eax
push ebp
push 0x44d2c3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x11c]
mov edx, dword [ebp - 0xc]
call fcn.00402e38
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x1c]
call fcn.004042c4
push dword [ebp - 0x1c]
push 0x44d3a4
lea edx, [ebp - 0x124]
mov eax, dword [0x44efb8]
mov eax, dword [eax]
call fcn.0044bd3c
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
call fcn.00408370
push dword [ebp - 0x120]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004043e0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00415c48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44d2cd
push 5
lea eax, [ebp - 0x11c]
mov edx, dword [ebp - 0xc]
call fcn.00402e38
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x12c]
call fcn.004042c4
push dword [ebp - 0x12c]
push 0x44d3a4
lea edx, [ebp - 0x134]
mov eax, dword [0x44efb8]
mov eax, dword [eax]
call fcn.0044bd3c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408370
push dword [ebp - 0x130]
push 0x44d3b0
push dword [ebp - 0x10]
lea eax, [ebp - 0x128]
mov edx, 5
call fcn.004043e0
mov eax, dword [ebp - 0x128]
call fcn.00404520
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 0xc]
call fcn.004026f4
mov eax, dword [ebp - 8]
call fcn.00403328
mov eax, dword [ebp - 4]
call fcn.00403328
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d395
lea eax, [ebp - 0x134]
mov edx, 6
call fcn.00404084
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404084
ret
Function at 0x44d3b4
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404510
xor eax, eax
push ebp
push 0x44d5aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24c]
call fcn.00408504
mov edx, dword [ebp - 0x24c]
lea eax, [ebp - 0x108]
mov ecx, 0xff
call fcn.004042fc
mov eax, dword [ebp - 4]
call fcn.00402878
call fcn.0040283c
lea eax, [ebp - 0x248]
push eax
push 0x44d5b8
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44d572
lea eax, [ebp - 8]
lea edx, [ebp - 0x21c]
mov ecx, 0x104
call fcn.004042d0
mov eax, dword [ebp - 8]
mov edx, 0x44d5c4
call fcn.0040446c
je 0x44d54f
mov eax, dword [ebp - 8]
mov edx, 0x44d5d0
call fcn.0040446c
je 0x44d54f
cmp dword [ebp - 0x248], 0x10
jne 0x44d4e4
mov eax, dword [ebp - 4]
call fcn.00404320
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x44d4c6
push dword [ebp - 4]
push 0x44d5dc
push dword [ebp - 8]
lea eax, [ebp - 0x250]
mov edx, 3
call fcn.004043e0
mov eax, dword [ebp - 0x250]
call fcn.0044d3b4
jmp 0x44d4eb
lea eax, [ebp - 0x254]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040436c
mov eax, dword [ebp - 0x254]
call fcn.0044d3b4
jmp 0x44d4eb
push 0
call sub.kernel32.dll_Sleep_1
push dword [ebp - 4]
push 0x44d5dc
push dword [ebp - 8]
lea eax, [ebp - 0x25c]
mov edx, 3
call fcn.004043e0
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x258]
call fcn.004083a8
mov eax, dword [ebp - 0x258]
mov edx, 0x44d5e8
call fcn.0040446c
jne 0x44d54f
push dword [ebp - 4]
push 0x44d5dc
push dword [ebp - 8]
lea eax, [ebp - 0x260]
mov edx, 3
call fcn.004043e0
mov eax, dword [ebp - 0x260]
call fcn.0044cf94
lea eax, [ebp - 0x248]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x44d44a
push ebx
call sub.kernel32.dll_FindClose_1
jmp 0x44d57f
mov eax, dword [ebp - 4]
call fcn.00402878
call fcn.0040283c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d5b1
lea eax, [ebp - 0x260]
mov edx, 6
call fcn.00404084
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404084
ret
Function at 0x401090
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x4c
mov dword [ebp - 0x2c], eax
test byte [section..data], 8
jne 0x401170
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x20]
mov dword [esp + 4], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
sub esp, 0x18
test eax, eax
jne 0x4011c0
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov edx, ecx
mov dword [ebp - 0x38], ecx
mov dword [esp + 8], edx
mov ecx, dword fs:[0x18]
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x34], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [ebp - 0x30], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub esp, 0x18
test eax, eax
jne 0x4011a0
mov eax, dword [ebp - 0x38]
xor ecx, ecx
xor ebx, ebx
and eax, 0xfffffffe
mov word [edx + eax - 2], cx
mov word [edx + eax - 4], bx
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], section..rdata
mov dword [esp + 8], str.GetRegValue
mov dword [esp + 4], 0x403000
mov dword [esp], 3
call section..text
jmp 0x4010ab
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
nop
xor edx, edx
jmp 0x40115d
Function at 0x402c10
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401460
mov dword [esp], eax
call 0x402c80
jmp dword [sym.imp.ucrtbase.dll_exit]

Function at 0x7ffe53d7
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
cld
push edx
cdq
pop edx
stc
add eax, 0
cld
lea esp, [esp]
cld
push edx
cdq
pop edx
stc
and bh, 0xff
cld
and bh, 0xff
stc
lea esp, [esp]
cld
add eax, 0
clc
and bh, 0xff
stc
add eax, 0
stc
and bh, 0xff
cld
add eax, 0
cld
pushal
inc eax
popal
nop
add eax, 0
cld
push edx
cdq
pop edx
cld
push edx
cdq
pop edx
stc
add eax, 0
stc
cld
clc
call 0x7ffe5429
pop edx
add eax, 0
cld
lea esp, [esp]
cld
xor dx, dx
pushal
inc eax
popal
clc
add eax, 0
nop
add edx, 0xd5e0
add eax, 0
nop
lea esp, [esp]
xor ecx, ecx
stc
pushal
inc eax
popal
nop
cld
mov cl, 0x1e
cld
add eax, 0
add al, 0
nop
xor byte [ecx + edx], 0xde
loop 0x7ffe545b
stc
add eax, 0
stc
push dword fs:[0x24]
pop dword [edx + 0xa]
stc
mov cl, 0xff
stc
cld
push edx
loop 0x7ffe5475
clc
pushal
inc eax
popal
clc
cld
mov dword [edx + 0x11], 0xffffacbb
clc
push edx
cdq
pop edx
inc esi
dec esi
stc
mov ecx, dword [eax + 0x2c]
nop
mov dword [edx + 0x1b], ecx
nop
stc
mov dword [edx + 0x100], ecx
lea esp, [esp]
cld
mov dword [eax + 0x2c], esp
pushal
inc eax
popal
and bh, 0xff
push 0
add eax, 0
nop
push edx
cdq
pop edx
cld
push 0
pushal
inc eax
popal
cld
clc
push 0
cld
cld
push 0
add eax, 0
push 0x30
pushal
inc eax
popal
nop
push edx
cdq
pop edx
nop
push 0x20
inc esi
dec esi
nop
push 0
lea esp, [esp]
lea esp, [esp]
push 0
add eax, 0
cld
add edx, 0xffff7f33
pushal
inc eax
popal
stc
push edx
cld
nop
stc
push edx
cld
inc esi
dec esi
cld
push 0
and bh, 0xff
stc
cld
call dword [edx + 0x8210]
cld
add esp, 0x3f8
stc
xor eax, eax
inc eax
ret 0xc
Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

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

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x431000
Capabilities:
Encode data using xor

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