joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451f44
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4520ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4520d0
mov dl, 1
mov eax, dword [0x412ea4]
call fcn.00403890
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404694
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4520bf
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043ff78
test al, al
je 0x4520b2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x452100
lea eax, [ebp - 0x254]
call fcn.004098dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4520b2
xor eax, eax
push ebp
push 0x4520ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x452138
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452094
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404904
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x452094
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4520b2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451fb5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004172c0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4520f6
lea eax, [ebp - 0x260]
call fcn.00404694
ret

Function at 0x452a24
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x470be0]
cmp byte [eax + 0xa5], 0
jne 0x452a95
cmp dword [0x470bf8], 0
jne 0x452a56
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4529e0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x470bf8], eax
cmp dword [0x470bf4], 0
jne 0x452a71
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x470bf4], eax
cmp dword [0x470bfc], 0
jne 0x452a95
push esp
push 0
push 0
push 0x452984
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x470bfc], eax
pop edx
ret
Function at 0x452b8c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x452ba3
add esp, 0xfffffff0
call fcn.00403be4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b670
mov eax, dword [0x46f06c]
cmp word [eax + 2], 0
jne 0x452bcb
mov eax, dword [0x46f06c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454264
mov eax, dword [0x46f168]
cmp word [eax + 2], 0
jne 0x452be5
mov eax, dword [0x46f168]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045445c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4128fc]
call fcn.00403890
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4128fc]
call fcn.00403890
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41e234]
call fcn.004256f0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x452d6c
mov eax, dword [0x46ef44]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425ac0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4549fc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46ef44]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040d1b0
test eax, eax
je 0x452cda
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409290
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d1d8
test eax, eax
je 0x452cee
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404904
mov eax, dword [0x46edcc]
cmp byte [eax], 0
jne 0x452d22
mov eax, ebx
call fcn.00452e94
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00454bd8
mov eax, ebx
call fcn.0045559c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452d62
call fcn.00403c3c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453114
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x470be0]
cmp dword [eax + 0x30], 0
je 0x4531be
cmp dword [ebx + 0x94], 0
jne 0x4531b8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4530a4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4531b8
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 0x45317e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4531b8
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.00414f88
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45318d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453d20
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 0x453d55
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.00404784
jmp 0x453d62
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046e8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x454db4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454df5
mov eax, esi
call fcn.0043b638
test al, al
je 0x454df5
mov eax, dword [ebx + 0x84]
call fcn.0043b360
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454df5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043b360
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45646c
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404b44
xor eax, eax
push ebp
push 0x4564ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b54
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x4564b5
mov eax, dword [ebx + 4]
call fcn.00404b54
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4564f1
lea eax, [ebp - 4]
call fcn.00404694
ret
Function at 0x4574ec
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x457689
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402b54
cmp word [ebx + 0xa2], 0
je 0x457535
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x457549
lea esi, [ebp - 8]
jmp 0x45754b
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x457558
xor edi, edi
jmp 0x457565
mov eax, dword [ebx + 0x80]
call fcn.00404b54
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404b54
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00456c24
mov eax, dword [ebp - 0x14]
call fcn.00404b54
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404b54
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404b54
push eax
mov eax, ebx
call fcn.00456d58
push eax
mov eax, ebx
call fcn.00456d2c
push eax
mov eax, ebx
call fcn.00456ce0
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00456af0
mov eax, dword [ebp - 0x18]
call fcn.00404b54
push eax
mov eax, dword [ebx + 8]
call fcn.00404b54
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x4575ee
call fcn.0040da3c
xor edx, edx
push ebp
push 0x457667
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x45762c
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x457622
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x457650
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45766e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x457698
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x4576c4
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404b54
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4576e9
call fcn.0040da3c
xor eax, eax
push ebp
push 0x457720
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x457709
call fcn.0040da3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457727
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x45b558
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [0x46f12c]
mov eax, dword [eax]
call eax
mov ebx, eax
call sub.kernel32.dll_GetCurrentThread
push eax
mov eax, dword [0x46f2c0]
mov eax, dword [eax]
call eax
mov esi, eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [0x46ee90]
mov eax, dword [eax]
call eax
push 0xf
call sub.kernel32.dll_GetCurrentThread
push eax
mov eax, dword [0x46f018]
mov eax, dword [eax]
call eax
push 0xa
call sub.kernel32.dll_Sleep_1
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call sub.kernel32.dll_Sleep_1
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.kernel32.dll_GetCurrentThread
push eax
mov eax, dword [0x46f018]
mov eax, dword [eax]
call eax
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [0x46ee90]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x45b610]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45b678
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [esp + 8]
shr eax, 0xa
add esp, 0x20
ret
Function at 0x45d7d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x45d803
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x45d882
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0045bd30
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x45d850
mov cx, word [esp]
sub cx, si
jmp 0x45d852
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x45d839
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x45d878
mov cx, word [esp]
sub cx, si
jmp 0x45d87a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x45d861
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x45d8df
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0045d4a8
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x45d8ca
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x45d8df
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x45d7de
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x460b50
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffe0
push esp
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x460bbe
lea eax, [esp + 8]
push eax
push 0x460bc4
push 0
mov eax, dword [0x46f1f4]
mov eax, dword [eax]
call eax
test eax, eax
je 0x460bbe
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], 2
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0
push 0x10
lea eax, [esp + 0x1c]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
add esp, 0x20
ret

