joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d90
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b238
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45f4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
push dword [ebp - 0x18]
mov edx, dword [esi + 0x1c]
lea edi, [esi + 0x18]
push ecx
mov ecx, dword [edi]
call fcn.00407320
mov eax, dword [edi]
add esp, 8
mov dword [edi + 4], eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [esi + 0x54]
push 0
push 0
push dword [esi + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x18]
mov ecx, esi
push 0
call fcn.004068e0
mov eax, dword [esi + 0xc]
cmp dword [eax], 1
je 0x401e25
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0xc]
cmp dword [eax], 1
jne 0x401e15
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [eax], 2
test ecx, ecx
jne 0x401e50
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
call fcn.00431bf3
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x401e7d
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
jmp 0x401e7f
xor ebx, ebx
mov eax, dword [esi + 0xc]
cmp dword [eax], 1
je 0x401e97
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0xc]
cmp dword [eax], 1
jne 0x401e87
mov eax, dword [esi + 0xc]
mov esi, ebx
mov dword [ebp - 0x10], esi
mov ecx, dword [eax + 4]
mov dword [eax], 2
mov dword [ebx], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
mov eax, dword [edi + 4]
cmp ecx, eax
jae 0x401ef3
mov ecx, dword [edi]
lea edx, [ebp - 0x10]
cmp ecx, edx
ja 0x401ef3
mov ebx, edx
sub ebx, ecx
sar ebx, 2
cmp eax, dword [edi + 8]
jne 0x401ed8
push ecx
mov ecx, edi
call fcn.00404c20
mov eax, dword [edi]
mov edx, dword [edi + 4]
lea ecx, [eax + ebx*4]
test edx, edx
je 0x401f0b
mov eax, dword [ecx]
mov dword [ecx], 0
mov esi, dword [ebp - 0x10]
mov dword [edx], eax
jmp 0x401f0b
cmp eax, dword [edi + 8]
jne 0x401f00
push ecx
mov ecx, edi
call fcn.00404c20
mov eax, dword [edi + 4]
test eax, eax
je 0x401f0b
xor esi, esi
mov dword [eax], ebx
add dword [edi + 4], 4
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x401f56
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x401f4d
push dword [ebp - 0x18]
mov edx, dword [esi + 8]
push ecx
call fcn.00407380
push dword [esi + 4]
call fcn.00431bdf
add esp, 0xc
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push esi
call fcn.00431bdf
add esp, 4
dec dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
jne 0x401e50
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402ac0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [0x464c60]
push esi
push edi
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x1c]
cmp esi, edi
je 0x402c3c
jmp 0x402ae0
push 0
push 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [ebx + 0x54]
push 0
push 0
push dword [ebx + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
je 0x402b26
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
jne 0x402b16
mov eax, dword [ebx + 0xc]
mov dword [eax + 4], 0x11
mov eax, dword [ebx + 0xc]
mov dword [eax], 1
mov eax, dword [ebx + 0xc]
cmp dword [eax], 2
je 0x402b51
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 2
jne 0x402b41
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
je 0x402b80
lea esp, [esp]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
jne 0x402b70
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xc]
mov dword [eax], 1
mov eax, dword [ebx + 0xc]
cmp dword [eax], 2
je 0x402bb0
lea ebx, [ebx]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 2
jne 0x402ba0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
je 0x402bd1
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
jne 0x402bc1
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0xc]
mov dword [eax], 1
mov eax, dword [ebx + 0xc]
cmp dword [eax], 2
je 0x402c00
jmp 0x402bf0
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 2
jne 0x402bf0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
cmp dword [eax], 1
je 0x402c21
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 1
jne 0x402c11
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 4]
mov dword [ecx], 2
test edx, edx
jne 0x402c47
add esi, 4
cmp esi, edi
jne 0x402ae0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0xc]
cmp dword [eax], 1
je 0x402c60
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 1
jne 0x402c50
mov ecx, dword [ebx + 0xc]
pop edi
pop esi
pop ebx
mov eax, dword [ecx + 4]
mov dword [ecx], 2
mov esp, ebp
pop ebp
ret 4
Function at 0x403e00
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b3c0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x45f4b0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
call fcn.00401960
test al, al
je 0x403f55
cmp byte [edi + 0x34], 0
je 0x403e65
mov ecx, edi
call fcn.00401d90
test al, al
je 0x403f55
mov ecx, edi
call fcn.00401f80
test al, al
je 0x403f55
mov byte [edi + 0x34], 0
push 0
push 4
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [edi + 0x54]
push 0
push 0
push dword [edi + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
mov ecx, edi
call fcn.004068e0
push dword [ebp + 8]
mov ecx, edi
call fcn.004068e0
mov eax, dword [edi + 0xc]
cmp dword [eax], 1
je 0x403ec4
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [edi + 0xc]
cmp dword [eax], 1
jne 0x403eb8
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 4]
mov dword [eax], 2
test ecx, ecx
je 0x403f55
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.004014a0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.004014a0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x30]
mov ecx, edi
cmovae edx, dword [ebp - 0x48]
cmp dword [ebp - 0x1c], 0x10
push edx
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00402c80
cmp dword [ebp - 0x1c], 0x10
mov esi, eax
jb 0x403f28
push dword [ebp - 0x30]
call fcn.00431bdf
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
jb 0x403f4b
push dword [ebp - 0x48]
call fcn.00431bdf
add esp, 4
mov eax, esi
jmp 0x403f57
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00431be4
mov esp, ebp
pop ebp
ret 4
Function at 0x409480
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44b798
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x45f4b0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x45f4b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00409f00
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.004093a0
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x4094fd
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.004322cb
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x409526
push dword [esp + 0x10]
call fcn.00431bdf
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00431be4
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b898
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x45f4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0xc], edx
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
sub esp, 8
mov dword [esi], vtable.TrButton.0
mov dword [esi + 0x30], edx
mov dword [esi + 0x4c], 0
push edx
push 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov word [esi + 0x21], 0x100
mov byte [esi + 0x20], 0
mov word [esi + 0x50], 0
mov byte [esi + 0x52], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], edx
call fcn.0040ad00
mov eax, dword [esi + 0x38]
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x411930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
push ebx
push esi
push edi
push 0
mov esi, edx
mov dword [eax], 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
movzx ecx, di
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41196b
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x411962
mov esi, dword [ebp - 4]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push edi
push eax
call fcn.00433a20
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0xc], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x4119ea
lea eax, [ebp - 4]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
jmp 0x4119ec
xor esi, esi
mov eax, dword [ebp + 8]
push ebx
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411d50
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44bf82
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x45f4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 5
push 0
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x218], ax
jne 0x411dca
xor ecx, ecx
jmp 0x411de2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411dd3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040a970
push 0xd
mov dword [ebp - 4], 0
mov ecx, esi
push str.FLiNGTrainer
mov dword [ebp - 0x21c], 1
call fcn.00406e50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00431be4
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c083
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x45f4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.TrImage.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
call fcn.00413010
mov dword [esi + 0x38], eax
mov byte [esi + 0x22], 0
mov eax, esi
mov dword [esi + 0x34], 0
mov byte [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x413710
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c0f9
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x45f4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x210], edi
mov dword [edi + 8], eax
mov dword [edi + 4], 2
mov dword [edi + 0x2c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
mov dword [edi], vtable.TrLabel.0
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
mov byte [ebp - 4], 1
push eax
push 0x456098
mov byte [edi + 0x60], al
mov dword [edi + 0x58], eax
mov dword [edi + 0x54], eax
call fcn.0040a970
push 0
lea eax, [ebp - 0x208]
mov byte [edi + 0x22], 0
push eax
push 0x1f8
push 0x29
mov byte [edi + 0x61], 0
mov dword [ebp - 0x208], 0x1f8
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, dword [sym.imp.gdiplus.dll_GdipAlloc]
push 8
mov dword [ebp - 0x210], eax
call ebx
test eax, eax
je 0x41381f
movss xmm2, dword [0x458598]
lea ecx, [ebp - 0x54]
sub esp, 0xc
push ecx
mov ecx, eax
call fcn.00413c20
jmp 0x413821
xor eax, eax
push 0xc
mov dword [edi + 0x4c], eax
call ebx
mov esi, eax
test esi, esi
je 0x413865
lea eax, [ebp - 0x20c]
mov dword [esi + 8], 6
push eax
push 0xff000000
mov dword [esi], vtable.Gdiplus::SolidBrush.0
mov dword [ebp - 0x20c], 0
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x20c]
mov dword [esi + 4], eax
jmp 0x413867
xor esi, esi
push 0x464d90
mov dword [edi + 0x50], esi
call dword [sym.imp.gdiplus.dll_GdipStringFormatGetGenericTypographic]
mov dword [0x464d94], eax
lea eax, [ebp - 0x20c]
push eax
push dword [0x464d90]
mov dword [ebp - 0x20c], 0
call dword [sym.imp.gdiplus.dll_GdipCloneStringFormat]
mov dword [0x464d94], eax
test eax, eax
jne 0x4138bc
push 8
call ebx
mov esi, eax
test esi, esi
je 0x4138bc
mov ecx, dword [ebp - 0x20c]
mov eax, dword [0x464d94]
mov dword [esi + 4], eax
mov dword [esi], ecx
jmp 0x4138be
xor esi, esi
push 0x1000
mov dword [edi + 0x48], esi
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatFlags]
test eax, eax
je 0x4138d5
mov dword [esi + 4], eax
mov esi, dword [edi + 0x50]
push 0xff000000
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipSetSolidFillColor]
test eax, eax
je 0x4138ed
mov dword [esi + 8], eax
push dword [ebp - 0x210]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00431be4
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4141d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c1e0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x45f4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0xc0]
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp edi, 0xff
jge 0x41428c
push edi
call ebx
shr eax, 0xf
and al, 1
je 0x414286
cmp byte [edi + 0x464c90], 0
jne 0x414286
mov ecx, esi
mov byte [edi + 0x464c90], 1
call fcn.00413e60
test al, al
je 0x41428c
push 1
push 0x457f10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040a2f0
mov dword [ebp - 4], 0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004143e0
cmp dword [ebp - 0x14], 0x10
jb 0x4143c4
push dword [ebp - 0x28]
call fcn.00431bdf
add esp, 4
jmp 0x4143c4
mov byte [edi + 0x464c90], al
mov edi, dword [esi + 0xc4]
cmp edi, 0xff
jge 0x4142db
push edi
call ebx
shr eax, 0xf
and al, 1
je 0x4142d5
cmp byte [edi + 0x464c90], 0
jne 0x4142d5
mov ecx, esi
mov byte [edi + 0x464c90], 1
call fcn.00413e60
test al, al
je 0x4142db
push 0x457f14
lea ecx, [ebp - 0x28]
call fcn.0040a3f0
mov dword [ebp - 4], 1
jmp 0x41425e
mov byte [edi + 0x464c90], al
mov edi, dword [esi + 0xc8]
cmp edi, 0xff
jge 0x414336
push edi
call ebx
shr eax, 0xf
and al, 1
je 0x414330
cmp byte [edi + 0x464c90], 0
jne 0x414330
push 1
push 0x457f40
lea ecx, [ebp - 0x28]
mov byte [edi + 0x464c90], 1
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040a2f0
mov dword [ebp - 4], 2
jmp 0x41425e
mov byte [edi + 0x464c90], al
mov edi, dword [esi + 0xcc]
cmp edi, 0xff
jge 0x414399
push edi
call ebx
shr eax, 0xf
and al, 1
je 0x414393
cmp byte [edi + 0x464c90], 0
jne 0x414393
push 0x457f44
lea ecx, [ebp - 0x40]
mov byte [edi + 0x464c90], 1
call fcn.0040a3f0
sub esp, 0x18
mov dword [ebp - 4], 3
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004143e0
cmp dword [ebp - 0x2c], 0x10
jb 0x4143c4
push dword [ebp - 0x40]
call fcn.00431bdf
add esp, 4
jmp 0x4143c4
mov byte [edi + 0x464c90], al
push 0x24
call ebx
shr eax, 0xf
and al, 1
je 0x4143bf
cmp byte [0x464cb4], 0
jne 0x4143bf
push 0
mov ecx, esi
mov byte [0x464cb4], 1
call fcn.00414ea0
jmp 0x4143c4
mov byte [0x464cb4], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00431be4
mov esp, ebp
pop ebp
ret
Function at 0x415650
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45f4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x28
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4156e8
lea eax, [ebp - 0x20]
push eax
push 0x457f78
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4156df
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
push 0
movq qword [ebp - 0x10], xmm0
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete bl
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00431be4
mov esp, ebp
pop ebp
ret
Function at 0x415790
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c397
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x45f4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004163b0
mov dword [esi], eax
lea ecx, [esi + 8]
mov dword [ebp - 4], 0
call fcn.004185e0
mov byte [ebp - 4], 1
lea edi, [esi + 0x68]
lea ecx, [esi + 0x70]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ecx + 0x48], 0
call fcn.00413dd0
lea ecx, [esi + 0xf0]
mov dword [esi + 0xbc], 0x60
mov dword [esi + 0xc0], 0x61
mov dword [esi + 0xc4], 0x62
mov dword [esi + 0xc8], 0x63
mov dword [esi + 0xcc], 0x64
mov dword [esi + 0xd0], 0x65
mov dword [esi + 0xd4], 0x66
mov dword [esi + 0xd8], 0x67
mov dword [esi + 0xdc], 0x68
mov dword [esi + 0xe0], 0x69
mov dword [esi + 0xe4], 0x6e
mov dword [esi + 0xe8], 0x6b
mov dword [esi + 0xec], 0x6d
call fcn.00419270
mov dword [esi + 0x158], 0xffffffff
xor ecx, ecx
mov dword [esi + 0x15c], 9
mov byte [esi + 0x160], 0
mov dword [esi + 0x178], 7
mov dword [esi + 0x174], 0
mov word [esi + 0x164], cx
mov dword [esi + 0x190], 7
mov dword [esi + 0x18c], ecx
mov word [esi + 0x17c], cx
xor eax, eax
mov dword [esi + 0x1a8], 7
mov dword [esi + 0x1a4], ecx
mov word [esi + 0x194], ax
mov dword [esi + 0x1c0], 7
mov dword [esi + 0x1bc], eax
mov word [esi + 0x1ac], cx
lea ecx, [esi + 0x1c4]
mov byte [ebp - 4], 6
call fcn.00401610
push 0x12
push 0x457f18
lea ecx, [esi + 0x164]
mov byte [ebp - 4], 7
call fcn.0040a970
lea eax, [esi + 0x164]
lea ecx, [esi + 0x17c]
cmp ecx, eax
je 0x41594d
push 0xffffffffffffffff
push 0
push eax
call fcn.0040a570
call fcn.00415650
push 7
push str.NOT_SET
lea ecx, [esi + 0x1ac]
call fcn.0040a970
lea eax, [esi + 0x17c]
push eax
lea eax, [esi + 0x164]
push eax
lea ecx, [esi + 8]
call fcn.00418730
lea eax, [esi + 8]
mov dword [ebp - 0x38], 0
mov dword [edi + 4], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x10], 0
lea eax, [ebp - 0x38]
push eax
je 0x4159be
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x4159c4
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, 0x1000
mov eax, esi
cmp dword [ebp - 0x1c], ecx
cmova ecx, dword [ebp - 0x1c]
mov dword [edi], ecx
mov dword [esi + 0xb8], edi
mov dword [esi + 0xf4], edi
mov dword [esi + 0x1f4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret