joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fbb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2c83
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
lea eax, [ebp - 0x10]
push eax
call fcn.00436f40
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00426de0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44fc6a
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x4d6cd8
call fcn.00427050
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x64]
call fcn.0044fdc0
mov byte [ebp - 0x69], al
movzx ecx, byte [ebp - 0x69]
test ecx, ecx
je 0x44fc47
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00427070
mov eax, dword [ebp - 0x54]
jmp 0x44fda6
mov dword [ebp - 0x58], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00427070
mov eax, dword [ebp - 0x58]
jmp 0x44fda6
push str.360Tray.exe
lea ecx, [ebp - 0x4c]
call fcn.00431200
mov byte [ebp - 4], 1
push str.egui.exe
lea ecx, [ebp - 0x48]
call fcn.00431200
mov byte [ebp - 4], 2
push str.MpfSrv.exe
lea ecx, [ebp - 0x44]
call fcn.00431200
mov byte [ebp - 4], 3
push str.mcmscsvc.exe
lea ecx, [ebp - 0x40]
call fcn.00431200
mov byte [ebp - 4], 4
push str.McNASvc.exe
lea ecx, [ebp - 0x3c]
call fcn.00431200
mov byte [ebp - 4], 5
push str.rsmain.exe
lea ecx, [ebp - 0x38]
call fcn.00431200
mov byte [ebp - 4], 6
push str.RsMgrSvr.exe
lea ecx, [ebp - 0x34]
call fcn.00431200
mov byte [ebp - 4], 7
push str.avp.exe
lea ecx, [ebp - 0x30]
call fcn.00431200
mov byte [ebp - 4], 8
push str.ekrn.exe
lea ecx, [ebp - 0x2c]
call fcn.00431200
mov byte [ebp - 4], 9
push str.MPmain.exe
lea ecx, [ebp - 0x28]
call fcn.00431200
mov byte [ebp - 4], 0xa
push str.ccSvcHst.exe
lea ecx, [ebp - 0x24]
call fcn.00431200
mov byte [ebp - 4], 0xb
push 0x4bcc0c
lea ecx, [ebp - 0x20]
call fcn.00431200
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x18], 0xc
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.0043e280
add esp, 8
test eax, eax
setne cl
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
neg edx
sbb edx, edx
add edx, 1
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 0
push fcn.00427070
push 0xc
push 4
lea eax, [ebp - 0x4c]
push eax
call fcn.00485b3b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00427070
mov eax, dword [ebp - 0x5c]
jmp 0x44fda6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret
Function at 0x450ea0
Capabilities:
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2e88
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
call fcn.0043c340
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.0043c400
add esp, 4
movzx eax, al
test eax, eax
je 0x450efb
mov eax, 1
jmp 0x450fba
push str.8.8.8.8
call fcn.0043be20
add esp, 4
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.0043c400
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x450f33
mov eax, 1
jmp 0x450fba
lea edx, [ebp - 0x4c]
push edx
call fcn.0043b5e0
add esp, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
call fcn.00430ed0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00431030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0043e8a0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004081d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.00427070
lea ecx, [ebp - 0x48]
call fcn.004035a0
push eax
call fcn.0043be20
add esp, 4
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004033c0
mov eax, dword [ebp - 0x50]
jmp 0x450fba
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret

