joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45741c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x466be0]
cmp dword [eax + 0x30], 0
je 0x4574c6
cmp dword [ebx + 0x94], 0
jne 0x4574c0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4573ac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4574c0
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 0x457486
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4574c0
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.00417764
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457495
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458028
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 0x45805d
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.00404178
jmp 0x45806a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040dc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4590cc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45910d
mov eax, esi
call fcn.0043f810
test al, al
je 0x45910d
mov eax, dword [ebx + 0x84]
call fcn.0043f50c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45910d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f50c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45a210
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45a3b8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp word [ebx + 0x7a], 0
je 0x45a243
mov edx, ebx
mov eax, dword [ebx + 0x7c]
call dword [ebx + 0x78]
cmp byte [ebx + 0x35], 1
jne 0x45a38e
push 0
lea edx, [ebp - 0x14]
mov eax, dword [0x46515c]
mov eax, dword [eax]
call fcn.00458028
mov eax, dword [ebp - 0x14]
call fcn.00404548
push eax
push 0
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
push 0x88
push 0xffffffffffffffec
mov eax, dword [0x46515c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [0x466c00]
call fcn.0043f50c
mov edi, eax
lea edx, [ebp - 0x18]
mov eax, 2
call fcn.00402a7c
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.004083f8
mov esi, eax
lea edx, [ebp - 0x1c]
mov eax, 2
call fcn.00402a7c
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.004083f8
inc eax
je 0x45a38e
push 0xfffffffffffffff0
push esi
call sub.user32.dll_GetWindowLongA
or eax, 0x8000000
or eax, 0x40000000
push eax
push 0xfffffffffffffff0
push edi
call sub.user32.dll_SetWindowLongA
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
push eax
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
push esi
push edi
call sub.user32.dll_SetParent
xor edx, edx
mov eax, dword [0x466c00]
call fcn.00452a48
cmp byte [ebx + 0x32], 1
jne 0x45a344
mov eax, dword [0x4652c0]
mov eax, dword [eax]
call fcn.00455fdc
mov edx, eax
mov eax, dword [0x466c00]
call fcn.0043849c
mov eax, dword [0x4652c0]
mov eax, dword [eax]
call fcn.00455fd0
mov edx, eax
mov eax, dword [0x466c00]
call fcn.004384c0
lea eax, [ebp - 0x10]
push eax
push esi
call sub.user32.dll_GetWindowRect
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 0x10]
inc esi
mov edi, dword [ebp - 4]
sub edi, dword [ebp - 0xc]
inc edi
dec edi
push edi
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
dec ecx
xor edx, edx
xor eax, eax
call fcn.00416330
push 0x54
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [0x466c00]
call fcn.0043f50c
push eax
call sub.user32.dll_SetWindowPos
cmp word [ebx + 0x5a], 0
je 0x45a39d
mov edx, ebx
mov eax, dword [ebx + 0x5c]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a3bf
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004040ac
ret
Function at 0x45a3d0
Capabilities:
Hide graphical window

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 0x45a4b5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp word [ebx + 0x82], 0
je 0x45a404
mov edx, ebx
mov eax, dword [ebx + 0x84]
call dword [ebx + 0x80]
cmp byte [ebx + 0x36], 1
jne 0x45a489
push 0
lea edx, [ebp - 8]
mov eax, dword [0x46515c]
mov eax, dword [eax]
call fcn.00458028
mov eax, dword [ebp - 8]
call fcn.00404548
push eax
push 0
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebx + 0x44], 0
je 0x45a446
push 0
lea eax, [ebp - 4]
push eax
push 1
push 0x61
call sub.user32.dll_SystemParametersInfoA
cmp byte [ebx + 0x46], 0
je 0x45a453
push 0
call sub.user32.dll_ShowCursor
cmp byte [ebx + 0x32], 0
je 0x45a465
mov dl, 2
mov eax, dword [0x466c00]
call fcn.00452b60
cmp byte [ebx + 0x33], 0
je 0x45a477
xor edx, edx
mov eax, dword [0x466c00]
call fcn.004523e8
cmp byte [ebx + 0x34], 0
je 0x45a489
mov dl, 3
mov eax, dword [0x466c00]
call fcn.004526e4
mov eax, ebx
call fcn.0045ade4
cmp word [ebx + 0x62], 0
je 0x45a49f
mov edx, ebx
mov eax, dword [ebx + 0x64]
call dword [ebx + 0x60]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a4bc
lea eax, [ebp - 8]
call fcn.00404088
ret
Function at 0x45a778
Capabilities:
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x45a8fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp word [ebx + 0x92], 0
je 0x45a7ad
mov edx, ebx
mov eax, dword [ebx + 0x94]
call dword [ebx + 0x90]
cmp byte [ebx + 0x45], 1
jne 0x45a8be
push 0
lea edx, [ebp - 0xc]
mov eax, dword [0x46515c]
mov eax, dword [eax]
call fcn.00458028
mov eax, dword [ebp - 0xc]
call fcn.00404548
push eax
push 0
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov dl, 1
mov eax, dword [0x466c00]
call fcn.00452b60
push 0x88
push 0xffffffffffffffec
mov eax, dword [0x46515c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetWindowLongA
lea edx, [ebp - 0x10]
mov eax, 2
call fcn.00402a7c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00407f30
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.004046d4
push 0x104
mov eax, dword [ebp - 4]
call fcn.00404548
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 4]
xchg edx, eax
call fcn.004046d4
mov eax, dword [ebp - 4]
call fcn.00404348
test eax, eax
jle 0x45a86d
mov eax, dword [ebp - 4]
call fcn.00404348
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x45a86d
lea eax, [ebp - 4]
mov edx, 0x45a910
call fcn.00404350
lea eax, [ebp - 0x14]
mov ecx, 0x45a91c
mov edx, dword [ebp - 4]
call fcn.00404394
mov eax, dword [ebp - 0x14]
call fcn.00404548
push eax
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
test esi, esi
je 0x45a8be
push 0x45a924
push esi
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
test edi, edi
je 0x45a8b8
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004083f8
push eax
push 0x45a938
call edi
push esi
call sub.kernel32.dll_FreeLibrary_1
cmp word [ebx + 0x72], 0
je 0x45a8cd
mov edx, ebx
mov eax, dword [ebx + 0x74]
call dword [ebx + 0x70]
cmp byte [ebx + 0x45], 1
jne 0x45a8df
mov eax, dword [0x46515c]
mov eax, dword [eax]
call fcn.00458558
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a901
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004040ac
ret
Function at 0x45a940
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x45ab0f
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_GetForegroundWindow
mov edi, eax
cmp byte [esi + 0x46], 1
jne 0x45a973
push 0xffffffffffffffff
call sub.user32.dll_ShowCursor
lea edx, [ebp - 0x18]
mov eax, 1
call fcn.00402a7c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00407f30
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, 1
call fcn.004045e8
mov eax, dword [ebp - 0x14]
call fcn.00404348
mov ecx, eax
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045e8
mov eax, dword [ebp - 0x14]
mov edx, 0x45ab28
call fcn.00404494
je 0x45a9cc
mov byte [ebp - 1], 1
jmp 0x45aaf4
mov dl, 1
mov eax, dword [0x42e170]
call fcn.0042e270
mov ebx, eax
mov edx, 0x80000001
mov eax, ebx
call fcn.0042e310
xor ecx, ecx
mov edx, 0x45ab34
mov eax, ebx
call fcn.0042e374
test al, al
jne 0x45aa01
mov byte [ebp - 1], 1
jmp 0x45aaed
mov edx, 0x45ab54
mov eax, ebx
call fcn.0042e6c0
test al, al
jne 0x45aa1a
mov byte [ebp - 1], 1
jmp 0x45aaed
mov edx, 0x45ab54
mov eax, ebx
call fcn.0042e5b4
test eax, eax
jne 0x45aa33
mov byte [ebp - 1], 1
jmp 0x45aaed
lea eax, [ebp - 0x10]
mov edx, 0x104
call fcn.004046d4
push 0x104
mov eax, dword [ebp - 0x10]
call fcn.00404548
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x10]
xchg edx, eax
call fcn.004046d4
mov eax, dword [ebp - 0x10]
call fcn.00404348
test eax, eax
jle 0x45aa87
mov eax, dword [ebp - 0x10]
call fcn.00404348
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax - 1], 0x5c
je 0x45aa87
lea eax, [ebp - 0x10]
mov edx, 0x45ab74
call fcn.00404350
lea eax, [ebp - 0x1c]
mov ecx, 0x45ab80
mov edx, dword [ebp - 0x10]
call fcn.00404394
mov eax, dword [ebp - 0x1c]
call fcn.00404548
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45aab4
mov byte [ebp - 1], 1
jmp 0x45aaed
push 0x45ab90
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xc], eax
push edi
call dword [ebp - 0xc]
test al, al
je 0x45aad3
mov byte [ebp - 1], 1
jmp 0x45aae4
mov byte [ebp - 1], 0
cmp byte [esi + 0x46], 1
jne 0x45aae4
push 0
call sub.user32.dll_ShowCursor
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
mov eax, ebx
call fcn.00403338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ab16
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004040ac
ret
Function at 0x45b334
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 [0x414984]
call fcn.00404a20
xor eax, eax
push ebp
push 0x45b478
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x464dc4], 0
jne 0x45b387
mov ecx, dword [0x464eb4]
mov dl, 1
mov eax, dword [0x4072b8]
call fcn.0040baf4
call fcn.00403ac4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d30
mov eax, ebx
call fcn.004048f0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45b488
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.004059a4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404900
test eax, eax
jle 0x45b41f
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 0x45b418
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404310
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004042f8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408110
test eax, eax
jne 0x45b418
mov ebx, 0x15
jmp 0x45b424
mov ebx, 0x10
jmp 0x45b424
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 [0x464dc4]
call fcn.0045b28c
mov eax, dword [ebp - 8]
call fcn.0045b28c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004059bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b47f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004040ac
lea eax, [ebp - 0x10]
mov edx, dword [0x414984]
call fcn.00404af0
ret
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x12fcc34
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push edx
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x12fcc6d
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x12fcc5b
mov al, 1
jmp 0x12fccb5
cmp dword [ebx + 0x54], ecx
jne 0x12fcc64
mov al, 2
jmp 0x12fccb5
cmp dword [ebx + 0x7c], ecx
jmp 0x12fccb5
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x12fcc82
mov al, 4
jmp 0x12fccb5
cmp ecx, 5
jne 0x12fcca2
cmp ebx, 0
jne 0x12fcc90
mov al, 5
jmp 0x12fccb5
cmp ebx, 1
jne 0x12fcc99
mov al, 6
jmp 0x12fccb5
cmp ebx, 2
jne 0x12fcca2
mov al, 7
jmp 0x12fccb5
cmp ecx, 6
jne 0x12fccb5
cmp ebx, 0
jne 0x12fccae
mov al, 8
cmp ebx, 1
jne 0x12fccb5
mov al, 9
pop ebx
pop edx
leave
ret
Function at 0x423750
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48cebb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047f61f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4237d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047cffd
mov eax, dword [eax]
push 0x4ab210
push eax
call fcn.0046fcb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047f8aa
test bl, bl
je 0x4237d2
push 0x4ab210
lea ecx, [esp + 0xc]
call fcn.0047fc86
push 0x4aed94
lea ecx, [esp + 0xc]
call fcn.0047fc86
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42380e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047f8aa
jmp 0x4238d9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x423892
lea edx, [esp + 0x7c]
push 0x4aed90
push edx
call fcn.0046fcb4
add esp, 8
test eax, eax
je 0x423892
lea eax, [esp + 0x7c]
push 0x4aed8c
push eax
call fcn.0046fcb4
add esp, 8
test eax, eax
je 0x423892
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x423822
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047f8aa
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4240d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x424132
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x424140
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48cf3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4b5c80]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x424278
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4241a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047f8aa
xor eax, eax
jmp 0x4242ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047fa33
push esi
lea ecx, [esp + 0xc]
call fcn.0047fcc2
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4242cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.004240d0
test eax, eax
jne 0x4242cd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.004240d0
test eax, eax
jne 0x4242cd
lea eax, [esp + 0x14]
push 0x4aeda8
push eax
call fcn.00470d90
mov esi, eax
add esp, 8
test esi, esi
jne 0x4242ac
lea ecx, [esp + 0x14]
push 0x4aeda4
push ecx
call fcn.00470d10
mov esi, eax
add esp, 8
test esi, esi
jne 0x4242ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4242af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047f9e3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4241be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047f8aa
xor eax, eax
jmp 0x4242ef
mov byte [esi], 0
push 0x4aeda0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0047f8aa
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4374d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43753e
cmp si, 0x69
ja 0x43753e
add esi, 0xffd0
cmp si, 0x11
je 0x43750e
push 0x11
call edi
test ax, ax
jge 0x43750e
or esi, 0x2000
cmp si, 0x10
je 0x437523
push 0x10
call edi
test ax, ax
jge 0x437523
or esi, 0x4000
cmp si, 0x12
je 0x437538
push 0x12
call edi
test ax, ax
jge 0x437538
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43754b
mov esi, 0xbd
jmp 0x4374ff
cmp si, 0x6e
jne 0x437558
mov esi, 0xbe
jmp 0x4374ff
cmp si, 0x6f
jne 0x4374f9
mov esi, 0xbf
jmp 0x4374ff

Function at 0x438d00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4c6ad8]
xor edx, edx
cmp eax, edx
jne 0x438d26
xor eax, eax
mov byte [eax + 0x4c69d8], al
inc eax
cmp eax, 0x100
jl 0x438d0e
mov dword [0x4c6ad8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4c69d8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x438db7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x438d8a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x438d58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x438e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x438e83
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x438e6a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret