joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ced0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446f19
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x45a5d0]
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 0x450fe4
mov byte [edi + 0x60], al
mov dword [edi + 0x58], eax
mov dword [edi + 0x54], eax
call fcn.00403d10
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 0x40cfdf
movss xmm2, dword [0x4535e8]
lea ecx, [ebp - 0x54]
sub esp, 0xc
push ecx
mov ecx, eax
call fcn.0040d3e0
jmp 0x40cfe1
xor eax, eax
push 0xc
mov dword [edi + 0x4c], eax
call ebx
mov esi, eax
test esi, esi
je 0x40d025
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 0x40d027
xor esi, esi
push 0x45fd34
mov dword [edi + 0x50], esi
call dword [sym.imp.gdiplus.dll_GdipStringFormatGetGenericTypographic]
mov dword [0x45fd38], eax
lea eax, [ebp - 0x20c]
push eax
push dword [0x45fd34]
mov dword [ebp - 0x20c], 0
call dword [sym.imp.gdiplus.dll_GdipCloneStringFormat]
mov dword [0x45fd38], eax
test eax, eax
jne 0x40d07c
push 8
call ebx
mov esi, eax
test esi, esi
je 0x40d07c
mov ecx, dword [ebp - 0x20c]
mov eax, dword [0x45fd38]
mov dword [esi + 4], eax
mov dword [esi], ecx
jmp 0x40d07e
xor esi, esi
push 0x1000
mov dword [edi + 0x48], esi
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatFlags]
test eax, eax
je 0x40d095
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 0x40d0ad
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.0042cfb3
mov esp, ebp
pop ebp
ret 0x18
Function at 0x40fcb0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45a5d0]
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 0x40fd48
lea eax, [ebp - 0x20]
push eax
push 0x452dec
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x40fd3f
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.0042cfb3
mov esp, ebp
pop ebp
ret
Function at 0x40fd60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4473b9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x45a5d0]
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.00410c50
mov dword [esi], eax
lea ecx, [esi + 8]
mov dword [ebp - 4], 0
call fcn.00413990
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.0040d590
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.00414630
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
xor edx, edx
mov dword [esi + 0x190], 7
mov dword [esi + 0x18c], ecx
mov word [esi + 0x17c], dx
mov dword [esi + 0x1a8], 7
mov dword [esi + 0x1a4], edx
mov word [esi + 0x194], cx
mov dword [esi + 0x1c0], 7
mov dword [esi + 0x1bc], edx
mov word [esi + 0x1ac], dx
push 0x23
push str.SKShinoviVersus.exe_Application.exe
lea ecx, [esi + 0x164]
mov byte [ebp - 4], 6
call fcn.00403d10
lea eax, [esi + 0x164]
lea ecx, [esi + 0x17c]
cmp ecx, eax
je 0x40ff0e
push 0xffffffffffffffff
push 0
push eax
call fcn.00403910
call fcn.0040fcb0
push 7
push str.NOT_SET
lea ecx, [esi + 0x1ac]
call fcn.00403d10
lea eax, [esi + 0x17c]
push eax
lea eax, [esi + 0x164]
push eax
lea ecx, [esi + 8]
call fcn.00413ae0
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 0x40ff7f
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x40ff85
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 ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4138c0
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 0x41397c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x413900
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 0x413964
push 0x45316c
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 0x413961
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 0x41397c
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 0x413cb0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4473e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x45a5d0]
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.00413f40
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 0x413d18
push 0xffffffffffffffff
push 0
push eax
call fcn.00403910
cmp dword [ebp - 0x14], 8
jb 0x413d29
push dword [ebp - 0x28]
call fcn.0042cfae
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.0042cfb3
mov esp, ebp
pop ebp
ret
Function at 0x413d50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4479a0
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x45a5d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x269], cl
xor esi, esi
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], esi
je 0x413ee6
xor eax, eax
mov dword [ebp - 0x268], 0x22c
push 0x228
push eax
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x264]
push eax
call fcn.0042ea30
xor eax, eax
mov dword [ebp - 0x14], 7
add esp, 0xc
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
push eax
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x270], eax
cmp eax, 0xffffffff
je 0x413ee6
push 1
push 0
push 0x452dbc
lea ecx, [ebp + 8]
call fcn.0040bdd0
cmp eax, 0xffffffff
jne 0x413e0d
push 4
push str..exe
lea ecx, [ebp + 8]
call fcn.004017b0
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x413ede
mov edi, edi
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x244]
push eax
call fcn.0042e4b9
add esp, 8
test eax, eax
jne 0x413ec3
cmp byte [ebp - 0x269], al
je 0x413f14
push dword [ebp - 0x260]
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
push eax
push 0x410
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x38], 0x28
movdqu xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x413ea2
push 0x28
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x413ea8
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
test esi, esi
je 0x413eb7
cmp eax, dword [ebp - 0x274]
jb 0x413ec3
mov esi, dword [ebp - 0x260]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x413e30
push dword [ebp - 0x270]
call edi
cmp dword [ebp + 0x1c], 8
jb 0x413ef7
push dword [ebp + 8]
call fcn.0042cfae
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cfb3
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x270]
call edi
mov esi, dword [ebp - 0x260]
jmp 0x413ee6
Function at 0x413f40
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4479e0
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x45a5d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x46c], edx
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x468], eax
xor eax, eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
push eax
push 0x450fe4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call fcn.00403d10
mov eax, dword [ebp - 0x468]
mov dword [ebp - 4], 1
test eax, eax
je 0x4140a8
xor esi, esi
mov edi, edi
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413ffb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x4140a8
mov eax, dword [ebp - 0x468]
inc esi
cmp esi, 0x64
jl 0x413fd0
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], 0x428
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x4140a1
mov esi, dword [sym.imp.KERNEL32.dll_Module32NextW]
mov ecx, dword [ebp - 0x46c]
lea eax, [ebp - 0x444]
push eax
call fcn.00403e70
push eax
call fcn.0042e4b9
add esp, 8
test eax, eax
je 0x414050
lea eax, [ebp - 0x464]
push eax
push edi
call esi
test eax, eax
jne 0x414021
jmp 0x4140a1
cmp word [ebp - 0x244], 0
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x30], eax
jne 0x414079
xor ecx, ecx
jmp 0x414091
lea ecx, [ebp - 0x244]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414082
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403d10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x38]
lea ecx, [ebx + 0xc]
mov dword [ebx], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.00403910
cmp dword [ebp - 0x18], 8
jb 0x4140ec
push dword [ebp - 0x2c]
call fcn.0042cfae
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042cfb3
mov esp, ebp
pop ebp
ret
Function at 0x414200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447a1b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45a5d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0xc]
mov dword [esi], vtable.TrRemote.0
lea ecx, [eax + 0xc]
mov dword [esi + 4], 0
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x10], eax
mov word [ecx], dx
mov dword [ebp - 4], edx
push edx
push 0x450fe4
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
call fcn.00403d10
xor eax, eax
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], 0
mov word [esi + 0x30], ax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 7
mov word [esi + 0x48], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x414500
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447a88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x45a5d0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x45a5d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push 4
push eax
mov eax, dword [ecx + 4]
push edx
push 0
push 0
mov eax, dword [eax + 4]
push dword [eax + 0x58]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
jne 0x4145f3
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00406a40
add esp, 0xc
push eax
mov edx, 0x45fed0
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0xc]
call fcn.00410d40
add esp, 4
mov ecx, 0x45fd50
cmp dword [0x45fd64], 8
cmovae ecx, dword [0x45fd50]
cmp dword [eax + 0x14], 8
jb 0x4145a6
mov eax, dword [eax]
push 0
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esp + 0x1c], 8
jb 0x4145c5
push dword [esp + 8]
call fcn.0042cfae
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], 7
cmp dword [esp + 0x34], 8
mov dword [esp + 0x18], 0
mov word [esp + 8], ax
jb 0x4145ef
push dword [esp + 0x20]
call fcn.0042cfae
add esp, 4
xor al, al
jmp 0x41460c
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0042cfb3
mov esp, ebp
pop ebp
ret 8
Function at 0x441255
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45a5d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00431764
mov dword [ebp - 0x14], eax
cmp dword [0x45fab0], esi
jne 0x441348
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4412d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x441428
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x441428
push 0x450428
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x441428
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x45fab0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x45fab4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45fab8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45fac0], eax
test eax, eax
je 0x441345
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45fabc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x44136d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x441360
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x441382
push 4
pop eax
jmp 0x44142a
cmp dword [ebp - 0x14], esi
je 0x441382
push dword [0x45fab0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x441367
mov eax, dword [0x45fabc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4413e0
cmp dword [0x45fac0], edi
je 0x4413e0
push eax
call ebx
push dword [0x45fac0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4413e0
test eax, eax
je 0x4413e0
call ecx
test eax, eax
je 0x4413d5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4413d5
test byte [ebp - 8], 1
jne 0x4413e0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x441410
mov eax, dword [0x45fab4]
cmp eax, edi
je 0x44140d
push eax
call ebx
test eax, eax
je 0x44140d
call eax
mov esi, eax
test esi, esi
je 0x44140d
mov eax, dword [0x45fab8]
cmp eax, edi
je 0x44140d
push eax
call ebx
test eax, eax
je 0x44140d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45fab0]
call ebx
test eax, eax
je 0x441428
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x44142a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cfb3
mov esp, ebp
pop ebp
ret
Function at 0x100181e2
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001834f
mov dword [ebp - 4], 0x5d6c05ba
mov dword [ebp - 0x34], 0x7b844a75
mov dword [ebp - 0x14], 0x32cf415d
mov dword [ebp - 0x40], 0xaed6b657
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], 2
mov dword [ebp - 4], 0xfffffffa
jmp 0x1001822e
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x11
je 0x1001834d
mov dword [ebp - 8], 0xb1943c6f
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0x43747c91
mov eax, dword [ebp - 4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x10], eax
je 0x1001826b
mov dword [ebp - 0x28], 1
jmp 0x1001826f
and dword [ebp - 0x28], 0
cmp dword [ebp - 8], 0xd1d25bb0
jne 0x10018281
mov dword [ebp - 0x18], 1
jmp 0x10018285
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], eax
je 0x100182a6
mov eax, 0xb0639e6a
test eax, eax
je 0x100182a6
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x100182a6
mov eax, 0x2e91c841
test eax, eax
jne 0x100182ac
cmp dword [ebp - 0x24], 0
je 0x100182bb
cmp dword [ebp - 0x14], 0
je 0x100182bb
mov dword [ebp - 0x1c], 1
jmp 0x100182bf
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x20]
jg 0x100182e2
cmp dword [ebp - 0x24], 0
jne 0x100182e2
and dword [ebp - 0x3c], 0
jmp 0x100182e9
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0xc], 5
jbe 0x100182fe
mov dword [ebp - 0x2c], 1
jmp 0x10018302
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x2c]
test eax, eax
je 0x1001831f
mov eax, 0x3d97
test eax, eax
je 0x1001831f
mov dword [ebp - 0x30], 1
jmp 0x10018323
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1001833b
cmp dword [ebp - 0x14], 0
jne 0x1001833b
and dword [ebp - 0x38], 0
jmp 0x10018342
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
jmp 0x10018227
jmp 0x1001835b
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov esp, ebp
pop ebp
ret