joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a89c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4a89e2
add esp, 0xfffffff0
call fcn.00404074
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x4a8b4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0049aa1c
test al, al
jne 0x4a8a1f
mov ecx, 0x4a8b80
mov dl, 1
mov eax, dword [0x48f0d4]
call fcn.0040de94
call fcn.00404688
push dword [0x4f13b4]
lea edx, [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xbc]
push dword [ebp - 0x10]
push dword [0x4f13b4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004057a4
mov eax, dword [ebp - 0xc]
call fcn.0049b530
test al, al
jne 0x4a8af1
push dword [0x4f13b0]
push dword [ebp + 8]
push dword [0x4f13b0]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004057a4
mov eax, dword [ebp - 0x14]
call fcn.0049b530
test al, al
jne 0x4a8af1
push dword [0x4f13b4]
lea edx, [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
push dword [0x4f13b4]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004057a4
mov eax, dword [ebp - 0x18]
call fcn.0049b64c
test al, al
jne 0x4a8af1
push dword [0x4f13b0]
push edi
push dword [0x4f13b0]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004057a4
mov eax, dword [ebp - 0x20]
call fcn.0049b64c
test al, al
jne 0x4a8af1
mov ecx, 0x4a8b80
mov dl, 1
mov eax, dword [0x48f0d4]
call fcn.0040de94
call fcn.00404688
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.004a2398
lea eax, [ebx + 4]
mov edx, esi
call fcn.0040554c
lea eax, [ebx + 8]
call fcn.00405510
lea eax, [ebx + 0x30]
mov edx, edi
call fcn.0040554c
lea eax, [ebx + 0x34]
mov edx, dword [ebp + 8]
call fcn.0040554c
mov byte [ebx + 0xc], 0xc
movzx eax, word [0x4a8b9c]
mov word [ebx + 0x21], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8b55
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00405528
ret

Function at 0x4dd874
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4dd8ef
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
push 0x59
call sub.kernel32.dll_GetThreadLocale_1
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4dd8d6
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404fa0
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.0040910c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd8f6
lea eax, [ebp - 0x104]
call fcn.00404d30
ret
Function at 0x4ebad0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051b0
lea esi, [ebp - 0x134]
xor eax, eax
push ebp
push 0x4ebc76
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.00468738
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ebc49
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi], 0x128
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.00468758
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4ebc2a
lea eax, [ebp - 0x140]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404fa0
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00409eac
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00409084
mov eax, dword [ebp - 0x138]
push eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 4]
call fcn.00409084
mov edx, dword [ebp - 0x144]
pop eax
call fcn.00405158
je 0x4ebc02
lea eax, [ebp - 0x14c]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404fa0
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00409084
mov eax, dword [ebp - 0x148]
push eax
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
call fcn.00409084
mov edx, dword [ebp - 0x150]
pop eax
call fcn.00405158
jne 0x4ebc1a
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.00468778
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4ebb63
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ebc50
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
Function at 0x4ec7e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004051b0
xor eax, eax
push ebp
push 0x4ec870
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x4ec884
call fcn.00405048
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004056a8
mov edx, dword [ebp - 8]
mov eax, dword [0x4eba6c]
call fcn.004ebe40
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004051c0
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec877
lea eax, [ebp - 0xc]
call fcn.00404d30
lea eax, [ebp - 8]
call fcn.00405510
lea eax, [ebp - 4]
call fcn.00404d30
ret

Function at 0x401940
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x406f58
push 0x69
push esi
call edi
push 0x64
push 0x406ef0
push 0x67
push esi
call edi
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x6b
push esi
mov dword [ebp - 0x54], 0x30
add byte [eax], al
mov dword [ebp - 0x4c], 0x401610
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x50], 3
call edi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0x4000
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x6c
push esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x30], 0x69
mov dword [ebp - 0x2c], str.Latgoback
call edi
push str.riched32.dll
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Lowster
push str.Latgoback
push 0
mov dword [0x406d37], esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x401a7d
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
call esi
test eax, eax
je 0x401a72
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call edi
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
call esi
test eax, eax
jne 0x401a52
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401102
Capabilities:
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x44
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x18
mov eax, dword [ebp - 0x18]
mov eax, dword fs:[eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
jmp 0x40115e
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x40114d
mov dword [ebp - 0xc], 1
jmp 0x401188
mov dword [esp], 0x3e8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0x4080a0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
lock cmpxchg dword [edx], ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40113c
mov eax, dword [0x4080a4]
cmp eax, 1
jne 0x4011a0
mov dword [esp], 0x1f
call fcn.00402ab4
jmp 0x4011d3
mov eax, dword [0x4080a4]
test eax, eax
jne 0x4011c9
mov dword [0x4080a4], 1
mov dword [esp + 4], 0x40b014
mov dword [esp], 0x40b00c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x4011d3
mov dword [0x40801c], 1
mov eax, dword [0x4080a4]
cmp eax, 1
jne 0x4011fb
mov dword [esp + 4], 0x40b008
mov dword [esp], section..CRT
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x4080a4], 2
cmp dword [ebp - 0xc], 0
jne 0x401217
mov dword [ebp - 0x2c], 0x4080a0
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
xchg dword [eax], edx
mov eax, dword [entry1]
test eax, eax
je 0x401241
mov eax, dword [entry1]
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 0
call eax
sub esp, 0xc
call fcn.00401f91
mov dword [esp], 0x4020ac
mov eax, dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call eax
sub esp, 4
mov dword [0x408074], eax
mov dword [esp], section..text
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.00401930
mov eax, dword [0x408004]
mov dword [esp + 4], 0x408008
mov dword [esp], eax
call fcn.004013c8
call fcn.0040176c
mov eax, dword [0x405014]
mov edx, dword [0x40800c]
mov dword [eax], edx
mov ecx, dword [0x40800c]
mov edx, dword [0x408008]
mov eax, dword [0x408004]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00403e30
mov dword [0x408014], eax
mov eax, dword [0x408018]
test eax, eax
jne 0x4012d0
mov eax, dword [0x408014]
mov dword [esp], eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x40801c]
test eax, eax
jne 0x4012de
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x408014]
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret
Function at 0x402571
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x4025d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x4025c8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x4025c8
mov eax, dword [ebp - 4]
jmp 0x4025e4
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x4025a5
mov eax, 0
leave
ret

