joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414212
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
test edi, edi
jne 0x414231
xor eax, eax
jmp 0x414281
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x41422d
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41422d
push ebx
lea ebx, [edi + 1]
push ebx
call fcn.0040a9ec
test eax, eax
je 0x41426d
push edi
push dword [ebp - 4]
push eax
call fcn.00498c30
add esp, 0xc
mov eax, ebx
call fcn.0040c1cd
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret

Function at 0x414285
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4dff89
call fcn.004daf98
push ecx
push ecx
mov eax, dword [0x51e6c8]
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x51e6c8
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x14], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x14], ebx
lea eax, [edi + 0xc]
jne 0x4142bd
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.00407a9f
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x4143b3
mov eax, dword [0x51e6c8]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea eax, [ebp + 0x14]
push edi
push str._s_d._s
call fcn.00408fb3
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je 0x4143a8
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x41439f
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp + 8]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp + 8], ebx
call fcn.0040a9ec
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x414396
cmp dword [ebp + 8], edi
jne 0x414396
mov eax, edi
call fcn.0040c1cd
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.0040763c
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040763c
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
xor eax, eax
mov edx, esi
call fcn.0040a9c1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.0040763c
mov esi, dword [ebp - 0x14]
jmp 0x414378
Function at 0x415f47
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415faa
cmp dword [ebp + 0xc], 1
je 0x415f83
cmp dword [ebp + 0xc], 2
je 0x415f83
push 0xd
pop eax
jmp 0x415faa
test edi, edi
mov eax, dword [ebp - 4]
je 0x415fa4
test eax, eax
je 0x415fa0
test al, 1
jne 0x415f7e
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x415fa4
jmp 0x415f7e
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x4160d4
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4dff6f
call fcn.004daf98
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
call fcn.00415e2c
push dword [esi]
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0041620e
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
je 0x4161f7
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4161f4
lea eax, [ebp - 0x24]
mov ebx, vtable.Gdiplus::PrivateFontCollection.0
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
call sub.gdiplus.dll_GdipNewPrivateFontCollection
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call sub.gdiplus.dll_GdipPrivateAddFontFile
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call sub.gdiplus.dll_GdipGetFontCollectionFamilyCount
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp eax, edi
jle 0x4161e1
xor ecx, ecx
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.gdiplus.dll_GdipAlloc
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x4161aa
mov ecx, dword [ebp - 0x14]
push 0x415e64
push 0x4163d8
push ecx
lea edi, [eax + 4]
push 8
push edi
mov dword [eax], ecx
call fcn.0049b6df
mov eax, edi
jmp 0x4161ac
xor eax, eax
test eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 4], eax
je 0x4161e1
push eax
push dword [ebp - 0x14]
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x28]
call fcn.004163e2
test eax, eax
jne 0x4161dc
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x4161dc
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x4161e1
call fcn.00415e2c
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], ebx
call sub.gdiplus.dll_GdipDeletePrivateFontCollection
mov dword [ebp - 0x28], vtable.Gdiplus::FontCollection.0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040763c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41631c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
xor eax, eax
push 0x20e
push eax
mov dword [ebp - 4], eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.00497210
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 8]
call fcn.00407fa9
mov eax, dword [ebp + 8]
leave
ret 4

Function at 0x417b25
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x18], 0
jne 0x417b5b
push esi
lea esi, [ebp - 4]
call fcn.00417b60
push dword [eax]
push 2
push 0x4f533c
push str.basesetting
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040763c
pop esi
mov eax, dword [edi + 0x18]
leave
ret

Function at 0x417f07
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
cmp dword [edi + 0xc], 0xffffffff
jne 0x417f6b
push esi
lea esi, [ebp - 4]
call fcn.00417b60
push dword [eax]
push 0
push 0x4f532c
push str.basesetting
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040763c
test esi, esi
pop esi
je 0x417f5c
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
call fcn.00417f71
test eax, eax
je 0x417f5c
cmp dword [ebp - 4], 0
jne 0x417f65
call fcn.0041800f
test eax, eax
je 0x417f68
xor eax, eax
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
pop edi
leave
ret

Function at 0x41800f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 4], 0xffffffff
jne 0x418045
push esi
lea esi, [ebp - 4]
call fcn.00417b60
push dword [eax]
push 0
push str.debug
push str.basesetting
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040763c
pop esi
mov eax, dword [edi + 4]
leave
ret

