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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cc136
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1023c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
mov ebx, dword [sym.imp.HncVfs.dll_void___cdecl_HncVfsShell::FreePidl_struct_IHncVfsShellPidl__]
mov dword [edi], sym.HncOfficeFramework.dll_const_CHncShellLookInCtrl::vftablefor__CHDlgItem
mov dword [edi + 0xc], sym.HncOfficeFramework.dll_const_CHDCComboBox::vftablefor__CHDlgCtrlCmdTarget
mov dword [edi + 0x10], sym.HncOfficeFramework.dll_const_CHncShellLookInCtrl::vftablefor__CHDlgCtrlGrp
mov dword [edi + 0x18], sym.HncOfficeFramework.dll_const_CHncShellLookInCtrl::vftablefor__CIncrementalTextSearcher
mov eax, dword [eax + 4]
mov dword [eax + edi + 8], sym.HncOfficeFramework.dll_const_CColorUserCtrl::vftablefor__CHncObject
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x40]
mov dword [ecx + edi + 4], eax
lea ecx, [edi + 0x2c]
mov esi, dword [ecx]
cmp esi, dword [edi + 0x30]
je 0x101b4972
nop dword [eax]
push dword [esi]
call ebx
add esi, 4
add esp, 4
cmp esi, dword [edi + 0x30]
jne 0x101b4960
lea ecx, [edi + 0x2c]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x38]
test eax, eax
je 0x101b498b
push eax
call ebx
add esp, 4
mov dword [edi + 0x38], 0
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x101b499f
push ecx
call fcn.10023f80
mov dword [edi + 0x40], 0
lea ecx, [edi + 0x2c]
call fcn.10012b00
mov ecx, edi
call sym.HncOfficeFramework.dll_public_virtual:_void___thiscall_CHDCComboBox::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101b5130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, ecx
mov dword [ebx], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
cmp eax, sym.HncOfficeFramework.dll_public_virtual:_int___thiscall_CHResizeWindowBase::IsResizable_void_
jne 0x101b51f6
call dword [edx]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x61000000
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x101b51eb
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
je 0x101b5180
cmp dword [edi + 0x10], 0
je 0x101b51eb
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
lea eax, [esp + 0x10]
sets cl
push eax
mov dword [esp + 0x10], ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 4]
test eax, eax
je 0x101b51cb
cmp dword [esp + 0xc], 0
je 0x101b51cb
lea ecx, [esp + 0x10]
push ecx
push eax
lea esi, [edi + 0x14]
mov ecx, edi
push esi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHResizeWindowBase::_GetNewRect_struct_tagRECT___unsigned_int__struct_tagPOINT_const__
push esi
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHResizeWindowBase::_DrawBorder_struct_tagRECT_const__
mov eax, dword [edi + 4]
jmp 0x101b51dd
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
je 0x101b51e3
mov dword [ebx], 1
push eax
mov ecx, edi
call sym.HncOfficeFramework.dll_private:_void___thiscall_CHResizeWindowBase::_SetCursorByHitVal_unsigned_int_
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call eax
jmp 0x101b516c

Function at 0x101b5e30
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call sym.HncOfficeFramework.dll_public_virtual:_void___thiscall_CHDCScrollItem::OnCreate_void_
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
test eax, eax
je 0x101b5e4c
or dword [eax + 8], 0x300000
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
test eax, eax
jne 0x101b5e57
xor ecx, ecx
jmp 0x101b5e5a
mov ecx, dword [eax + 8]
test ecx, 0x800000
je 0x101b5e7e
test eax, eax
je 0x101b5e70
and dword [eax + 8], 0xff7fffff
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
test eax, eax
je 0x101b5e7e
or dword [eax + 4], 0x200
mov ecx, esi
pop esi
jmp sym.HncOfficeFramework.dll_public:_void___thiscall_CHncShellTreeCtrl::InitImageLists_void_
Function at 0x101b7ca0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call sym.HncOfficeFramework.dll_public_virtual:_void___thiscall_CHDCComboBox::OnCreate_void_
mov ecx, esi
pop esi
jmp sym.HncOfficeFramework.dll_public:_void___thiscall_CHncShellLookInCtrl::InitImageLists_void_
Function at 0x101bb890
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1023e02c], 0
jne 0x101bb951
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str._AppResourceCommonHelp_CultureHncCtx.CHM
call dword [sym.imp.HncFoundation.dll_HncPathToAbsolute]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x101bb8ef
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str._AppResourceCommonHelpen_USHncCtx.CHM
call dword [sym.imp.HncFoundation.dll_HncPathToAbsolute]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x101bb91c
push str.::_context.txt
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
jmp 0x101bb925
xor eax, eax
mov word [ebp - 0x20c], ax
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101bb930
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, 0x1023e01c
call fcn.10002470
cmp dword [0x1023e030], 8
mov eax, 0x1023e01c
mov ecx, dword [ebp - 4]
cmovae eax, dword [0x1023e01c]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret

Function at 0x101bb980
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1023e1dc], 0
jne 0x101bba21
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str._AppResource_AppNameHelp_Culture_AppName.CHM
call dword [sym.imp.HncFoundation.dll_HncPathToAbsolute]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x101bb9df
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str._AppResource_AppNameHelpen_US_AppName.CHM
call dword [sym.imp.HncFoundation.dll_HncPathToAbsolute]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x101bb9f7
mov word [ebp - 0x20c], ax
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101bba00
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, 0x1023e1cc
call fcn.10002470
cmp dword [0x1023e1e0], 8
mov eax, 0x1023e1cc
mov ecx, dword [ebp - 4]
cmovae eax, dword [0x1023e1cc]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret
Function at 0x101beb00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x1023c014]
xor eax, esp
mov dword [esp + 0x818], eax
push ebx
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x38]
test edx, edx
jne 0x101beb3f
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp + 8], 0
lea esi, [edi + 0x20]
mov ecx, esi
je 0x101bec9e
sub esp, 0x14
push edx
push edx
call fcn.10142820
mov ebx, eax
add esp, 0x1c
cmp ebx, 1
jne 0x101becad
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push esi
mov dword [esp + 0x18], ebx
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
js 0x101bec8d
push dword [esp + 0x10]
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ebx
push str.CLSID_s
push 0x400
push eax
call fcn.1002c4d0
add esp, 0x10
cmp eax, 0x3ff
ja 0x101bec76
lea eax, [esp + 0x18]
push eax
push 0x2001f
push ebx
lea eax, [esp + 0x2c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101bec76
mov ecx, dword [edi + 0x34]
test cl, 1
jne 0x101bec6c
test cl, 2
mov eax, str.Apartment
mov edx, ebx
mov esi, 0x1023e158
cmove eax, edx
test cl, 4
cmove esi, eax
and ecx, 6
cmp cl, 6
jne 0x101bec00
mov esi, 0x1023e218
jmp 0x101bec04
test esi, esi
je 0x101bec64
lea eax, [esp + 0x14]
push eax
push 0x20006
push 0
push str.InprocServer32
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x101bec69
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push str.ThreadingModel
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x14]
mov esi, eax
xor ebx, ebx
test esi, esi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x101bec69
mov ebx, 1
lea esi, [edi + 0x20]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esp + 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x1c]
call fcn.10028ba0
test ebx, ebx
jne 0x101becad
mov edx, dword [edi + 0x38]
sub esp, 0xc
mov ecx, esi
push edx
push edx
call fcn.101425f0
jmp 0x101becaa
sub esp, 0xc
push edx
push edx
call fcn.101425f0
mov ebx, eax
add esp, 0x14
mov ecx, dword [esp + 0x824]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 4
Function at 0x459634
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49ebb8]
cmp dword [eax + 0x30], 0
je 0x4596de
cmp dword [ebx + 0x94], 0
jne 0x4596d8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4595c4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4596d8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45969e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4596d8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041ac6c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4596ad
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a240
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45a275
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404ab0
jmp 0x45a282
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a14
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b364
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b3a5
mov eax, esi
call fcn.00441a08
test al, al
je 0x45b3a5
mov eax, dword [ebx + 0x84]
call fcn.00441704
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b3a5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441704
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4622c8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4622f6
mov eax, ebx
call fcn.00462d7c
cmp dword [ebx + 0x40], 0
je 0x4622ef
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x462367
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x462359
cmp dword [ebx + 8], 0
je 0x462318
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46232a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x462359
cmp dword [ebx + 8], 0
je 0x46230b
cmp eax, 3
je 0x46233d
dec eax
jne 0x46230b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46230b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46230b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x462385
cmp dword [ebx + 0x14], 0xcc
je 0x462385
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00462390
pop ebx
ret
Function at 0x472c68
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe64
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], eax
xor eax, eax
push ebp
push 0x472d41
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.00408d24
mov ebx, eax
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov dl, 1
mov eax, dword [0x418be4]
call fcn.00403bbc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0x198]
mov edx, ebx
call fcn.00404bb8
mov eax, dword [ebp - 0x198]
call fcn.00404c80
push eax
push ebx
call sub.wsock32.dll_gethostname
push ebx
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x472d23
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x472d17
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x19c]
call fcn.00404bb8
mov edx, dword [ebp - 0x19c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x472cf4
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472d48
lea eax, [ebp - 0x19c]
mov edx, 2
call fcn.004049e4
ret

Function at 0x472e28
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x472e59
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00404c30
jmp 0x472e60
mov eax, ebx
call fcn.004049c0
add esp, 0x104
pop ebx
ret

Function at 0x472e68
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x472ee2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040500c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e80
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x472ec0
push ebx
mov ecx, dword [ebp - 8]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404ee0
jmp 0x472ecc
mov eax, ebx
mov edx, 0x472ef8
call fcn.00404a14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472ee9
lea eax, [ebp - 4]
call fcn.004049c0
ret
Function at 0x47310c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x114], ecx
mov ebx, edx
xor ecx, ecx
push ebp
push 0x473316
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov ecx, eax
cmp ecx, 6
ja case.0x473149.0
jmp dword [ecx*4 + 0x473150]
mov edx, 0x1a
jmp case.0x473149.0
mov edx, 0x1c
jmp case.0x473149.0
mov edx, 0x23
jmp case.0x473149.0
mov edx, 0x2e
jmp case.0x473149.0
mov edx, 5
jmp case.0x473149.0
xor edx, edx
cmp eax, 7
jne 0x4732c4
xor eax, eax
push ebp
push 0x4732b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x114]
call fcn.00472f00
mov eax, dword [ebp - 0x114]
mov edx, 0x47332c
call fcn.00404dcc
je 0x47320e
push 0x473330
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
push 0x47333c
push edi
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0
push 0
lea edx, [ebp - 0x124]
mov eax, 0x47335c
call fcn.00408ca8
lea eax, [ebp - 0x124]
push eax
call esi
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00404be8
jmp 0x4732ae
lea eax, [ebp - 4]
push eax
push 5
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x10d]
call fcn.0040a174
mov eax, dword [ebp - 0x128]
mov edx, ebx
call fcn.00409d30
mov edx, dword [ebx]
lea eax, [ebp - 0x12c]
mov ecx, 0x47338c
call fcn.00404ccc
mov eax, dword [ebp - 0x12c]
call fcn.00409a58
test al, al
je 0x473278
mov eax, ebx
mov edx, 0x47338c
call fcn.00404c88
jmp 0x4732ae
mov edx, dword [ebx]
lea eax, [ebp - 0x130]
mov ecx, 0x4733a0
call fcn.00404ccc
mov eax, dword [ebp - 0x130]
call fcn.00409a58
test al, al
je 0x4732a7
mov eax, ebx
mov edx, 0x4733a0
call fcn.00404c88
jmp 0x4732ae
mov eax, ebx
call fcn.004049c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4732ed
lea eax, [ebp - 4]
push eax
push edx
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [ebp - 0x10d]
call fcn.0040a174
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47331d
lea eax, [ebp - 0x130]
mov edx, 3
call fcn.004049e4
lea eax, [ebp - 0x114]
call fcn.004049c0
ret
Function at 0x4734a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e70
mov eax, dword [ebp - 8]
call fcn.00404e70
xor eax, eax
push ebp
push 0x473574
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.004032b4
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], 0x440
mov eax, dword [ebp - 4]
call fcn.00404e80
mov dword [ebp - 0x34], eax
cmp byte [ebp + 0xc], 0
je 0x473506
mov eax, 0x473584
mov dword [ebp - 0x38], eax
cmp dword [ebp - 8], 0
je 0x473517
mov eax, dword [ebp - 8]
call fcn.00404e80
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x473557
cmp byte [ebp + 8], 0
je 0x473552
cmp dword [ebp - 0xc], 0
je 0x473552
jmp 0x473540
push 0x32
call sub.kernel32.dll_Sleep_1
push 0x32
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x473539
mov ebx, dword [ebp - 0xc]
jmp 0x473559
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47357b
lea eax, [ebp - 8]
mov edx, 2
call fcn.004049e4
ret

Function at 0x47358c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404e70
mov eax, dword [ebp - 8]
call fcn.00404e70
xor eax, eax
push ebp
push 0x47366d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47364b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x431cf4]
call fcn.00431df4
mov dword [ebp - 0xc], eax
test bl, bl
je 0x4735e9
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00431e94
jmp 0x4735f6
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.00431e94
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xc], 0
xor ecx, ecx
mov edx, 0x473684
mov eax, dword [ebp - 0xc]
call fcn.00431ef8
cmp byte [ebp + 8], 0
je 0x473622
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0043226c
jmp 0x47362d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004321d4
mov eax, dword [ebp - 0xc]
call fcn.00431e64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473652
mov eax, dword [ebp - 0xc]
call fcn.00403bec
ret

Function at 0x4737c0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.0040a174
add esp, 0x108
pop ebx
ret

Function at 0x4737e8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040a174
add esp, 0x108
pop ebx
ret
Function at 0x473814
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e70
mov eax, dword [ebp - 8]
call fcn.00404e70
xor eax, eax
push ebp
push 0x4738bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00409a48
test al, al
je 0x473875
mov eax, dword [ebp - 8]
call fcn.00404e80
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00404bb8
mov eax, dword [ebp - 0xc]
mov edx, 0x80
call fcn.00409a90
push 0
mov eax, dword [ebp - 8]
call fcn.00404e80
mov ebx, eax
push ebx
mov eax, dword [ebp - 4]
call fcn.00404e80
push eax
call sub.kernel32.dll_CopyFileA
mov edx, ebx
lea eax, [ebp - 0x10]
call fcn.00404bb8
mov eax, dword [ebp - 0x10]
mov edx, esi
call fcn.00409a90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4738c6
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004049e4
ret

Function at 0x473940
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd8
mov dword [esp], edx
mov byte [esp + 4], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebp, eax
test ebp, ebp
jle 0x473a5e
push 0
lea eax, [esp + 0xc]
push eax
push 0x16
lea eax, [esp + 0x1c]
push eax
push ebp
call sub.kernel32.dll_ReadFile_1
push 0
push 0
push 0
push ebp
call sub.kernel32.dll_SetFilePointer_1
mov eax, 0x26
call fcn.0040275c
mov esi, eax
mov eax, 0x22
call fcn.0040275c
mov edi, eax
push 0
lea eax, [esp + 0xc]
push eax
push 0x26
mov ebx, esi
push ebx
push ebp
call sub.kernel32.dll_ReadFile_1
mov edx, edi
mov eax, ebx
mov ecx, 0x14
call fcn.004029dc
mov eax, dword [esi + 6]
mov dword [edi + 6], eax
mov eax, dword [esi + 0xa]
mov dword [edi + 0xa], eax
mov eax, dword [esi + 0xe]
mov dword [edi + 0xe], eax
mov word [edi + 0x12], 1
mov ebx, dword [esi + 0xe]
mov eax, ebx
call fcn.0040275c
mov dword [esp + 0xc], eax
push 0
push 0
mov eax, dword [esi + 0x12]
push eax
push ebp
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [esp + 0xc]
push eax
push ebx
mov eax, dword [esp + 0x18]
push eax
push ebp
call sub.kernel32.dll_ReadFile_1
push ebp
call sub.kernel32.dll_CloseHandle_1
push 0
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_BeginUpdateResourceA
mov ebp, eax
test ebp, ebp
jle 0x473a47
push ebx
mov eax, dword [esp + 0x10]
push eax
push 0
push 1
push 3
push ebp
call sub.kernel32.dll_UpdateResourceA
push 0
push ebp
call sub.kernel32.dll_EndUpdateResourceA
mov byte [esp + 4], 1
mov eax, dword [esp + 0xc]
call fcn.0040277c
mov eax, edi
call fcn.0040277c
mov eax, esi
call fcn.0040277c
mov al, byte [esp + 4]
add esp, 0x28
pop ebp
pop edi
pop esi
pop ebx
ret