joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f28c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4a976e
call fcn.004a7794
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
call fcn.0040f25e
push dword [esi]
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0040f3c6
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
je 0x40f3af
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f3ac
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 0x40f399
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 0x40f362
mov ecx, dword [ebp - 0x14]
push 0x40de5b
push 0x40de51
push ecx
lea edi, [eax + 4]
push 8
push edi
mov dword [eax], ecx
call fcn.0047df81
mov eax, edi
jmp 0x40f364
xor eax, eax
test eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 4], eax
je 0x40f399
push eax
push dword [ebp - 0x14]
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x28]
call fcn.0040dd81
test eax, eax
jne 0x40f394
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x40f394
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x40f399
call fcn.0040f25e
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.00405cd1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x40f4d4
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.00477840
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.00405e55
mov eax, dword [ebp + 8]
leave
ret 4
Function at 0x4112ea
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4a8b53
call fcn.004a7794
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 dword [edi], vtable.BkWin::BkLayoutParam.0
mov dword [edi + 4], eax
call fcn.00407fcc
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.00407fe1
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x411a47
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
mov eax, 0x4a970f
call fcn.004a7794
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.00411a1f
push 0x4db400
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00411a1f
add eax, 0x60
inc dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.00411a1f
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.0046b2cf
push 0x4db400
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, 0x4da2a0
call fcn.00405e98
mov byte [ebp - 4], 1
xor ebx, ebx
lea esi, [edi + 0x44]
mov ecx, 0x4da2a0
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.00405e98
mov byte [ebp - 4], 2
lea esi, [edi + 0x4c]
mov ecx, 0x4da2a0
mov dword [edi + 0x48], ebx
call fcn.00405e98
lea esi, [edi + 0x50]
call fcn.00407fcc
mov byte [ebp - 4], 4
or dword [edi + 0x54], 0xffffffff
or dword [edi + 0x58], 0xffffffff
or dword [edi + 0x68], 0xffffffff
lea eax, [edi + 4]
xor esi, esi
push eax
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 + 0xc4]
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
call fcn.004112ea
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 0x41ddc6
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
mov eax, 0x4a8acd
call fcn.004a7794
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.004523df
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 0x425312
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 0x42544b
push eax
call fcn.00411885
mov ebx, eax
test ebx, ebx
pop ecx
je 0x425418
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 0x42538c
lea eax, [ebx + 0x18]
push eax
call fcn.004122f3
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.00411d71
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x144], eax
jne 0x4253e2
mov ecx, dword [ebx + 0x44]
xor eax, eax
cmp ecx, eax
je 0x4253d4
cmp word [ecx], ax
je 0x4253d4
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x425418
cmp dword [ebx + 0x14], eax
je 0x425418
mov dword [ebp - 4], 1
jmp 0x425418
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 0x425401
lea eax, [ebx + 0x18]
push eax
call fcn.004122f3
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00411d71
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0x144], ecx
je 0x425429
push 0x67
jmp 0x425444
cmp dword [ebp - 8], ecx
je 0x42544b
cmp dword [ebp - 0xc], ecx
je 0x42544b
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0x140]
cmp edx, dword [eax]
jne 0x425442
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.00424f3f
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x427599
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4aa2e8
call fcn.004a7794
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00405e55
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.004069cf
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x429121
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.00477840
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x42917a
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x429228
mov eax, dword [ebp - 0x94]
dec eax
je 0x429214
dec eax
jne 0x429228
cmp dword [ebp - 0xa0], 6
jne 0x4291c5
inc eax
cmp dword [ebp - 0x9c], eax
jne 0x4291ad
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
add ecx, 8
jmp 0x4291c1
cmp dword [ebp - 0x9c], edi
jne 0x429201
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x429228
cmp dword [ebp - 0xa0], 5
jne 0x4291f4
cmp dword [ebp - 0x9c], 2
jne 0x4291db
push 5
jmp 0x429211
cmp dword [ebp - 0x9c], 1
jne 0x4291e8
push 6
jmp 0x429211
cmp dword [ebp - 0x9c], edi
jne 0x429228
push 3
jmp 0x429211
cmp dword [ebp - 0xa0], 4
ja 0x429228
push 4
jmp 0x429211
cmp dword [ebp - 0x9c], 2
jne 0x429228
cmp byte [ebp + 0x76], al
jne 0x429228
push 0xa
pop edi
jmp 0x429228
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret
Function at 0x42f82a
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x4db440]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x18], esi
je 0x42f847
mov edi, dword [eax + 4]
jmp 0x42f849
xor edi, edi
cmp edi, esi
jne 0x42f859
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, esi
je 0x42f87e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x42f87e
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42f87e
push esi
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x18], 1
push dword [esp + 0x24]
mov dword [ebx + 0x438], esi
push edi
push ebx
call fcn.00430408
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x14], ecx
jne 0x42f8a9
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x42f9cf
mov eax, dword [0x4db440]
cmp eax, esi
mov dword [esp + 0x1c], esi
je 0x42f8c0
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [eax + 4], ecx
cmp dword [esp + 0x24], esi
jne 0x42f8cd
mov eax, edi
call fcn.004685dd
cmp dword [ebx + 0x428], esi
je 0x42f96b
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp ebp, dword [esp + 0x24]
je 0x42f914
push 1
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x24]
je 0x42f94c
push esi
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x42f96b
push esi
push esi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x438], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x18], esi
je 0x42f9b0
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, esi
je 0x42f9b0
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x42f9b0
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x4db440]
cmp eax, esi
je 0x42f9c0
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x432302
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x43234e
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x150]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x43234e
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x278]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x3bc], 0
je 0x4323c6
lea ebx, [esi + 0x3cc]
cmp dword [ebx], 0
je 0x43236b
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x3bc], edi
jne 0x4323bf
push edi
call fcn.00411885
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.00411d71
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x14]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x3bc], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x43268c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x3cc]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x4326bd
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x432701
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x150]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x432701
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x278]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x3b8]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x432855
push eax
call fcn.00411885
mov edi, eax
test edi, edi
pop ecx
je 0x4327d4
mov eax, dword [edi + 0x14]
push 2
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x432748
push 1
push edi
push esi
call fcn.00430619
movzx eax, word [ebp + 0xc]
movzx ebx, bx
shl ebx, 0x10
or ebx, eax
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00411d71
mov eax, dword [ebp - 4]
cmp dword [esi + 0x3b8], eax
jne 0x43279e
mov ecx, dword [edi + 0x44]
xor eax, eax
cmp ecx, eax
je 0x432790
cmp word [ecx], ax
je 0x432790
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4327d4
cmp dword [edi + 0x14], eax
je 0x4327d4
mov dword [ebp - 0xc], 1
jmp 0x4327d4
mov eax, dword [edi]
push 1
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x4327bd
push 1
push edi
push esi
call fcn.00430619
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.00411d71
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x3b8], eax
je 0x432816
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x432855
cmp dword [ebp - 0x10], eax
je 0x432855
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x432855
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x3b4
cmp eax, dword [esi]
jne 0x432855
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x432e2e
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4ac7b6
call fcn.004a7794
sub esp, 0x7c
push ebx
push esi
push edi
lea eax, [ebp - 0x88]
push eax
mov esi, ecx
call fcn.0040177e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x408], ebx
mov dword [esi + 0x3fc], ebx
mov dword [esi + 0x3e8], 0x80090000
mov dword [esi + 0x3ec], 0x10000
call fcn.004305ea
push 1
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x88]
mov dword [esi + 0x3f0], ebx
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x3f8], ebx
call fcn.00403769
cmp byte [ebp - 0x44], bl
je 0x432f10
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x432eaa
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00408fb7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
inc eax
push eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push dword [ebp - 0x40]
lea ecx, [ebp + 8]
push str.__errorid_d__errorrow_d__errorcolom_d_n
call fcn.00434196
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00433d37
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00405cd1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00402ea7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret 4
lea eax, [ebp - 0x88]
call fcn.00402b4f
push eax
mov edi, esi
call fcn.004337a9
mov ebx, eax
jmp 0x432eee