Function at 0x451080
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x30]
push eax
call fcn.00436e10
add esp, 4
mov dword [ebp - 4], 0
push 0x4bcd9c
lea ecx, [ebp - 0x30]
call fcn.00440fb0
push 1
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.004081f0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x20
ja 0x451108
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004081d0
mov eax, dword [ebp - 0x34]
jmp 0x451121
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004081d0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret
Function at 0x451170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4d516c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x10]
push eax
call fcn.00436f40
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00426de0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4511db
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4d6ce0
call fcn.00427050
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
call fcn.00451210
jmp 0x4511e0
call fcn.0043e390
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00427070
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x455d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x11c], 1
mov ecx, 0x4d6d58
call fcn.00427810
mov dword [ebp - 0x118], eax
push 0xf0
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x455f87
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x455f87
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x455f87
cmp dword [ebp - 0x11c], 0
je 0x455f87
mov edx, dword [ebp - 0x124]
movzx eax, word [edx]
test eax, eax
je 0x455f87
mov ecx, dword [ebp - 0x124]
mov dx, word [ecx]
mov word [ebp - 0x12c], dx
mov eax, dword [ebp - 0x124]
add eax, 2
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dx, word [ecx]
mov word [ebp - 0x130], dx
mov eax, dword [ebp - 0x124]
add eax, 2
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov edx, dword [ecx]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x124]
add eax, 4
mov dword [ebp - 0x124], eax
movzx ecx, word [ebp - 0x130]
cmp ecx, 0x403
jne 0x455ee6
mov edx, dword [ebp - 0x124]
push edx
lea ecx, [ebp - 0x238]
call fcn.00457d80
lea ecx, [ebp - 0x238]
call fcn.00457e00
push eax
push 0
push 0x143
movzx eax, word [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.00455fa0
cmp eax, 0xffffffff
jne 0x455ed6
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x238]
call fcn.00457db0
jmp 0x455f70
movzx ecx, word [ebp - 0x130]
cmp ecx, 0x1234
jne 0x455f70
mov dword [ebp - 0x25c], 1
mov dword [ebp - 0x258], 0xffffffff
mov edx, dword [ebp - 0x124]
push edx
lea ecx, [ebp - 0x110]
call fcn.00457d80
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
call fcn.00457e00
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x110]
call fcn.00457db0
lea eax, [ebp - 0x25c]
push eax
push 0
push 0x40b
movzx ecx, word [ebp - 0x12c]
push ecx
mov ecx, dword [ebp - 0x260]
add ecx, 4
call fcn.00455fa0
cmp eax, 0xffffffff
jne 0x455f70
mov dword [ebp - 0x11c], 0
mov edx, dword [ebp - 0x124]
add edx, dword [ebp - 0x128]
mov dword [ebp - 0x124], edx
jmp 0x455e04
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret 4
Function at 0x46c408
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4d6de4], 0
push esi
push edi
jne 0x46c379
call fcn.0046c2d3
test eax, eax
je 0x46c3be
mov eax, dword [0x4d6de4]
cmp eax, 1
jne 0x46c39a
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46c3be
jmp 0x46c400
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x46c400
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x46c3c2
xor eax, eax
jmp 0x46c400
mov eax, dword [esi]
push dword [0x4d6de4]
call edi
mov edi, eax
test edi, edi
je 0x46c3e4
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x46c400
lea edi, [esi + 0xff0]
push esi
push dword [0x4d6de4]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x46c3ea
mov eax, esi
pop edi
pop esi
ret
jmp 0x46c365