Function at 0x402ca4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov esi, dword [ebp + 0x30]
call fcn.004015d0
lea eax, [ebp + 0x1c]
lea ecx, [ebp - 0x20]
mov dword [esp], eax
call fcn.004015c0
cmp dword [ebp - 0x1c], 0
push ebx
je 0x402cf3
call fcn.004015f8
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.004016b0
push edx
mov ecx, eax
push edx
mov dword [esp], 0x406076
call fcn.00402ec8
push ecx
call fcn.004015f8
lea ecx, [ebp + 8]
mov dword [esp], eax
mov ebx, eax
call fcn.004015b8
mov ecx, ebx
push eax
mov dword [esp], 0x406079
call fcn.00402ec8
push eax
cmp dword [esi + 4], 0
je 0x402d44
call fcn.004015d8
mov ecx, eax
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.004016b0
push edx
mov ecx, eax
push edx
mov dword [esp], 0x406079
call fcn.00402ec8
push ecx
mov dword [esp], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
Function at 0x40510c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404428
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x405125
test al, 0x10
je 0x405129
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4052b8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.00404284
add esp, 0x104
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404418
xor eax, eax
push ebp
push 0x405330
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404428
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405337
lea eax, [ebp - 4]
call fcn.00404030
ret

Function at 0x406ed8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406f11
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404120
jmp 0x406f1a
mov eax, ebx
mov edx, esi
call fcn.00404084
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406f24
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406f46
movzx eax, byte [esp]
jmp 0x406f48
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4075d8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x407450
mov eax, dword [0x40aa9c]
cmp byte [eax], 0
je 0x407654
mov eax, dword [0x40a9f4]
call fcn.00402f88
call fcn.00402dac
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00406398
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40769c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40768a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x40a9d4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40d7f0]
call fcn.004047cc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40ff20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4899fb
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.0047e2a3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ffa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047c0dd
mov eax, dword [eax]
push 0x4ccc9c
push eax
call fcn.0046ed54
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047e52e
test bl, bl
je 0x40ffa2
push 0x4ccc9c
lea ecx, [esp + 0xc]
call fcn.0047e8be
push 0x4ccca8
lea ecx, [esp + 0xc]
call fcn.0047e8be
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 0x40ffde
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047e52e
jmp 0x4100a9
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 0x410062
lea edx, [esp + 0x7c]
push 0x4ccca4
push edx
call fcn.0046ed54
add esp, 8
test eax, eax
je 0x410062
lea eax, [esp + 0x7c]
push 0x4ccca0
push eax
call fcn.0046ed54
add esp, 8
test eax, eax
je 0x410062
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 0x40fff2
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.0047e52e
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 0x4108a0
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 0x410902
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 0x410910
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x489a7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d6984]
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 0x410a48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410976
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047e52e
xor eax, eax
jmp 0x410abf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047e66b
push esi
lea ecx, [esp + 0xc]
call fcn.0047e8fa
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 0x410a9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004108a0
test eax, eax
jne 0x410a9d
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 closesocket
mov ecx, edi
call fcn.004108a0
test eax, eax
jne 0x410a9d
lea eax, [esp + 0x14]
push 0x4cccb8
push eax
call fcn.0046fdd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x410a7c
lea ecx, [esp + 0x14]
push 0x4cccb4
push ecx
call fcn.0046fd50
mov esi, eax
add esp, 8
test esi, esi
jne 0x410a7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x410a7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047e61b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41098e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047e52e
xor eax, eax
jmp 0x410abf
mov byte [esi], 0
push 0x4cccb0
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.0047e52e
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 0x423a00
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 0x423a6e
cmp si, 0x69
ja 0x423a6e
add esi, 0xffd0
cmp si, 0x11
je 0x423a3e
push 0x11
call edi
test ax, ax
jge 0x423a3e
or esi, 0x2000
cmp si, 0x10
je 0x423a53
push 0x10
call edi
test ax, ax
jge 0x423a53
or esi, 0x4000
cmp si, 0x12
je 0x423a68
push 0x12
call edi
test ax, ax
jge 0x423a68
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x423a7b
mov esi, 0xbd
jmp 0x423a2f
cmp si, 0x6e
jne 0x423a88
mov esi, 0xbe
jmp 0x423a2f
cmp si, 0x6f
jne 0x423a29
mov esi, 0xbf
jmp 0x423a2f

Function at 0x425270
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4e7100]
xor edx, edx
cmp eax, edx
jne 0x425296
xor eax, eax
mov byte [eax + 0x4e7000], al
inc eax
cmp eax, 0x100
jl 0x42527e
mov dword [0x4e7100], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e7000
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x425327
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 0x4252fa
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 0x4252c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4253a0
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 0x4253f3
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 0x4253da
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