Function at 0x435bd9
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 0x435c3c
cmp dword [ebp + 0xc], 1
je 0x435c15
cmp dword [ebp + 0xc], 2
je 0x435c15
push 0xd
pop eax
jmp 0x435c3c
test edi, edi
mov eax, dword [ebp - 4]
je 0x435c36
test eax, eax
je 0x435c32
test al, 1
jne 0x435c10
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x435c36
jmp 0x435c10
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x437c4d
Capabilities:
Terminate process

Disassembly:
push ebx
lea ebx, [esi + 4]
cmp dword [ebx], 0
jne 0x437c61
push ebx
call fcn.00440ad0
test eax, eax
pop ecx
jne 0x437ca3
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x437c75
push edi
call fcn.00440ad0
test eax, eax
pop ecx
jne 0x437ca2
mov eax, ebx
call fcn.00440ab5
mov eax, edi
call fcn.00440ab5
lea eax, [esi + 0xc]
cmp dword [eax], 0
mov byte [esi + 0x10], 0
je 0x437c93
xor eax, eax
jmp 0x437ca2
push esi
push 0x437c23
push eax
call fcn.00440a33
add esp, 0xc
pop edi
pop ebx
ret
Function at 0x43808a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4a7fcc
call fcn.004a7794
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.00440c63
mov ebx, dword [edi + 8]
lea esi, [edi + 0x38]
call fcn.00440c63
mov ebx, dword [edi + 0xc]
lea esi, [edi + 0x24]
call fcn.00440c63
mov ebx, dword [edi + 0xc]
lea esi, [edi + 0x4c]
call fcn.00440c63
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x43bc90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
je 0x43bc9c
xor eax, eax
pop ebp
ret
lea eax, [esi + 0x30]
push eax
call fcn.00440b2b
test eax, eax
pop ecx
je 0x43bcaf
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.00440ad0
test eax, eax
pop ecx
jne 0x43bd23
lea eax, [esi + 0x18]
push eax
call fcn.00440ad0
test eax, eax
pop ecx
jne 0x43bd23
lea eax, [esi + 0x1c]
push eax
call fcn.00440ad0
test eax, eax
pop ecx
jne 0x43bd23
push dword [ebp + 0x10]
lea eax, [esi + 0x20]
push dword [ebp + 0x10]
push eax
call fcn.00440ae1
add esp, 0xc
test eax, eax
jne 0x43bd23
push dword [ebp + 0x10]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.00440ae1
add esp, 0xc
test eax, eax
jne 0x43bd23
push dword [ebp + 0xc]
lea eax, [esi + 0x10]
push dword [ebp + 8]
mov dword [esi + 4], edi
push eax
call fcn.00440a33
add esp, 0xc
test eax, eax
je 0x43bd28
push 0xc
pop eax
jmp 0x43bd2c
mov dword [esi], edi
xor eax, eax
pop edi
pop ebp
ret

Function at 0x43e389
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.0043e303
add esi, esi
mov eax, esi
xor eax, dword [ebp + 0x10]
pop ecx
not eax
and ebx, eax
cmp esi, 0x10000
jb 0x43e39a
pop edi
pop esi
pop ebx
pop ebp
ret