Function at 0x460c58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b44
xor eax, eax
push ebp
push 0x460ce8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404694
mov eax, dword [ebp - 4]
call fcn.00404954
mov ebx, eax
test bx, bx
jbe 0x460cca
mov di, 1
movzx eax, di
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax - 1]
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
mov dx, word [ebp - 6]
xor dx, 8
call fcn.0040487c
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.0040495c
inc edi
dec bx
jne 0x460c9b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460cef
lea eax, [ebp - 0xc]
call fcn.00404694
lea eax, [ebp - 4]
call fcn.00404694
ret
Function at 0x4624f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor ecx, ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b44
mov eax, dword [ebp - 8]
call fcn.00404b44
xor eax, eax
push ebp
push 0x462757
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x254]
call fcn.00409214
mov edx, dword [ebp - 0x254]
lea eax, [ebp - 0x110]
mov ecx, 0xff
call fcn.00404930
mov eax, dword [ebp - 4]
call fcn.004028c0
call fcn.00402884
lea eax, [ebp - 0x250]
push eax
push 0x462768
mov eax, dword [0x46ee10]
mov eax, dword [eax]
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4626e4
mov eax, dword [ebp - 8]
call fcn.00408ce8
test al, al
jne 0x4625ac
mov eax, dword [ebp - 8]
call fcn.00408d0c
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x224]
mov ecx, 0x104
call fcn.00404904
mov eax, dword [ebp - 0x10]
mov edx, 0x462774
call fcn.00404aa0
je 0x4626c3
mov eax, dword [ebp - 0x10]
mov edx, 0x462780
call fcn.00404aa0
je 0x4626c3
cmp dword [ebp - 0x250], 0x10
jne 0x462692
push dword [ebp - 8]
push 0x46278c
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a14
mov eax, dword [ebp - 0xc]
call fcn.00408ce8
test al, al
jne 0x46261e
mov eax, dword [ebp - 0xc]
call fcn.00408d0c
mov eax, dword [ebp - 4]
call fcn.00404954
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x46265b
push dword [ebp - 4]
push 0x46278c
push dword [ebp - 0x10]
lea eax, [ebp - 0x258]
mov edx, 3
call fcn.00404a14
mov eax, dword [ebp - 0x258]
mov edx, dword [ebp - 0xc]
call fcn.004624f0
jmp 0x4626c3
lea eax, [ebp - 0x25c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004049a0
mov eax, dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x260]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004049a0
mov eax, dword [ebp - 0x260]
pop edx
call fcn.004624f0
jmp 0x4626c3
push dword [ebp - 8]
push 0x46278c
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a14
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
call fcn.00404b54
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404b54
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x250]
push eax
push ebx
mov eax, dword [0x46f1c4]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4625ac
jmp 0x462709
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x110]
call fcn.004048f8
mov eax, dword [ebp - 0x264]
call fcn.004028c0
call fcn.00402884
xor ebx, ebx
jmp 0x46272c
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x110]
call fcn.004048f8
mov eax, dword [ebp - 0x268]
call fcn.004028c0
call fcn.00402884
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46275e
lea eax, [ebp - 0x268]
mov edx, 6
call fcn.004046b8
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004046b8
ret
Function at 0x4632d0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4632e5
add esp, 0xfffffff0
call fcn.00403be4
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, edi
call fcn.00404b54
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
mov dword [ebx + 0x20], esi
cmp esi, 0xffffffff
je 0x46336f
lea eax, [ebp - 8]
push eax
push esi
mov eax, dword [0x46f274]
mov eax, dword [eax]
call eax
xor edx, edx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
cmp dword [ebx + 0x14], 0
jne 0x463342
cmp dword [ebx + 0x10], 0xffffffff
jne 0x463342
mov eax, dword [ebx + 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x46336f
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebx + 0x20]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
je 0x46336f
push 0
push 0
push 0
push 4
push esi
call sub.kernel32.dll_MapViewOfFile
mov dword [ebx + 8], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463386
call fcn.00403c3c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x463e18
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0x463e98
push 0
mov eax, esi
call fcn.00404b54
push eax
push ebx
mov eax, dword [0x46f1c0]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x463e76
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 3
push 0
mov eax, edi
call fcn.00404b54
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x463e7a
xor eax, eax
jmp 0x463e7c
mov al, 1
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x46f1e0]
mov eax, dword [eax]
call eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4648f4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [esi + 0x90]
cmp byte [eax + 8], 0
jne 0x464919
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp edi, eax
jae 0x464902
pop edi
pop esi
pop ebx
ret