joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3808
push 0x4a3288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x49f329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x49f329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004a21d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x49f329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x49f329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x49f32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0049f351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49fd20
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 0x49fd58
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 0x49fd60
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 0x49fd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49fd94
push eax
push esi
call fcn.004a220b
add esp, 8
pop esi
ret 0x10

Function at 0x49fda0
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 0x49fe22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x49fe15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x4b8320
push ecx
mov dword [esp + 0x1c], 4
call fcn.004a1dff
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 0x49fdda
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 0x49fe30
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 0x49fec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x49feb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x4b8320
push ecx
mov dword [esp + 0x1c], 4
call fcn.004a1dff
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 0x49feab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x49fe6a
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 0x4a0000
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 0x4a0131
push esi
call fcn.004a3145
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.00492080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x4a0131
push 0
push ebp
call fcn.004923a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00492260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4a008b
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.004922f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4a0121
push 0x4b8918
push edi
call fcn.004a13f0
push eax
push ebx
push esi
call fcn.0049ff60
push 0x4b88f8
push edi
call fcn.004a13f0
push eax
push ebx
push esi
call fcn.0049ff60
push 0x4b88d8
push edi
call fcn.004a13f0
push eax
push ebx
push esi
call fcn.0049ff60
push 0x4b88c0
push edi
call fcn.004a13f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0049ff60
push 0x4b88a0
push edi
call fcn.004a13f0
push eax
push ebx
push esi
call fcn.0049ff60
push 0x4b8888
push edi
call fcn.004a13f0
push eax
push ebx
push esi
call fcn.0049ff60
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 0x4a11b0
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.004a1140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.004a1140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.004a1140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.004a1140
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 0x4a1230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a12d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x4a12ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004a1230
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a12ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x4a127e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x4a12ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x4a1bfa
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 0x4a1c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x4b387c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a1c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4a1c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4016c0
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 0x4016d9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401714
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401710
lea ebx, [ebx]
cmp esi, eax
jae 0x401714
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401700
cmp esi, eax
jb 0x40171a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4032f0
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x49d4b3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 4
mov dword [esp + 0x1c], 0
call fcn.00459aee
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
mov byte [esp + 0x18], 1
mov edi, dword [esp + 0x20]
je 0x40334b
lea eax, [edi - 0x10]
push eax
call fcn.00402840
add esp, 4
add eax, 0x10
mov dword [esi], eax
jmp 0x40334d
xor esi, esi
lea eax, [esp + 0x20]
push eax
push 4
push esi
push 0x403230
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40339a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4033b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], 0
call fcn.00463420
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x4033d5
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
movzx eax, word [esp + 0x24]
push 0x4ad6d8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4033cb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4033cb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 2
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x403480
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x403479
push esi
push ebp
push ebx
call fcn.00486630
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0
push ebx
mov dword [esp + 0x20], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x403472
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00402d80
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4039e0
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x49c478
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4c86e0]
xor eax, esp
mov dword [esp + 0x168], eax
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x184], edi
cmp dword [0x4cfe38], edi
jne 0x403a3e
push 1
push 0x14
push 0x21
push 0x20
push 0x20
mov ecx, 0x4cfe34
call fcn.00464bdd
mov esi, dword [esp + 0x18c]
lea eax, [esp + 0x10]
push eax
push esi
mov ecx, 0x4cfe3c
mov dword [esp + 0x18], 0x3e8
call fcn.00464e15
test eax, eax
jne 0x403aef
push 0x15c
lea ecx, [esp + 0x1c]
push edi
push ecx
mov dword [esp + 0x20], edi
call fcn.00483d60
add esp, 0xc
push pe_nt_image_headers32
push 0x160
lea edx, [esp + 0x1c]
push edx
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x403ad6
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4cfe38]
push eax
push ecx
call fcn.00463420
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00406610
push esi
mov ecx, 0x4cfe3c
mov dword [esp + 0x14], eax
mov edi, eax
call fcn.00464eec
mov dword [eax], edi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x403aef
push esi
mov ecx, 0x4cfe3c
call fcn.00464eec
mov dword [eax], 0x3e8
mov dword [esp + 0x10], 0x3e8
mov edi, dword [esp + 0x10]
lea eax, [esi - 0x10]
mov dword [esp + 0x184], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.0047e440
add esp, 0x17c
ret