Function at 0x418378
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4e0841
call fcn.004daf98
push ecx
and dword [ebp - 0x10], 0
push edi
mov edi, ecx
add edi, 0x14
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x4183ec
push esi
lea esi, [ebp - 0x10]
call fcn.00417b60
and dword [ebp - 4], 0
push dword [eax]
mov eax, 0x104
push eax
push eax
mov esi, edi
call fcn.004078e4
push eax
push str.kxetray
push str.supportprocess
push str.basesetting
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, dword [edi]
test eax, eax
pop esi
je 0x4183e5
push eax
call fcn.0049795c
pop ecx
mov edx, edi
call fcn.004078c3
mov eax, dword [edi]
sub eax, 0x10
call fcn.00407666
mov ecx, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
pop edi
mov dword fs:[0], ecx
leave
ret
Function at 0x41888b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, edi
call fcn.004182ff
test eax, eax
jne 0x41889f
push 0x60
pop eax
leave
ret
cmp dword [edi + 8], 0xffffffff
jne 0x4188d1
push esi
lea esi, [ebp - 4]
call fcn.00417b60
push dword [eax]
push 0x60
push str.debugdpi
push str.basesetting
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040763c
pop esi
mov eax, dword [edi + 8]
leave
ret

Function at 0x41894b
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4e0def
call fcn.004daf98
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
add edi, 0x1c
xor ebx, ebx
cmp eax, ebx
je 0x418977
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
jne 0x418a9f
mov eax, dword [0x51e6c8]
mov ecx, 0x51e6c8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.00417b60
mov byte [ebp - 4], 1
push dword [eax]
mov eax, 0x104
push eax
push eax
lea esi, [ebp - 0x14]
call fcn.004078e4
push eax
push str.1.01.21.5
push str.supportrate
push str.basesetting
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040763c
cmp dword [ebp - 0x14], ebx
jne 0x4189d7
xor eax, eax
jmp 0x4189e0
push dword [ebp - 0x14]
call fcn.0049795c
pop ecx
lea edx, [ebp - 0x14]
call fcn.004078c3
mov esi, 0x4f4e30
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
push eax
lea ecx, [ebp - 0x1c]
lea ebx, [ebp - 0x14]
call fcn.00418ab0
jmp 0x418a7b
push eax
call fcn.0049ab77
fstp qword [ebp - 0x24]
mov edx, dword [edi + 4]
test edx, edx
pop ecx
jne 0x418a17
xor ecx, ecx
jmp 0x418a1f
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 3
test edx, edx
je 0x418a3f
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 3
cmp ecx, eax
jae 0x418a3f
mov eax, dword [edi + 8]
fld qword [ebp - 0x24]
fstp qword [eax]
add eax, 8
mov dword [edi + 8], eax
jmp 0x418a5c
mov ebx, dword [edi + 8]
cmp edx, ebx
jbe 0x418a4b
call fcn.004949bc
push ebx
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.00418ba9
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040763c
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
lea ebx, [ebp - 0x14]
call fcn.00418ab0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x418a02
add eax, 0xfffffff0
call fcn.0040763c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040763c
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41912b
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
mov eax, 0x4dfe9e
call fcn.004daf98
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [edi + 4], vtable.BkWin::IBkWindow.0
mov dword [edi], vtable.CBkWindow.0
mov dword [edi + 4], vtable.CBkWindow.1.0
call fcn.00414512
push 0x520138
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
call fcn.00414512
add eax, 0x60
inc dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.00414512
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.0041b268
push 0x520138
mov dword [eax], edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 8], eax
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
lea esi, [edi + 0x2c]
mov ecx, 0x51e6c8
call fcn.00407fec
mov byte [ebp - 4], 1
xor ebx, ebx
lea esi, [edi + 0x44]
mov ecx, 0x51e6c8
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
call fcn.00407fec
mov byte [ebp - 4], 2
lea esi, [edi + 0x4c]
mov ecx, 0x51e6c8
mov dword [edi + 0x48], ebx
call fcn.00407fec
lea esi, [edi + 0x50]
mov ecx, 0x51e6c8
mov byte [ebp - 4], 3
call fcn.00407fec
mov byte [ebp - 4], 4
or dword [edi + 0x54], 0xffffffff
or dword [edi + 0x58], 0xffffffff
or dword [edi + 0x68], 0xffffffff
xor esi, esi
mov dword [edi + 0x5c], ebx
mov word [edi + 0x60], bx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], ebx
inc esi
lea eax, [edi + 4]
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xac], ebx
mov dword [edi + 0xb0], esi
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
mov dword [edi + 0xbc], ebx
push eax
lea eax, [edi + 0xc4]
push eax
call fcn.0041b2b9
lea eax, [edi + 0x18]
push eax
mov dword [edi + 0x100], ebx
mov dword [edi + 0x104], ebx
mov dword [edi + 0xc0], esi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41b2b9
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4de923
call fcn.004daf98
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 8]
mov ecx, 0x51e6c8
mov dword [edi], vtable.BkWin::BkLayoutParam.0
mov dword [edi + 4], eax
call fcn.00407fec
mov byte [ebp - 4], 1
or dword [edi + 0x1c], 0xffffffff
or dword [edi + 0x20], 0xffffffff
mov eax, SysReAllocString
push str.layout_
push esi
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], eax
call fcn.0040ab74
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4277f4
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
mov eax, 0x4dfda8
call fcn.004daf98
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [ebp - 4], edi
mov dword [esi + 0x24], vtable.BkWin::CBkWndMsgFunction_class_CShadowWnd_.0
call fcn.0045362a
mov dword [esi + 0x38], eax
lea eax, [esi + 0x44]
push eax
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], 0x989681
mov dword [esi], vtable.CShadowWnd.0
mov dword [esi + 0x24], vtable.CShadowWnd.1.0
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
lea eax, [esi + 0x70]
mov dword [esi + 0x68], 4
mov dword [eax + 4], edi
mov dword [eax + 0x10], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax], vtable.CBkBitmap.0
mov dword [esi + 0x84], 1
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x42a463
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4dfa4a
call fcn.004daf98
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00407fa9
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.0040f6fc
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040763c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42b369
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 0xc]
sub edi, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
mov edx, dword [esi]
push 1
xor ebx, ebx
push edi
push eax
mov ecx, esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [edx + 0x74]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x144]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x42b4a2
push eax
call fcn.004144cb
mov ebx, eax
test ebx, ebx
pop ecx
je 0x42b46f
mov eax, dword [ebx + 0x14]
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x42b3e3
lea eax, [ebx + 0x18]
push eax
call fcn.0041c1f7
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.0041804a
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x144], eax
jne 0x42b439
mov ecx, dword [ebx + 0x44]
xor eax, eax
cmp ecx, eax
je 0x42b42b
cmp word [ecx], ax
je 0x42b42b
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x42b46f
cmp dword [ebx + 0x14], eax
je 0x42b46f
mov dword [ebp - 4], 1
jmp 0x42b46f
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x42b458
lea eax, [ebx + 0x18]
push eax
call fcn.0041c1f7
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.0041804a
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0x144], ecx
je 0x42b480
push 0x67
jmp 0x42b49b
cmp dword [ebp - 8], ecx
je 0x42b4a2
cmp dword [ebp - 0xc], ecx
je 0x42b4a2
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0x140]
cmp edx, dword [eax]
jne 0x42b499
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.0042b07d
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x438d68
Capabilities:
Terminate process

Disassembly:
push ebx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x438d7c
push ebx
call fcn.00441bc7
test eax, eax
pop ecx
jne 0x438dbe
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x438d90
push edi
call fcn.00441bc7
test eax, eax
pop ecx
jne 0x438dbd
mov eax, ebx
call fcn.00441bac
mov eax, edi
call fcn.00441bac
lea eax, [esi + 0xc]
cmp dword [eax], 0
mov byte [esi + 0x10], 0
je 0x438dae
xor eax, eax
jmp 0x438dbd
push esi
push 0x438d3e
push eax
call fcn.00441b2a
add esp, 0xc
pop edi
pop ebx
ret

Function at 0x4391aa
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4dceff
call fcn.004daf98
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi], eax
mov dword [ebp - 4], eax
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0xc], ecx
lea esi, [edi + 0x10]
push 8
pop edx
mov ecx, vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [esi], ecx
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
mov dword [edi + 0x24], ecx
push 4
pop edx
mov ecx, vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], edx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], edx
mov dword [edi + 0x4c], ecx
mov byte [ebp - 4], 5
mov ebx, dword [edi + 8]
call fcn.00441d5a
mov ebx, dword [edi + 8]
lea esi, [edi + 0x38]
call fcn.00441d5a
mov ebx, dword [edi + 0xc]
lea esi, [edi + 0x24]
call fcn.00441d5a
mov ebx, dword [edi + 0xc]
lea esi, [edi + 0x4c]
call fcn.00441d5a
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x43cd87
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
je 0x43cd93
xor eax, eax
pop ebp
ret
lea eax, [esi + 0x30]
push eax
call fcn.00441c22
test eax, eax
pop ecx
je 0x43cda6
push 0xc
pop eax
pop ebp
ret
push edi
xor edi, edi
lea eax, [esi + 0x14]
inc edi
push eax
mov dword [esi + 0x28], edi
call fcn.00441bc7
test eax, eax
pop ecx
jne 0x43ce1a
lea eax, [esi + 0x18]
push eax
call fcn.00441bc7
test eax, eax
pop ecx
jne 0x43ce1a
lea eax, [esi + 0x1c]
push eax
call fcn.00441bc7
test eax, eax
pop ecx
jne 0x43ce1a
push dword [ebp + 0x10]
lea eax, [esi + 0x20]
push dword [ebp + 0x10]
push eax
call fcn.00441bd8
add esp, 0xc
test eax, eax
jne 0x43ce1a
push dword [ebp + 0x10]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.00441bd8
add esp, 0xc
test eax, eax
jne 0x43ce1a
push dword [ebp + 0xc]
lea eax, [esi + 0x10]
push dword [ebp + 8]
mov dword [esi + 4], edi
push eax
call fcn.00441b2a
add esp, 0xc
test eax, eax
je 0x43ce1f
push 0xc
pop eax
jmp 0x43ce23
mov dword [esi], edi
xor eax, eax
pop edi
pop ebp
ret
Function at 0x43f480
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, pe_nt_image_headers32
push edi
mov ebx, eax
or esi, eax
shl dword [ebp + 0x10], 1
mov eax, esi
shr eax, 7
and eax, 1
push eax
mov eax, ebx
and eax, dword [ebp + 0x10]
mov ecx, esi
add eax, ebx
shr ecx, 8
add ecx, eax
mov eax, dword [ebp + 0xc]
lea edi, [eax + ecx*2]
mov eax, dword [ebp + 8]
call fcn.0043f3fa
add esi, esi
mov eax, esi
xor eax, dword [ebp + 0x10]
pop ecx
not eax
and ebx, eax
cmp esi, 0x10000
jb 0x43f491
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x43f4d2
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
or ecx, 0x100
push esi
mov esi, dword [esp + 8]
mov edx, ecx
shr edx, 8
movzx edx, word [esi + edx*2]
mov esi, ecx
shr esi, 7
and esi, 1
neg esi
sar esi, 4
and esi, 0x7f
shr edx, 4
xor edx, esi
mov esi, dword [esp + 0xc]
add eax, dword [esi + edx*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x43f4db
pop esi
ret

Function at 0x43f510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, pe_nt_image_headers32
push esi
xor eax, eax
or edx, ecx
push edi
shl dword [ebp + 0xc], 1
mov esi, ecx
and esi, dword [ebp + 0xc]
mov edi, edx
add esi, ecx
shr edi, 8
add edi, esi
mov esi, dword [ebp + 8]
movzx esi, word [esi + edi*2]
mov edi, edx
shr edi, 7
and edi, 1
neg edi
shr esi, 4
sar edi, 4
and edi, 0x7f
xor esi, edi
mov edi, dword [ebp + 0x10]
add eax, dword [edi + esi*4]
add edx, edx
mov esi, edx
xor esi, dword [ebp + 0xc]
not esi
and ecx, esi
cmp edx, 0x10000
jb 0x43f51e
pop edi
pop esi
pop ebp
ret

Function at 0x43f616
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
push esi
mov esi, eax
xor eax, eax
inc edx
test esi, esi
je 0x43f656
push ebx
push edi
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
movzx edi, word [edi + edx*2]
shr dword [esp + 0x14], 1
and ecx, 1
mov ebx, ecx
neg ebx
sar ebx, 4
and ebx, 0x7f
shr edi, 4
xor edi, ebx
mov ebx, dword [esp + 0x18]
add eax, dword [ebx + edi*4]
add edx, edx
or edx, ecx
dec esi
jne 0x43f624
pop edi
pop ebx
pop esi
ret