joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d3a0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp byte [0x4a3abc], 0
jne 0x41d474
mov byte [0x4a3abc], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x41d50e
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x1c], 0xffffffff
sete al
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sym.___cxa_demangle
mov esi, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x30
mov ebp, eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
lea edi, [esi + 0x40]
mov dword [esp + 0xc], edi
call sym._fwrite
cmp dword [esp + 0x1c], 0
mov dword [esp + 4], edi
je 0x41d46a
mov dword [esp], ebx
call sym._fputs
lea eax, [esi + 0x40]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x4a5169
mov dword [esp + 0xc], eax
call sym._fwrite
cmp dword [esp + 0x1c], 0
je 0x41d4a1
call sym.___cxa_rethrow
mov dword [esp], ebp
call sym._fputs
jmp 0x41d43b
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
call sym._abort
mov dword [esp], ebp
call sym._free
jmp 0x41d465
call sym._abort
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
jmp 0x41d509

Function at 0x4015cb
Capabilities:
Create mailslot
Query or enumerate registry value

Disassembly:
add edi, eax
mov esi, 0x7b
push esi
mov ebx, 5
mov ecx, ebx
push ecx
push 7
pop esi
push esi
mov ebx, 0x32adaa
mov eax, ebx
add eax, 0xea38e
mov eax, dword [eax]
call eax
or eax, eax
jne 0x401073
leave
ret
sub ebx, 1
lea esi, [edi + 0xfe]
sub ebx, 2
mov eax, 0xec
call dword [sym.imp.USER32.DLL_CreatePopupMenu]
push 0x13e
pop edx
mov ebx, edx
ror ebx, 1
shr ebx, 3
ror ebx, 1
sub ebx, 0xea9
jae 0x40127c
inc ebx
ror ebx, 1
add ebx, ebx
shl ebx, 1
inc ebx
sub dword [0x424df1], ebx
mov ecx, 0
push ecx
mov eax, 0x2f
mov edi, eax
push edi
mov esi, 0x64
mov edi, esi
push edi
xor edx, edx
push edx
mov edx, dword [sym.imp.kernel32.dll_CreateMailslotA]
call edx
inc eax
jne 0x401073
jmp 0x401247
lea eax, [edi + 0xb1]
lea ecx, [ebx + 0x9e]
add esi, ecx
or eax, 0x2b
sub edi, 1
mov eax, ebx
dec ebx
call dword [sym.imp.USER32.DLL_CreatePopupMenu]
mov eax, 0x1454580b
mov ecx, eax
push ecx
mov esi, 0x2c412d
add esi, 0x160de4
push esi
push 0x119281
pop edx
mov ebx, 0x30b963
add edx, ebx
push edx
mov ecx, 0
push ecx
mov ebx, 0x23734d
add ebx, 0x1ed304
push ebx
push 0x3888ed
pop edi
mov ebx, 0x9c368
add edi, ebx
push edi
mov edx, 0xe0
push edx
xor ecx, ecx
push ecx
mov edi, dword [sym.imp.ADVAPI32.DLL_RegEnumValueW]
call edi
or eax, eax
je 0x40124d
call fcn.004015cb
int3
Function at 0x401db0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9c2c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x4e1cac]
test edi, edi
jne 0x401e1e
push 0x138
call fcn.00465df1
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push 0x138
push edi
push esi
mov dword [ebp - 4], edi
call fcn.0047e9a0
add esp, 0xc
mov ecx, esi
call fcn.00401a80
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4e1cac], edi
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x401f7d
push 0xc0
mov dword [edi + 0xe4], 1
call fcn.00465df1
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push 0xc0
push 0
push esi
mov dword [ebp - 4], 1
call fcn.0047e9a0
add esp, 0xc
mov ecx, esi
call fcn.004122b0
push ecx
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push 0x85
mov ecx, esi
call fcn.00411f80
movaps xmm0, xmmword [0x4cb520]
movups xmmword [esi + 0x6c], xmm0
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x58], 2
cmp dword [esi + 0x74], eax
jge 0x401e9c
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
cmp dword [esi + 0x78], eax
jge 0x401ea7
mov dword [esi + 0x78], eax
cmp dword [edi + 0xe8], esi
je 0x401ecb
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0xe8]
mov dword [edi + 0xe8], esi
test eax, eax
je 0x401ecb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [edi + 0x38]
mov dword [edi + 0xbc], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401eef
push 0
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_SetWindowRgn]
call fcn.00403fd0
mov ecx, eax
test ecx, ecx
jne 0x401f04
push 0x80004005
call fcn.00403d30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x4beef8
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push 0x4bef04
push eax
call fcn.00402dd0
mov esi, dword [ebp - 0x14]
add esp, 4
movaps xmm0, xmmword [0x4cb550]
mov eax, esp
push 0x40000
push SysReAllocString
push esi
push ecx
mov dword [eax], 0
lea ecx, [ebp - 0x28]
mov eax, esp
movups xmmword [ebp - 0x28], xmm0
push 0
mov dword [eax], ecx
mov ecx, edi
call fcn.0040cfe0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x401f7d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
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.00465daf
mov esp, ebp
pop ebp
ret
Function at 0x404c70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404c89
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404cc6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x404cc2
nop word [eax + eax]
cmp esi, edx
jae 0x404cc6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x404cb0
cmp esi, edx
jb 0x404ccd
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x407c90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9eb2
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4dd070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4e1cac]
test eax, eax
jne 0x407cf6
push 0x138
call fcn.00465df1
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x138
push 0
push esi
mov dword [ebp - 4], 0
call fcn.0047e9a0
add esp, 0x10
mov ecx, esi
call fcn.00401a80
mov dword [ebp - 4], 0xffffffff
mov dword [0x4e1cac], eax
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4c3068
push str.cancel
push 0x4befe8
call fcn.0044ad20
add esp, 0xc
call fcn.00407d70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x407d70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa124
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4dd070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4e1cac]
test eax, eax
jne 0x407dd6
push 0x138
call fcn.00465df1
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x138
push 0
push esi
mov dword [ebp - 4], 0
call fcn.0047e9a0
add esp, 0x10
mov ecx, esi
call fcn.00401a80
mov dword [ebp - 4], 0xffffffff
mov dword [0x4e1cac], eax
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x4e1cac]
test eax, eax
jne 0x407e27
push 0x138
call fcn.00465df1
mov esi, eax
mov dword [ebp - 0x10], esi
push 0x138
push 0
push esi
mov dword [ebp - 4], 1
call fcn.0047e9a0
add esp, 0x10
mov ecx, esi
call fcn.00401a80
mov dword [0x4e1cac], eax
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409930
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x4dd070]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea ecx, [esp + 8]
push esi
push edi
push ebx
mov dword [esp + 0x14], 0
call fcn.00404ff0
mov dword [esp + 0x54], 0xffffffff
call fcn.0044adf0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, eax
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0x11c
push eax
call esi
test eax, eax
jne 0x409999
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0x114
push eax
call esi
cmp dword [esp + 0x5c], 6
jb 0x409a25
test edi, edi
jne 0x409a25
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], edi
jl 0x4099e8
push str._ElevPri
push eax
call fcn.0047e3d4
add esp, 8
test eax, eax
je 0x4099e8
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x4099e8
push edi
push 0x4c47e8
push 0x4c47f0
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esi, [edi + 1]
jmp 0x409b2f
push 0x208
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.0047e9a0
add esp, 0xc
lea eax, [esp + 0x58]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0x10
lea eax, [esp + 0x68]
push eax
call fcn.00463520
mov esi, 1
jmp 0x409b2f
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 8
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
sub esp, 0xc
call fcn.00409e10
push 0x38
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0047e9a0
mov esi, dword [0x4e1ca8]
lea eax, [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x1c], vtable.WTL::CMessageLoop.0
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
add esi, 0x10
mov dword [esp + 0x34], 0
movups xmmword [esp + 0x20], xmm0
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x4e2920]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00409d40
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ecx
lea edx, [esp + 0x20]
mov ecx, ebx
call fcn.004097a0
add esp, 4
call fcn.00409ca0
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00406c10
mov ecx, eax
call fcn.00434b80
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
je 0x409b0a
push eax
call fcn.00481bd7
add esp, 4
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
test eax, eax
je 0x409b27
push eax
call fcn.00481bd7
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x409b4b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x264]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00465daf
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40b120
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x40b135
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b140
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x40c610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa663
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4dd070]
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 - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x424]
movq qword [ebp - 0x1c], xmm0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.0047e9a0
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x40c6d1
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x40c6d1
call fcn.0040ab00
mov esi, eax
jmp 0x40c7be
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40c6f4
call fcn.0040ab00
jmp 0x40c7b1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x40c712
call fcn.0040ab00
jmp 0x40c7b1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x428], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x40c733
mov esi, 0x8007000e
jmp 0x40c7b3
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.0040aab0
jmp 0x40c75d
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x40c774
mov esi, 0x8007000e
jmp 0x40c7b3
push esi
push dword [ebp - 0x424]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40c794
call fcn.0040ab00
jmp 0x40c7b1
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.0040c4b0
mov esi, eax
test edi, edi
je 0x40c7be
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40c7e0
lea ecx, [ebp - 0x424]
call fcn.0040aa60
nop word [eax + eax]
mov eax, esi
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.00465daf
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40f260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x40f27a
mov eax, dword [ecx]
push edi
call dword [eax + 0x100]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
cmp dword [esi + 0xe4], 0
je 0x40f2ed
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x40f2ed
test edi, edi
je 0x40f2ad
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push ebx
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
mov ebx, eax
test ebx, ebx
je 0x40f2ec
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f2ec
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40f2ec
push dword [esi + 0x38]
call edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x40f300
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x40f323
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xe4], 0
je 0x40f3d9
cmp dword [esi + 0xe0], 0
je 0x40f3d9
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40f3b5
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40f3b5
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f3d9
mov eax, dword [esi + 0xe0]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x38]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0xe0]
lea eax, [ebp - 0x14]
sub dword [ebp - 0x14], 5
add ecx, 0x38
sub dword [ebp - 0x10], 3
add dword [ebp - 0xc], 5
add dword [ebp - 8], 7
push 1
push eax
call fcn.00411a30
jmp 0x40f3d9
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f3d9
mov eax, dword [esi + 0xe0]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], 0
xor ecx, ebp
pop edi
pop esi
call fcn.00465daf
mov esp, ebp
pop ebp
ret 0x10
Function at 0x415ad0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 0xb4], 0
je 0x415c4b
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x415b48
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push ecx
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push eax
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x34]
je 0x415c2c
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x30]
je 0x415c2c
push dword [ebx + 0xbc]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xbc], 0
push dword [ebx + 0xb8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x415c4b
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebx + 0xb8]
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromFile]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.gdiplus.dll_GdipGetImagePixelFormat]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 4]
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push edx
push 0
push dword [ebp - 8]
mov dword [ebp - 0x20], vtable.Gdiplus::Bitmap.0
push 0
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov eax, dword [ebp - 4]
push 7
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 0x10]
push 0
push 0
push edi
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
push ecx
mov edx, 1
lea ecx, [ebp - 0x20]
call fcn.00411e00
add esp, 4
mov dword [ebx + 0xbc], eax
push esi
test eax, eax
je 0x415c37
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x421c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab2f6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4dd070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00403fd0
mov ecx, eax
test ecx, ecx
jne 0x421c47
push 0x80004005
call fcn.00403d30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00403fd0
mov ecx, eax
test ecx, ecx
jne 0x421c6e
push 0x80004005
call fcn.00403d30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041ab40
mov dword [esi], eax
xorps xmm0, xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
call fcn.0042cc40
mov dword [edi + 0x30], eax
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x422160
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x425090
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov esi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0xcc]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
sub eax, dword [esi + 0x5c]
mov ebx, dword [esp + 0x10]
sub ebx, dword [esi + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [eax], 0
mov eax, 0x2e8ba2e9
mov ecx, dword [esi + 0x138]
sub ecx, dword [esi + 0x134]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4251a6
xor edi, edi
nop dword [eax + eax]
mov eax, dword [esi + 0x134]
push dword [esp + 0x14]
add eax, 8
push ebx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42516b
mov eax, dword [esi + 0x134]
cmp dword [eax + edi + 0x20], 0
je 0x42516b
mov eax, dword [ebp + 0x14]
push 1
push 0
push 0
mov dword [eax], 1
mov eax, dword [esi + 0x134]
push dword [eax + edi + 0x24]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 0x138]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 0x134]
add edi, 0x2c
mov ebx, dword [esp + 0xc]
imul ecx
inc ebx
sar edx, 3
mov eax, edx
mov dword [esp + 0xc], ebx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x42519e
mov ebx, dword [esp + 0x10]
jmp 0x425120
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x4251b3
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x384
call dword [eax + 0x2c]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10