Function at 0x480a0c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d516c]
jne 0x480a16
repz ret
jmp fcn.0048e39b
Function at 0x4a75fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0048e525
and dword [ebp - 0x14], 0
cmp dword [0x4d8074], 0
mov dword [ebp - 0x18], eax
jne 0x4a76af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4a7757
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c1f54
push ebx
call edi
test eax, eax
je 0x4a7757
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4c1f44
push ebx
mov dword [0x4d8074], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4d8078], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d807c], eax
call edi
push eax
call esi
mov dword [0x4d8084], eax
test eax, eax
je 0x4a76af
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4d8080], eax
mov eax, dword [0x4d8080]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4a7708
cmp dword [0x4d8084], ecx
je 0x4a7708
push eax
call esi
push dword [0x4d8084]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4a7708
test ebx, ebx
je 0x4a7708
call edi
test eax, eax
je 0x4a76ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4a76ff
test byte [ebp - 8], 1
jne 0x4a7708
or dword [ebp + 0x10], 0x200000
jmp 0x4a773b
mov eax, dword [0x4d8078]
cmp eax, dword [ebp - 0x18]
je 0x4a773b
push eax
call esi
test eax, eax
je 0x4a773b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a773b
mov eax, dword [0x4d807c]
cmp eax, dword [ebp - 0x18]
je 0x4a773b
push eax
call esi
test eax, eax
je 0x4a773b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d8074]
call esi
test eax, eax
je 0x4a7757
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4a7759
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00480a0c
leave
ret
Function at 0x10002810
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d076
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0x23
mov dword [ebp - 0x24], 0x19
mov eax, dword [0x1003c228]
and eax, 1
jne 0x100028ac
mov ecx, dword [0x1003c228]
or ecx, 1
mov dword [0x1003c228], ecx
mov dword [ebp - 4], 0
push 0x100330b8
push 0xf059ffff
push 9
push 0x10025b1c
lea ecx, [ebp - 0x44]
call fcn.1000f150
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
call fcn.10001000
mov dword [0x1003c22c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.1000f1e0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1002e0b8]
shl eax, 0x37
mov dword [0x1002e0b8], eax
mov ecx, dword [ebp - 0x24]
shl ecx, 0x43
mov dword [ebp - 0x24], ecx
mov edx, dword [0x1002e1cc]
shl edx, 0x5e
mov dword [0x1002e1cc], edx
call fcn.10007b80
mov eax, dword [0x1002e0b8]
shl eax, 0x26
mov dword [0x1002e0b8], eax
lea ecx, [ebp - 0x28]
push ecx
push 0x28
call fcn.10001010
push eax
call fcn.10004d60
test eax, eax
jne 0x1000291a
xor al, al
jmp 0x10002a06
lea ecx, [ebp - 0x3c]
push ecx
push str.SeDebugPrivilege
push 0
call fcn.10004cb0
test eax, eax
jne 0x1000295f
mov edx, dword [ebp - 0x28]
push edx
call fcn.100050f0
mov eax, dword [0x1002e0b8]
shl eax, 0x61
mov dword [0x1002e0b8], eax
xor al, al
jmp 0x10002a06
mov dword [ebp - 0x20], 1
mov edx, 0xc
imul eax, edx, 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + eax - 0x1c], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp + eax - 0x18], edx
mov eax, 0xc
imul ecx, eax, 0
mov dword [ebp + ecx - 0x14], 2
mov edx, dword [0x1002e0b8]
shl edx, 0xf
mov dword [0x1002e0b8], edx
mov eax, dword [0x1002e198]
shl eax, 0x2e
mov dword [0x1002e198], eax
push 0
push 0
push 0x10
lea ecx, [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.10004c00
test eax, eax
jne 0x100029ea
mov eax, dword [ebp - 0x28]
push eax
call fcn.100050f0
mov ecx, dword [ebp - 0x24]
shl ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [0x1002e194]
shl edx, 0x2b
mov dword [0x1002e194], edx
call fcn.10007db0
xor al, al
jmp 0x10002a06
mov al, 1
jmp 0x10002a06
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10011698
mov esp, ebp
pop ebp
ret
Function at 0x406730
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x478d8b
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.0046dcb5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4067b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046bbc7
mov eax, dword [eax]
push 0x696c50
push eax
call fcn.0045e8d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046df40
test bl, bl
je 0x4067b2
push 0x696c50
lea ecx, [esp + 0xc]
call fcn.0046e2d0
push 0x696c5c
lea ecx, [esp + 0xc]
call fcn.0046e2d0
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 0x4067ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046df40
jmp 0x4068b9
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 0x406872
lea edx, [esp + 0x7c]
push 0x696c58
push edx
call fcn.0045e8d4
add esp, 8
test eax, eax
je 0x406872
lea eax, [esp + 0x7c]
push 0x696c54
push eax
call fcn.0045e8d4
add esp, 8
test eax, eax
je 0x406872
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 0x406802
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.0046df40
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 0x4070b0
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 0x407112
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 0x407120
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x478e0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6a04b4]
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 0x407258
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x407186
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046df40
xor eax, eax
jmp 0x4072cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046e07d
push esi
lea ecx, [esp + 0xc]
call fcn.0046e30c
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 0x4072ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004070b0
test eax, eax
jne 0x4072ad
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.004070b0
test eax, eax
jne 0x4072ad
lea eax, [esp + 0x14]
push 0x696c6c
push eax
call fcn.0045f950
mov esi, eax
add esp, 8
test esi, esi
jne 0x40728c
lea ecx, [esp + 0x14]
push 0x696c68
push ecx
call fcn.0045f8d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40728c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40728f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046e02d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40719e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046df40
xor eax, eax
jmp 0x4072cf
mov byte [esi], 0
push 0x696c64
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.0046df40
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 0x417970
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 0x4179de
cmp si, 0x69
ja 0x4179de
add esi, 0xffd0
cmp si, 0x11
je 0x4179ae
push 0x11
call edi
test ax, ax
jge 0x4179ae
or esi, 0x2000
cmp si, 0x10
je 0x4179c3
push 0x10
call edi
test ax, ax
jge 0x4179c3
or esi, 0x4000
cmp si, 0x12
je 0x4179d8
push 0x12
call edi
test ax, ax
jge 0x4179d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4179eb
mov esi, 0xbd
jmp 0x41799f
cmp si, 0x6e
jne 0x4179f8
mov esi, 0xbe
jmp 0x41799f
cmp si, 0x6f
jne 0x417999
mov esi, 0xbf
jmp 0x41799f

Function at 0x419160
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6b0c00]
xor edx, edx
cmp eax, edx
jne 0x419186
xor eax, eax
mov byte [eax + 0x6b0b00], al
inc eax
cmp eax, 0x100
jl 0x41916e
mov dword [0x6b0c00], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6b0b00
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x419217
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 0x4191ea
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 0x4191b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x419290
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 0x4192e3
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 0x4192ca
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