joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a85a0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f384a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CRLPCU::CMsgUtil.0
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x58], 0
je 0x4a8658
push 0xbb8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x58]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x102
jne 0x4a861e
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x58]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x4a8647
push 1
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x20], eax
jmp 0x4a864e
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x58], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.00445af0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.00415310
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.004d1140
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004a2020
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 4
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4aaff0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f40ac
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
push str.MU:CTT
lea ecx, [ebp - 0x38]
call fcn.00445910
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x64]
cmp dword [eax + 0x5c], 0
je 0x4ab0d6
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xbb8
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x102
jne 0x4ab09c
push str.MU:CTT:TT
lea ecx, [ebp - 0x60]
call fcn.00445910
mov byte [ebp - 4], 1
push 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.004459d0
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x68], 0
je 0x4ab0c5
push 1
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x74], eax
jmp 0x4ab0cc
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x5c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004459d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e134c
mov esp, ebp
pop ebp
ret
Function at 0x4ae3d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f46db
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call sub.mfc120u.dll_Ordinal_12095
test eax, eax
je 0x4ae412
mov eax, 1
jmp 0x4ae52c
mov dword [ebp - 0x14], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov word [ebp - 0x10], ax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x100
jne 0x4ae446
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x74
jne 0x4ae446
mov dword [ebp - 0x14], 1
jmp 0x4ae51c
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x100
jne 0x4ae495
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x4f
je 0x4ae476
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x50
je 0x4ae476
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x4e
je 0x4ae476
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0x4c
jne 0x4ae495
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
je 0x4ae495
mov dword [ebp - 0x14], 1
jmp 0x4ae51c
push 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x134
call fcn.004ae760
movzx eax, al
test eax, eax
je 0x4ae51c
mov ecx, dword [ebp - 0x18]
add ecx, 0x134
call fcn.004d2b10
push eax
lea ecx, [ebp - 0x1c]
call fcn.004ae610
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004d2b10
test eax, eax
je 0x4ae50d
lea ecx, [ebp - 0x1c]
call fcn.004d2b10
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
call edx
test eax, eax
jne 0x4ae500
mov dword [ebp - 0x24], 1
jmp 0x4ae507
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004ae6e0
cmp dword [ebp - 0x14], 0
je 0x4ae529
mov eax, 1
jmp 0x4ae52c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4bd0d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6c17
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x20], 0
je 0x4bd10c
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x20]
call fcn.004bfaa0
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call dword [sym.imp.mfc120u.dll_Ordinal_8064]
movzx edx, al
test edx, edx
jne 0x4bd136
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4bd16c
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x10]
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
call fcn.004bfaa0
push 0
lea ecx, [ebp - 0x18]
call fcn.0046a0f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x2c
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.004632c0
lea ecx, [ebp - 0x38]
call fcn.00405d70
push 0
lea ecx, [ebp - 0x18]
call fcn.004091d0
movzx eax, al
test eax, eax
je 0x4bd1cb
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00409150
mov al, byte [ebp - 0xd]
jmp 0x4bd269
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.__nodes
call fcn.004090b0
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x18]
call fcn.004d5340
mov byte [ebp - 4], 0
mov ecx, eax
call fcn.004098a0
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x1c]
call fcn.004091d0
movzx eax, al
test eax, eax
je 0x4bd23b
mov byte [ebp - 0xe], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00409150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00409150
mov al, byte [ebp - 0xe]
jmp 0x4bd269
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004476b0
mov byte [ebp - 0xf], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00409150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00409150
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4bfad0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7317
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
jne 0x4bfb2c
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
jmp 0x4bfbbd
mov edx, dword [ebp - 0x14]
add edx, 8
push edx
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_5787]
test eax, eax
je 0x4bfb93
lea ecx, [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 0x104
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
push 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4c2df0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7793
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
je 0x4c2e3d
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x10], 0
je 0x4c2e55
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.004c43b0
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x54], 0
je 0x4c2e93
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4c2e8c
push 1
mov ecx, dword [ebp - 0x14]
call fcn.004c4160
mov dword [ebp - 0x1c], eax
jmp 0x4c2e93
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], 0
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x50], 0
je 0x4c2ebb
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call sub.mfc120u.dll_Ordinal_1508
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0047d4e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0047d4e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4c4900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x4c4914
xor eax, eax
jmp 0x4c4967
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 8]
cmp dword [ebp + 0xc], eax
jbe 0x4c4934
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 8]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
imul eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x4ccc60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov byte [ebp - 1], 0
cmp dword [ebp + 0xc], 0x104
jbe 0x4ccd13
call fcn.00406200
mov dword [ebp - 0x18], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004157f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4ccd13
mov dword [ebp - 8], 0x104
cmp dword [ebp + 8], 0
je 0x4ccd09
mov eax, dword [ebp - 8]
add eax, 1
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ccd09
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jne 0x4ccd09
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004cce90
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 8
Function at 0x4d3ed0
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov dword [ebp - 4], 0
jmp 0x4d3ee9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x4d3f31
mov dword [ebp - 8], 0
jmp 0x4d3f01
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x100
jge 0x4d3f2f
mov edx, dword [ebp - 4]
shl edx, 0xa
mov eax, dword [ebp - 4]
shl eax, 0xa
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 0x48]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 8]
mov edx, dword [edx + esi*4 + 0x548440]
mov dword [eax + ecx*4], edx
jmp 0x4d3ef8
jmp 0x4d3ee0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
jmp 0x4d3f4a
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x12
jge 0x4d3fb5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x4d3f69
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 4
jge 0x4d3f9d
mov edx, dword [ebp - 0x18]
shl edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
or edx, ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jl 0x4d3f9b
mov dword [ebp - 8], 0
jmp 0x4d3f60
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x5483f8]
xor edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4], edx
jmp 0x4d3f41
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
jmp 0x4d3fd5
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x12
jge 0x4d400a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004d4090
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 + 4], edx
jmp 0x4d3fcc
mov dword [ebp - 4], 0
jmp 0x4d401c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x4d4082
mov dword [ebp - 8], 0
jmp 0x4d4034
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x100
jge 0x4d4080
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d4090
add esp, 0xc
mov edx, dword [ebp - 4]
shl edx, 0xa
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x48]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xa
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x48]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + ecx*4 + 4], edx
jmp 0x4d402b
jmp 0x4d4013
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x484ce8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x484a08
add eax, eax
add eax, esi
call fcn.00484d22
inc eax
sub esi, eax
xor dword [edx], ecx
mov esi, eax
mov eax, 0xf54ac245
add edx, 2
and eax, eax
add eax, eax
cmp edx, ebx
jl fcn.00484ce8
inc eax
or esi, esi
inc esi
ret
Function at 0x1008a9d
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x102c140
call fcn.01008bb4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x10345a4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1008858
cmp eax, esi
jne 0x100884b
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100885b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1008832
xor esi, esi
inc esi
mov eax, dword [0x10345a0]
cmp eax, esi
jne 0x100886e
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100889d
mov eax, dword [0x10345a0]
test eax, eax
jne 0x1008897
mov dword [0x10345a0], esi
push 0x1001738
push 0x100172c
call fcn.01008794
pop ecx
pop ecx
test eax, eax
je 0x100889d
jmp 0x10089c1
mov dword [0x10340a8], esi
mov eax, dword [0x10345a0]
cmp eax, esi
jne 0x10088c1
push 0x1001728
push 0x10016dc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10345a0], 2
cmp dword [ebp - 0x20], ebx
jne 0x10088ce
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10345b0], ebx
je 0x10088ef
push 0x10345b0
call fcn.01009069
pop ecx
test eax, eax
je 0x10088ef
push ebx
push 2
push ebx
call dword [0x10345b0]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x10089c1
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x1008959
cmp cx, bx
je 0x1008914
cmp dword [ebp - 0x1c], ebx
jne 0x1008959
movzx ecx, word [eax]
cmp cx, bx
je 0x1008929
cmp cx, 0x20
ja 0x1008929
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1008914
test byte [ebp - 0x40], 1
je 0x1008935
movzx ecx, word [ebp - 0x3c]
jmp 0x1008938
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x10340a4], eax
cmp dword [0x1034098], ebx
jne 0x100899e
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x100896a
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x10088fe
cmp dword [0x10340a8], ebx
jne 0x10089ac
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10340a4]
jmp 0x10089cd
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01008bf9
ret
call fcn.010091ae
jmp 0x10087f5
Function at 0x1009845
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100989e
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1009890
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x100988c
cmp esi, eax
jae 0x1009890
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100987e
cmp esi, eax
jb 0x1009894
xor eax, eax
jmp 0x100989d
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x1009d06
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
test esi, esi
jne 0x1009d21
push 0x80004005
call fcn.01008514
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x1009d23
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100a59e
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1033348]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, ecx
mov ecx, dword [ebp + 8]
push 0x2001f
push ecx
push dword [eax]
xor esi, esi
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.01009c64
mov edi, eax
cmp edi, esi
je 0x100a610
lea ecx, [ebp - 0x214]
call fcn.01009bf1
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01008aac
leave
ret 4
mov edi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegEnumKeyExW]
jmp 0x100a62e
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0100a59e
cmp eax, esi
jne 0x100a679
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call edi
test eax, eax
je 0x100a618
lea ecx, [ebp - 0x214]
call fcn.01009bf1
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
call fcn.01009b6b
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.01009bf1
mov eax, esi
jmp 0x100a600
Function at 0x100ab1f
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
cmp eax, esi
jne 0x100ab40
xor eax, eax
jmp 0x100ab66
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x100a57c
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x100ab63
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret