joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6b9d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x6b9d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x6b9d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x6b9d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6b9d94
push eax
push esi
call fcn.006bc20b
add esp, 8
pop esi
ret 0x10

Function at 0x6b9da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6b9e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x6b9e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x6d2320
push ecx
mov dword [esp + 0x1c], 4
call fcn.006bbdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x6b9dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x6b9e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6b9ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x6b9eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x6d2320
push ecx
mov dword [esp + 0x1c], 4
call fcn.006bbdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x6b9eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x6b9e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x6ba000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x6ba131
push esi
call fcn.006bd145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.006ac080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x6ba131
push 0
push ebp
call fcn.006ac3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.006ac260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x6ba08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.006ac2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x6ba121
push 0x6d2918
push edi
call fcn.006bb3f0
push eax
push ebx
push esi
call fcn.006b9f60
push 0x6d28f8
push edi
call fcn.006bb3f0
push eax
push ebx
push esi
call fcn.006b9f60
push 0x6d28d8
push edi
call fcn.006bb3f0
push eax
push ebx
push esi
call fcn.006b9f60
push 0x6d28c0
push edi
call fcn.006bb3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.006b9f60
push 0x6d28a0
push edi
call fcn.006bb3f0
push eax
push ebx
push esi
call fcn.006b9f60
push 0x6d2888
push edi
call fcn.006bb3f0
push eax
push ebx
push esi
call fcn.006b9f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x6bb1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.006bb140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.006bb140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.006bb140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.006bb140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x6bbbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6bbc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6cd87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6bbc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6bbc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4026a0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402714
lea ecx, [esp + 4]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push 0
push 0
push 0x10
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
push 0
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x402714
xor eax, eax
add esp, 0x1c
ret
mov eax, dword [esp + 0x20]
push 0x80020003
or eax, 0x10
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
add esp, 0x1c
ret

Function at 0x403a30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403a49
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403a84
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403a80
lea ebx, [ebx]
cmp esi, eax
jae 0x403a84
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403a70
cmp esi, eax
jb 0x403a8a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4042a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push esi
xor esi, esi
push esi
mov dword [esp + 8], esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40433f
push ebp
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebp, dword [esp + 0x14]
mov eax, ebp
lea edx, [eax + 2]
jmp 0x4042d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4042d0
sub eax, edx
sar eax, 1
lea edi, [eax + eax]
lea eax, [edi + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x404330
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x40432f
push edi
push ebp
push ebx
call fcn.004bf3c0
add esp, 0xc
xor ecx, ecx
push esi
mov word [edi + ebx], cx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x40432f
mov dword [esp + 0x10], 1
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop esi
pop ecx
ret
mov eax, esi
pop esi
pop ecx
ret
Function at 0x405510
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
mov eax, dword [0x646274]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push ebx
mov bx, word [esp + 0x1c]
push ebp
push esi
push edi
cmp bx, 0x61
jb 0x405537
cmp bx, 0x7a
jbe 0x405544
lea ecx, [eax - 0x41]
cmp cx, 0x19
ja 0x4055d5
mov esi, dword [sym.imp.USER32.dll_keybd_event]
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
add eax, 0xffffffbf
mov dword [esp + 0x10], 0
cmp ax, 0x19
ja 0x405578
push 0
push 0
push 0
push 0x10
mov dword [esp + 0x20], 1
call edi
push eax
push 0x10
call esi
movzx edx, bx
push edx
call fcn.004bfdec
add esp, 4
movzx ebx, ax
push 0
push 0
movzx ebp, bx
push 0
push ebp
mov dword [esp + 0x38], ebx
call edi
push eax
push ebx
call esi
push 0
push 2
push 0
push ebp
call edi
push eax
push ebx
call esi
cmp dword [esp + 0x10], 0
je 0x405698
push 0
push 2
push 0
push 0x10
call edi
push eax
push 0x10
call esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004be710
add esp, 0x14
ret
mov eax, 0xff
cmp bx, ax
jbe 0x4055f4
mov al, byte [esp + 0x28]
mov cl, byte [esp + 0x29]
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], al
mov bx, word [esp + 0x28]
movzx edx, bx
push edx
lea eax, [esp + 0x18]
push 0x506d1c
push eax
call fcn.004bfc59
lea ebp, [esp + 0x20]
add esp, 0xc
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x405611
sub ebp, ecx
mov eax, 0
je 0x405635
mov cl, byte [esp + eax + 0x14]
sub cl, 0x30
or cl, 0x60
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, ebp
jb 0x405622
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0
push 0
push 0x12
call edi
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call ebx
xor esi, esi
test ebp, ebp
jbe 0x405689
movsx edx, byte [esp + esi + 0x14]
push 0
push 0
push 0
push edx
call edi
push eax
movzx eax, byte [esp + esi + 0x20]
push eax
call ebx
movsx ecx, byte [esp + esi + 0x14]
push 0
push 2
push 0
push ecx
call edi
movzx edx, byte [esp + esi + 0x1c]
push eax
push edx
call ebx
inc esi
cmp esi, ebp
jb 0x405656
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call ebx
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004be710
add esp, 0x14
ret
Function at 0x407970
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f5b68
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x646274]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.Event.0
call fcn.004a72ba
cmp eax, ebx
jne 0x4079bb
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi], vtable.KeystrokeEvent.0
mov dword [esi + 8], 0xf
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], bl
mov byte [esi + 0x1e], bl
mov byte [esi + 0x1f], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x40bc80
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4f5d79
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x646274]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
xor esi, esi
push esi
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebp, eax
shl ebp, 0x10
cmp dword [esp + 0x30], esi
je 0x40bccc
or ebp, 0x1000000
call fcn.004a72ba
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40bce6
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x28]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], 1
mov esi, 0x40
mov eax, dword [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add esi, esi
sub eax, esi
or eax, ecx
jge 0x40bd29
push esi
mov ecx, edi
call fcn.00401890
mov eax, dword [edi]
test esi, esi
jl 0x40bd95
cmp esi, dword [eax - 8]
jg 0x40bd95
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + esi*2], dx
lea ecx, [esi + 1]
push ecx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bd65
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x40bd69
push ecx
push eax
call fcn.004bfaf7
add esp, 8
test eax, eax
jl 0x40bd95
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x40bd95
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp ebx, esi
je 0x40bd09
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00401000
int3
Function at 0x412340
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4ff009
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x646274]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.004a72ba
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41238d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x20]
add eax, 0x10
mov dword [edi], eax
push 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4123e5
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4123df
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00402030
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x414290
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4f6268
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x646274]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
call fcn.004139e0
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 0x1c], esi
call fcn.0040c440
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x40dd90
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414319
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret

Function at 0x418350
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x500b1b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x646274]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0x648224]
test eax, eax
jne 0x41838c
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4183c9
push 0x3c
call fcn.0049f906
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
test eax, eax
je 0x4183b8
mov ecx, eax
call fcn.00418320
jmp 0x4183ba
xor eax, eax
push eax
mov esi, eax
mov eax, dword [0x648224]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x41e940
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x401610
push 0
push 0
mov dword [0x647ec4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x647ec4], 0
jne 0x40175a
nop
push 0x64822c
push 0x32
push 0xa
call fcn.004047b0
add esp, 0xc
cmp dword [0x647ec4], 0
je 0x401740
call fcn.00418350
mov ecx, dword [0x647ec4]
mov dword [eax + 0x1c], ecx
ret
inc dword [0x648228]
push esi
call fcn.00418350
mov ecx, eax
call fcn.004122e0
mov dword [0x64823c], 0
call fcn.0041e8d0
call fcn.00457e20
call fcn.00457e60
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x6431a8
call dword [sym.imp.USER32.dll_SetRect]
call fcn.0044a9c0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x17
call esi
test eax, eax
je 0x41e9bc
mov dword [0x643198], 8
mov dword [0x64319c], 0x10
mov dword [0x6431a0], 2
mov dword [0x6431a4], 4
jmp 0x41e9e4
mov dword [0x643198], 2
mov dword [0x64319c], 4
mov dword [0x6431a0], 8
mov dword [0x6431a4], 0x10
push 0
call esi
push 1
mov dword [0x648234], eax
call esi
mov dword [0x648230], eax
mov dword [0x674cfc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x648244], eax
call fcn.0043d040
pop esi
jmp 0x401710

Function at 0x41f1b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f6d77
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x646274]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esp + 0x18], edi
mov dword [esi], vtable.Event.0
call fcn.004a72ba
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41f202
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x18], 1
mov dword [esi], vtable.ForLoopEvent.0
call fcn.004a72ba
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41f249
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 6
call fcn.00418dc0
mov dword [esi + 8], 8
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 3
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x420ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f71e1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x646274]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.Event.0
call fcn.004a72ba
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x420b33
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], ebx
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esp + 0x1c], 1
mov dword [esi], vtable.WaitWindowEvent.0
call fcn.004a72ba
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x420b7a
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x1c], 2
lea edi, [esi + 0x28]
call fcn.004a72ba
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x420bab
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 3
call fcn.00418dc0
push 3
push 0x50977c
mov ecx, edi
mov byte [esp + 0x24], 4
mov dword [esi + 8], 0x1d
mov dword [esi + 0x1c], 1
mov dword [esi + 0x24], 0xa
call fcn.00401bf0
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x420f20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f726b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x646274]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esp + 0x18], edi
mov dword [esi], vtable.Event.0
call fcn.004a72ba
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x420f72
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
push edi
push edi
push edi
push 0x43e670
push 0x506ad0
lea ecx, [esi + 0x1c]
mov dword [esp + 0x2c], 1
mov dword [esi], vtable.FunStartEvent.0
call fcn.00411a20
lea ecx, [esi + 0x288]
mov byte [esp + 0x18], 2
call fcn.00418dc0
mov dword [esi + 8], 0x2e
mov dword [esi + 0x10], edi
mov dword [esi + 0x30], esi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x429000
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push 0x288
push 0x40
xor ebx, ebx
call esi
mov edi, eax
lea eax, [esp + 0xc]
push eax
push edi
mov dword [esp + 0x14], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x429040
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0xc]
push ecx
push 0x40
call esi
mov edi, eax
lea edx, [esp + 0xc]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4290bb
mov esi, edi
test edi, edi
je 0x4290bb
jmp 0x429060
lea eax, [esi + 0x10c]
push 0x60a6dc
push eax
call fcn.004c0740
add esp, 8
test eax, eax
ja 0x429095
cmp dword [esi + 0x1a0], 0x47
je 0x429095
mov esi, dword [esi]
test esi, esi
jne 0x429060
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x190]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
add esi, 0x194
push esi
push edx
mov dword [ecx], eax
call fcn.004bf3c0
add esp, 0xc
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x4291e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x14]
dec ebp
xor eax, eax
test edx, edx
jle 0x429219
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x1c]
jmp 0x429200
mov ecx, ebp
test ebp, ebp
jl 0x429211
mov bl, byte [ecx + edi]
xor byte [eax + esi], bl
sub ecx, 1
jns 0x429206
inc eax
cmp eax, edx
jl 0x429200
pop edi
pop esi
pop ebx
pop ebp
ret