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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d958
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4634b0]
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.00407ae0
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.00406f90
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.00434316
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.00405240
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.00405240
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.00407b40
push dword [esi + 4]
call fcn.00434302
add esp, 0xc
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push esi
call fcn.00434302
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 0x402bc0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [0x468c60]
push esi
push edi
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x1c]
cmp esi, edi
je 0x402d3c
jmp 0x402be0
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 0x402c26
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
jne 0x402c16
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 0x402c51
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 2
jne 0x402c41
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 0x402c80
lea esp, [esp]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
jne 0x402c70
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 0x402cb0
lea ebx, [ebx]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 2
jne 0x402ca0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
je 0x402cd1
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 0
jne 0x402cc1
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 0x402d00
jmp 0x402cf0
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 2
jne 0x402cf0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
cmp dword [eax], 1
je 0x402d21
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 1
jne 0x402d11
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 4]
mov dword [ecx], 2
test edx, edx
jne 0x402d47
add esi, 4
cmp esi, edi
jne 0x402be0
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 0x402d60
nop
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0xc]
cmp dword [eax], 1
jne 0x402d50
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 0x4043e0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44db40
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4634b0]
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 0x404535
cmp byte [edi + 0x34], 0
je 0x404445
mov ecx, edi
call fcn.00401d90
test al, al
je 0x404535
mov ecx, edi
call fcn.00401f80
test al, al
je 0x404535
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.00406f90
push dword [ebp + 8]
mov ecx, edi
call fcn.00406f90
mov eax, dword [edi + 0xc]
cmp dword [eax], 1
je 0x4044a4
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [edi + 0xc]
cmp dword [eax], 1
jne 0x404498
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 4]
mov dword [eax], 2
test ecx, ecx
je 0x404535
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.00402d80
cmp dword [ebp - 0x1c], 0x10
mov esi, eax
jb 0x404508
push dword [ebp - 0x30]
call fcn.00434302
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
jb 0x40452b
push dword [ebp - 0x48]
call fcn.00434302
add esp, 4
mov eax, esi
jmp 0x404537
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.00434307
mov esp, ebp
pop ebp
ret 4
Function at 0x40ac00
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44df18
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4634b0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4634b0]
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.0040b680
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.0040ab20
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x40ac7d
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.004349eb
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x40aca6
push dword [esp + 0x10]
call fcn.00434302
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.00434307
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e028
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4634b0]
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.0040c480
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 0x4132b0
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 0x4132eb
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 0x4132e2
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.00436140
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 0x41336a
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 0x41336c
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 0x4136d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e752
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4634b0]
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 0x41374a
xor ecx, ecx
jmp 0x413762
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413753
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040c0f0
push 0xd
mov dword [ebp - 4], 0
mov ecx, esi
push str.FLiNGTrainer
mov dword [ebp - 0x21c], 1
call fcn.00407500
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.00434307
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e853
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4634b0]
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.00414990
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 0x415090
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e8c9
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x4634b0]
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 0x4590a8
mov byte [edi + 0x60], al
mov dword [edi + 0x58], eax
mov dword [edi + 0x54], eax
call fcn.0040c0f0
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 0x41519f
movss xmm2, dword [0x45b790]
lea ecx, [ebp - 0x54]
sub esp, 0xc
push ecx
mov ecx, eax
call fcn.004155a0
jmp 0x4151a1
xor eax, eax
push 0xc
mov dword [edi + 0x4c], eax
call ebx
mov esi, eax
test esi, esi
je 0x4151e5
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 0x4151e7
xor esi, esi
push 0x468d90
mov dword [edi + 0x50], esi
call dword [sym.imp.gdiplus.dll_GdipStringFormatGetGenericTypographic]
mov dword [0x468d94], eax
lea eax, [ebp - 0x20c]
push eax
push dword [0x468d90]
mov dword [ebp - 0x20c], 0
call dword [sym.imp.gdiplus.dll_GdipCloneStringFormat]
mov dword [0x468d94], eax
test eax, eax
jne 0x41523c
push 8
call ebx
mov esi, eax
test esi, esi
je 0x41523c
mov ecx, dword [ebp - 0x20c]
mov eax, dword [0x468d94]
mov dword [esi + 4], eax
mov dword [esi], ecx
jmp 0x41523e
xor esi, esi
push 0x1000
mov dword [edi + 0x48], esi
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatFlags]
test eax, eax
je 0x415255
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 0x41526d
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.00434307
mov esp, ebp
pop ebp
ret 0x18
Function at 0x417dc0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4634b0]
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 0x417e58
lea eax, [ebp - 0x20]
push eax
push 0x45b198
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x417e4f
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.00434307
mov esp, ebp
pop ebp
ret
Function at 0x417f00
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ecd7
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x4634b0]
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.00418b20
mov dword [esi], eax
lea ecx, [esi + 8]
mov dword [ebp - 4], 0
call fcn.0041acf0
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.00415750
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.0041b980
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 0x15
push 0x45b130
lea ecx, [esi + 0x164]
mov byte [ebp - 4], 7
call fcn.0040c0f0
lea eax, [esi + 0x164]
lea ecx, [esi + 0x17c]
cmp ecx, eax
je 0x4180bd
push 0xffffffffffffffff
push 0
push eax
call fcn.0040bcf0
call fcn.00417dc0
push 7
push str.NOT_SET
lea ecx, [esi + 0x1ac]
call fcn.0040c0f0
lea eax, [esi + 0x17c]
push eax
lea eax, [esi + 0x164]
push eax
lea ecx, [esi + 8]
call fcn.0041ae40
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 0x41812e
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x418134
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
Function at 0x41ac20
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x40
mov esi, ecx
push 0x3000
push 0x800
push 0
mov eax, dword [esi + 4]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
xor bl, bl
mov dword [ebp - 4], edi
test edi, edi
je 0x41acdc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x41ac60
mov ecx, dword [ecx]
push 0
lea eax, [eax*2 + 2]
push eax
mov eax, dword [esi + 4]
push ecx
push edi
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x41acc4
push 0x45b314
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push edi
push eax
mov eax, dword [esi + 4]
push 0
push 0
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
test edi, edi
je 0x41acc1
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov edi, dword [ebp - 4]
mov eax, dword [esi + 4]
test eax, eax
je 0x41acdc
push 0x8000
push 0
push edi
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41b010
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ed08
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4634b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x30]
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x34]
call fcn.0041b290
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov dword [esi + 0x34], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x38], ecx
mov ecx, dword [eax + 8]
add eax, 0xc
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x40]
cmp ecx, eax
je 0x41b078
push 0xffffffffffffffff
push 0
push eax
call fcn.0040bcf0
cmp dword [ebp - 0x14], 8
jb 0x41b089
push dword [ebp - 0x28]
call fcn.00434302
add esp, 4
xor eax, eax
cmp dword [esi + 0x3c], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00434307
mov esp, ebp
pop ebp
ret