joyce8/EMBER2024-capa huggingface dataset:
Function at 0x641148cf
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x64114914
test edi, edi
jl 0x64114914
cmp ax, 0x20
je 0x64114909
cmp word [ebp + 8], 0x71
jne 0x64114914
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x64119c23
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6419e6d0]
jne 0x64119c2d
repz ret
jmp fcn.641212c6

Function at 0x6412e2e8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.64120c2a
and dword [ebp - 4], 0
cmp dword [0x641a6178], 0
mov ebx, eax
jne 0x6412e399
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x6412e44a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x6412e44a
push eax
call fcn.64120bb8
mov dword [esp], 0x6416e0e4
push edi
mov dword [0x641a6178], eax
call esi
push eax
call fcn.64120bb8
mov dword [esp], 0x6416e0d0
push edi
mov dword [0x641a617c], eax
call esi
push eax
call fcn.64120bb8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x641a6180], eax
call esi
push eax
call fcn.64120bb8
pop ecx
mov dword [0x641a6188], eax
test eax, eax
je 0x6412e399
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.64120bb8
pop ecx
mov dword [0x641a6184], eax
mov eax, dword [0x641a6184]
cmp eax, ebx
je 0x6412e3f1
cmp dword [0x641a6188], ebx
je 0x6412e3f1
push eax
call fcn.64120c33
push dword [0x641a6188]
mov esi, eax
call fcn.64120c33
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x6412e3f1
test edi, edi
je 0x6412e3f1
call esi
test eax, eax
je 0x6412e3e8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x6412e3e8
test byte [ebp - 0xc], 1
jne 0x6412e3f1
or dword [ebp + 0x10], 0x200000
jmp 0x6412e42a
mov eax, dword [0x641a617c]
cmp eax, ebx
je 0x6412e42a
push eax
call fcn.64120c33
pop ecx
test eax, eax
je 0x6412e42a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x6412e42a
mov eax, dword [0x641a6180]
cmp eax, ebx
je 0x6412e42a
push eax
call fcn.64120c33
pop ecx
test eax, eax
je 0x6412e42a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x641a6178]
call fcn.64120c33
pop ecx
test eax, eax
je 0x6412e44a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x6412e44c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c84f
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b91e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x5c], ecx
call dword [sym.imp.DataMgr.dll_class_CDataMgr____cdecl_gf_GetDataMgr_void_]
mov dword [ebp - 0x10], eax
call dword [sym.imp.DataMgr.dll_class_CFrameWnd____cdecl_gf_GetMainFrame_void_]
mov ecx, eax
call fcn.0040ea80
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40c9eb
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x40c9e5
push 0x19000
lea ecx, [ebp - 0x44]
call sub.MFC42u.DLL_CMemFile::CMemFile
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.DataMgr.dll_public:_int___thiscall_CDataMgr::GetPickCount_void_const]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
jmp 0x40c8ea
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jge 0x40c90a
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.DataMgr.dll_public:_class_CEntity____thiscall_CDataMgr::GetPickEntity_int_const]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
jmp 0x40c8e1
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.DataMgr.dll_int___cdecl_ExportEzdFile_class_CFile___class_CEntity____int_]
add esp, 0xc
test eax, eax
jne 0x40c9c4
lea ecx, [ebp - 0x44]
call sub.MFC42u.DLL_CFile::GetLength
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jbe 0x40c9c4
mov edx, dword [ebp - 0x48]
add edx, 1
push edx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x40c9ad
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x40c992
push 0
push 0
lea ecx, [ebp - 0x44]
call sub.MFC42u.DLL_CMemFile::Seek
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x44]
call fcn.0040eb20
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x40c9ad
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
je 0x40c9c4
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.DataMgr.dll_unsigned_int___cdecl_gf_GetClipboardFormat_void_]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
push edx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0054601a
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x468e8e
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f9e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x40], ecx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.004688c0
mov ecx, dword [ebp - 0x40]
cmp dword [ecx], 0
je 0x468ee5
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040f880
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42u.DLL_CDC::Draw3dRect
jmp 0x468f11
mov edx, dword [ebp - 0x40]
cmp dword [edx + 4], 0
je 0x468f11
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040f880
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42u.DLL_CDC::Draw3dRect
mov ecx, dword [ebp + 8]
call fcn.00469120
mov dword [ebp - 0x34], eax
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x38]
push 1
mov ecx, dword [ebp + 8]
call sub.MFC42u.DLL_CDC::SetBkMode
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x30]
call fcn.0044fe70
mov dword [ebp - 4], 0
push 0x58
mov ecx, dword [ebp + 8]
call fcn.00468810
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x24], eax
push 0
push str.Marlett
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x30]
call sub.MFC42u.DLL_CFont::CreatePointFont
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov dword [ebp - 0x38], eax
push 0x59ebc8
lea ecx, [ebp - 0x3c]
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xc]
add eax, 2
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 8]
add edx, 2
push edx
mov ecx, dword [ebp + 8]
call fcn.00469140
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42u.DLL_CDC::SetBkMode
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x38]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0044fec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5077ad
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a6e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x571f20
mov dword [ebp - 4], 2
mov dword [0x5bac78], 0
mov ecx, dword [0x5bac68]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x9c], 0
je 0x5078b6
mov ecx, dword [ebp - 0x24]
call fcn.0050e037
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x98], 0
je 0x507835
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x98], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.0050af9b
push 0
call dword [sym.imp.Lmc1.dll_class_CLmcDev____cdecl_gf_SetLmcDev_class_CLmcDev__]
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x9c]
push eax
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.0050aeed
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x9c]
add edx, 0x10ba8
push edx
call dword [sym.imp.Lmc1.dll_int___cdecl_gf_SaveLmcCfg_struct_LmcCfg___class_CString_]
add esp, 8
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x9c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x50789c
push 1
mov ecx, dword [ebp - 0x14]
call fcn.00505f90
mov dword [ebp - 0x2c], eax
jmp 0x5078a3
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x9c], 0
call dword [sym.imp.Lmc1.dll_void___cdecl_lmc_CloseDriver_void_]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0xa0], 0
je 0x5078e7
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xa0]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov edx, dword [ebp - 0x24]
mov dword [edx + 0xa0], 0
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0xa4], 0
je 0x507918
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xa4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0xa4], 0
call dword [sym.imp.Lmc1.dll_void___cdecl_gf_CloseUsbMonitor_void_]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x188
call fcn.00401e50
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x180
call fcn.00401e50
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
call fcn.005464e2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x526a51
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.005269ea
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x60]
push edx
push 0x526081
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x84], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x84], 0
jne 0x526aa1
push 0
push 0
push str.CreateMarkThread_Failed_
call sub.MFC42u.DLL_AfxMessageBox
mov esp, ebp
pop ebp
ret
Function at 0x54093b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f830
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x790
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 0x2e4], 0
push 0x5d2f08
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2ec], 0x803b
ja 0x5409ce
cmp dword [ebp - 0x2ec], 0x803b
je 0x542023
mov ecx, dword [ebp - 0x2ec]
sub ecx, 0x8003
mov dword [ebp - 0x2ec], ecx
cmp dword [ebp - 0x2ec], 0x2f
ja case.0x540aeb.5
mov edx, dword [ebp - 0x2ec]
jmp dword [edx*4 + 0x542cd5]
cmp dword [ebp - 0x2ec], 0xe104
ja 0x540aa3
cmp dword [ebp - 0x2ec], 0xe104
je 0x540ce1
cmp dword [ebp - 0x2ec], 0x8067
ja 0x540a3d
cmp dword [ebp - 0x2ec], 0x8067
je 0x541f05
mov eax, dword [ebp - 0x2ec]
sub eax, 0x805a
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2ec], 0xc
ja case.0x540aeb.5
mov edx, dword [ebp - 0x2ec]
xor ecx, ecx
mov cl, byte [edx + 0x542dad]
jmp dword [ecx*4 + 0x542d95]
cmp dword [ebp - 0x2ec], 0xe100
ja 0x540a7e
cmp dword [ebp - 0x2ec], 0xe100
je 0x540b58
cmp dword [ebp - 0x2ec], 0x8068
je 0x542141
cmp dword [ebp - 0x2ec], 0x8075
je 0x542bde
jmp case.0x540aeb.5
cmp dword [ebp - 0x2ec], 0xe101
je 0x540bdb
cmp dword [ebp - 0x2ec], 0xe103
je 0x540c5e
jmp case.0x540aeb.5
cmp dword [ebp - 0x2ec], 0xe12b
ja 0x540af2
cmp dword [ebp - 0x2ec], 0xe12b
je 0x54107f
mov eax, dword [ebp - 0x2ec]
sub eax, 0xe107
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2ec], 0x1e
ja case.0x540aeb.5
mov edx, dword [ebp - 0x2ec]
xor ecx, ecx
mov cl, byte [edx + 0x542dd2]
jmp dword [ecx*4 + 0x542dba]
cmp dword [ebp - 0x2ec], 0xe141
ja 0x540b33
cmp dword [ebp - 0x2ec], 0xe141
je 0x540eed
cmp dword [ebp - 0x2ec], 0xe12c
je 0x54110e
cmp dword [ebp - 0x2ec], 0xe140
je 0x540f70
jmp case.0x540aeb.5
invalid
invalid
invalid
Function at 0x54a850
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf0
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x5b96a8]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x48], al
inc ecx
cmp ecx, 0x38
jl 0x54a863
xor edx, edx
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x84]
lea ebp, [esp + eax*4 + 0x80]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x5b9750]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x54a8c3
mov bl, byte [esp + ecx + 0x48]
jmp 0x54a8c7
mov bl, byte [esp + ecx + 0x2c]
mov byte [esp + eax + 0x10], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x54a8b8
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x54a8e5
mov bl, byte [esp + ecx + 0x48]
jmp 0x54a8e9
mov bl, byte [esp + ecx + 0x2c]
mov byte [esp + eax + 0x10], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x54a8da
xor ecx, ecx
mov eax, 0x5b96b8
xor ebx, ebx
mov bl, byte [ecx + 0x5b9760]
cmp byte [esp + ebx + 0x10], 0
je 0x54a914
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x5b9778]
cmp byte [esp + ebx + 0x10], 0
je 0x54a92b
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x54a8fb
inc edx
cmp edx, 0x10
jl 0x54a88e
mov edx, dword [esp + 0x10c]
mov ecx, dword [esp + 0x104]
lea eax, [esp + 0x80]
push edx
push eax
push ecx
call fcn.0054a9a0
push 0x38
lea edx, [esp + 0x58]
push 0
push edx
call fcn.00549780
push 0x38
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00549780
push 0x80
lea ecx, [esp + 0xa8]
push 0
push ecx
call fcn.00549780
add esp, 0x30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret
Function at 0x41fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x46d558], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46d560], eax
call edi
push eax
call esi
mov dword [0x46d568], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46d564], eax
mov eax, dword [0x46d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x46d568], ecx
je 0x41fc78
push eax
call esi
push dword [0x46d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x46d55c]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x46d560]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46d558]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret

Function at 0x8c2134
Capabilities:
Encode data using xor

Disassembly:
push 0x8c1ea3
pop esi
and ecx, ecx
sub ecx, 0x6534e497
add ecx, ecx
call fcn.008c2174
and ecx, edx
add ecx, 0xa34206b6
xor dword [eax], esi
add edx, edx
inc eax
add edx, edx
cmp eax, edi
jne fcn.008c2134
mov edx, 0x5ac747f
add ecx, edx
and ecx, edx
ret
Function at 0x42aabd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x432330
cmp edx, dword [eax]
je 0x42aadf
add eax, 8
inc ecx
cmp eax, 0x4323c0
jl 0x42aad0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x432330]
jne 0x42ac0d
mov eax, dword [0x48395c]
cmp eax, 1
je 0x42abe7
test eax, eax
jne 0x42ab10
cmp dword [0x432078], 1
je 0x42abe7
cmp edx, 0xfc
je 0x42ac0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42ab47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00429060
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00428750
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42ab8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00428750
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42cb64
push edi
call fcn.0042b540
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00429060
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00429070
lea eax, [ebp - 0xa0]
push 0x42cb44
push eax
call fcn.00429070
push dword [esi + 0x432334]
lea eax, [ebp - 0xa0]
push eax
call fcn.00429070
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042b4b0
add esp, 0x2c
pop edi
jmp 0x42ac0d
lea eax, [ebp + 8]
lea esi, [esi + 0x432334]
push 0
push eax
push dword [esi]
call fcn.00428750
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x401ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40406c], eax
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.mifedount
push str.Deltapo
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401b33
xor eax, eax
jmp 0x401b4e
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x402200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x18]
push esi
push str.getvar:_s
push 3
call fcn.00401a80
mov edi, eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], ebx
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x50], eax
pop eax
pop edx
push esi
push str.checking__s
call fcn.00402160
add esp, 0x10
mov dword [edi + 0x54], eax
mov eax, 0x4027e0
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x402263
mov eax, 0x402800
mov ecx, dword [edi + 0x4c]
mov dword [edi + 0x58], eax
test ecx, ecx
je 0x402275
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp + 8], 0x42115c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00403190
Function at 0x402ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x7e5
push 1
push str.usage:_fastboot____option_____command__n_ncommands:_n__update__filename_________________________reflash_device_from_update.zip_n__flashall_________________________________flash_boot__recovery__system_n__flash__partition_____filename____________write_a_file_to_a_flash_partition_n__erase__partition_________________________erase_a_flash_partition_n__format__partition________________________format_a_flash_partition__n__getvar__variable_________________________display_a_bootloader_variable_n__boot__kernel_____ramdisk_________________download_and_boot_kernel_n__flash:raw_boot__kernel_____ramdisk_______create_bootimage_and_flash_it_n__devices__________________________________list_all_connected_devices_n__continue_________________________________continue_with_autoboot_n__reboot___________________________________reboot_device_normally_n__reboot_bootloader________________________reboot_device_into_bootloader_n__help_____________________________________show_this_help_message_n_noptions:_n___w_______________________________________erase_userdata_and_cache__and_format_n___________________________________________if_supported_by_partition_type__n___u_______________________________________do_not_first_erase_partition_before_n___________________________________________formatting_n___s__specific_device______________________specify_device_serial_number_n___________________________________________or_path_to_device_port_n___l_______________________________________with__devices___lists_device_paths_n___p__product______________________________specify_product_name_n___c__cmdline______________________________override_kernel_commandline_n___i__vendor_id____________________________specify_a_custom_USB_vendor_id_n___b__base_addr____________________________specify_a_custom_kernel_base_address._default:_0x10000000_n___n__page_size____________________________specify_the_nand_page_size._default:_2048_n___S__size__KMG__________________________automatically_sparse_files_greater_than_n___________________________________________size.__0_to_disable_n
call sub.msvcrt.dll_fwrite
add esp, 0x10
leave
ret