Function at 0x403d70
Capabilities:
Find taskbar

Disassembly:
push esi
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403d9e
push edi
push str.TrayNotifyWnd
push edi
push esi
call dword [sym.imp.USER32.dll_FindWindowExA]
pop edi
pop esi
ret
mov eax, edi
pop edi
pop esi
ret
Function at 0x4046f0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404731
mov ecx, dword [esp]
push str.qicaihe
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x405490
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x8004
call fcn.00484be0
mov eax, dword [0x4c86e0]
xor eax, esp
mov dword [esp + 0x8000], eax
push 0x8000
lea eax, [esp + 4]
push 0
push eax
call fcn.00483d60
mov edx, dword [esp + 0x8014]
add esp, 0xc
lea ecx, [esp + 0x800c]
push ecx
push edx
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x8000]
xor ecx, esp
call fcn.0047e440
add esp, 0x8004
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x49d3ae
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
call fcn.00461729
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4069b2
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x14], edi
call fcn.00461729
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4069de
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 8], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x40ceb0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
jmp fcn.0040cc90

Function at 0x40d070
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x49edba
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4c86e0]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
push 0x104
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x134], 3
call fcn.00483d60
mov esi, dword [esi + 4]
mov ebx, dword [esp + 0x144]
mov ebp, dword [esp + 0x140]
add esp, 0xc
push esi
mov esi, dword [esp + 0x134]
push 0x104
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d11d
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea ecx, [esp + 0x18]
push ecx
push 0x4ac600
push edi
mov dword [esp + 0x1c], 1
call fcn.00402a20
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0x128], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d16a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x128], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d18e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x128], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d1b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0047e440
add esp, 0x11c
ret 0xc
Function at 0x40d360
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49d308
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov dword [eax + 4], ecx
add dword [0x4cf9e4], 1
mov edx, 0xf
mov dword [eax], vtable.CCXBMenu.0
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
mov esi, edx
mov edi, 0x6c
mov ebx, 0x1e
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x78], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0xb8], 0x23
mov dword [eax + 0xb4], 0x64
mov dword [eax + 0x34], 0x7e3e0a
mov dword [eax + 0x30], 0xfefaf2
mov dword [eax + 0x10], 0xc0c0c0
mov dword [eax + 0x14], 0xffffff
mov dword [eax + 0x18], 0x800000
mov dword [eax + 0x44], 0x8f
mov dword [eax + 0x48], 0x1a
mov dword [eax + 0x7c], edi
mov dword [eax + 0x80], ebx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], esi
mov dword [eax + 0x1c], 0xfdf8f3
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0xffffff
mov dword [eax + 0x20], 0xefc8a1
mov dword [eax + 0x24], 0xbe763e
mov dword [eax + 0x28], 0xd1ad70
mov dword [eax + 0x2c], 0xffffff
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x40ec60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49b688
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call fcn.0045d6f3
push eax
lea ecx, [esp + 0x20]
call fcn.00462249
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
neg eax
push eax
neg ecx
push ecx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov esi, dword [esi + 8]
push esi
push esi
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call fcn.0046d81c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046229d
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x40f4e0
Capabilities:
Create process memory minidump
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bb920
push 0x484310
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c86e0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0xc]
xor edi, edi
cmp esi, edi
jne 0x40f581
mov dword [ebp - 4], edi
push str.raising_exception_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
push edi
push edi
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.KERNEL32.dll_RaiseException]
push str.writing_minidump_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
push edi
push edi
lea edx, [ebp - 0x24]
push edx
push edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412d60
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0xe4]
test eax, eax
push edi
mov edi, dword [esp + 0xc]
je 0x412d8d
cmp dword [eax + 0x20], 0
je 0x412d8d
mov eax, dword [esi + 0x104]
push edi
push 0
push 0x407
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 4]
cmp eax, 0x100
jb 0x412dc1
cmp eax, 0x109
ja 0x412dc1
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x412dbb
cmp dword [edi + 8], 0x12
jne 0x412dbb
pop edi
mov eax, 1
pop esi
ret 4
cmp dword [edi + 8], 9
je 0x412db1
push edi
mov ecx, esi
call fcn.0045b666
pop edi
pop esi
ret 4