joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4930de
Capabilities:
Access peb ldr_data
Get kernel32 base address
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49b0c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0046f34c
mov esi, eax
xor eax, eax
push 0x206
push eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x72]
push eax
call fcn.0042a910
add esp, 0xc
mov eax, 0x4a5c7c
cmp dword [esi], 0
cmovne eax, dword [esi]
push eax
lea eax, [esp + 0x6c]
push 0x4aaeb8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
and dword [esp + 0x3c], 0
lea edi, [esp + 0x40]
add esp, 0xc
xor eax, eax
push 9
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xf0]
push 0x69
push eax
mov dword [esp + 0x3c], 0x495fee
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
xor edi, edi
mov dword [esp + 0x48], eax
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x48], eax
mov esi, str.ChatWindow
lea eax, [esp + 0x30]
mov dword [esp + 0x54], esi
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
lea eax, [esp + 0x58]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xf4]
movdqu xmmword [esp + 0x60], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
movdqa xmm0, xmmword [0x4ab820]
lea eax, [esp + 0xc]
push edi
push edi
push eax
movdqu xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push ebx
push dword [ebx + 0xf0]
push edi
push dword [ebx + 0xf4]
push eax
push ecx
push edi
push edi
push 0xc80000
lea eax, [esp + 0x8c]
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x4c
mov dword [ebx + 0x120], eax
call fcn.0042493a
pop ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x27c], edi
test eax, eax
je 0x493238
push ecx
push ebx
lea ecx, [esp + 0x14]
push ecx
push dword [ebx + 0x120]
mov ecx, eax
call fcn.0048f5b7
jmp 0x49323a
mov eax, edi
or dword [esp + 0x27c], 0xffffffff
push ecx
mov ecx, eax
mov dword [ebx + 0x128], eax
call fcn.00465358
mov ecx, dword [ebx + 0x128]
push edi
push 1
mov eax, dword [ecx]
call dword [eax + 0x30]
push dword [ebp + 0xc]
mov ecx, dword [ebx + 0x128]
push dword [ebp + 8]
call fcn.004646a2
mov ecx, dword [ebx + 0x128]
call fcn.0048f472
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xf4]
movdqu xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
push 1
push edi
push edi
add eax, 0x14
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x14
push eax
push 0xffffffffffffffff
push dword [ebx + 0x120]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [ebx + 0x120]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x274]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x49355b
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, ecx
push 5
push dword [edi + 0xf4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 0xf4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [edi + 0x100]
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov byte [edi + 0x132], 0
pop edi
ret

Function at 0x4936c8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
push 0x1a
mov edx, dword [edi + 0x134]
pop ecx
call fcn.0046f593
mov eax, dword [edi + 0x134]
pop ecx
pop ecx
push 0x50
push ebx
push ebx
push 1
add eax, 0xe24
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov ebx, eax
test ebx, ebx
jne 0x493719
push 0x69
push dword [edi + 0xf0]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x1e8
call fcn.0042493a
mov esi, eax
xor eax, eax
pop ecx
push 0xfe
mov dword [esi], 0x1e8
mov ecx, dword [edi + 0xf4]
and dword [esi + 8], 0
mov dword [esi + 0x14], ebx
xor ebx, ebx
mov dword [esi + 4], ecx
mov dword [esi + 0xc], 7
mov dword [esi + 0x10], 0x406
mov word [ebp - 0x100], ax
lea eax, [ebp - 0xfe]
push ebx
push eax
call fcn.0042a910
add esp, 0xc
lea ecx, [ebp - 0x100]
mov edx, 0x80
push 0x23
call fcn.0046eb50
pop ecx
lea eax, [ebp - 0x100]
push eax
lea eax, [esi + 0x18]
push 0x4a5c80
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [edi + 0x100], esi
push esi
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
push dword [edi + 0xf4]
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [edi + 0xf4]
mov byte [edi + 0x132], 1
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x494519
Capabilities:
Create thread

Disassembly:
mov eax, 0x49b108
call fcn.00496f64
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
push 0x11
mov edx, dword [edi + 0x134]
pop ecx
call fcn.0046f593
mov eax, dword [edi + 0xf4]
mov ecx, dword [0x4cb378]
mov dword [0x4cb374], eax
mov eax, dword [edi + 0x134]
push 1
test byte [eax + 0x9066], 1
pop eax
cmovne ecx, eax
mov dword [0x4cb378], ecx
mov eax, dword [edi + 0x134]
push 2
test byte [eax + 0x9066], 2
pop eax
cmovne ecx, eax
push 0x928
mov dword [0x4cb378], ecx
call fcn.0042493a
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
test esi, esi
je 0x4945ba
mov edx, dword [edi + 0x134]
mov ecx, dword [0x4cb378]
mov dword [esi + 0x924], ecx
mov ecx, esi
push edx
call fcn.0046c404
mov ecx, esi
call fcn.0046c326
jmp 0x4945bc
mov esi, ebx
or dword [ebp - 4], 0xffffffff
call fcn.0046aed3
mov edx, 0x4cb050
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4945ce
lea ecx, [esi + 0x208]
mov edx, 0x4cb258
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4945ea
lea ecx, [esi + 0x410]
mov edx, 0x4cb35c
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x494601
test esi, esi
je 0x49461b
push esi
call fcn.0042490f
pop ecx
push ebx
push ebx
push 0x4cb050
push 0x4944ec
push ebx
push ebx
call fcn.00427ad7
mov ecx, dword [ebp - 0xc]
add esp, 0x18
mov byte [edi + 0xd], 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x496bd8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
push dword [esi + 0xf4]
mov dword [esi], 0x4aafc4
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x133], 0
je 0x496c00
call fcn.00490c49
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x496c0d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x11c]
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x496c26
push eax
call ebx
mov dword [esi + 0x11c], edi
mov eax, dword [esi + 0x120]
test eax, eax
je 0x496c39
push eax
call ebx
mov dword [esi + 0x120], edi
mov ecx, dword [esi + 0x124]
test ecx, ecx
je 0x496c49
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x128]
test ecx, ecx
je 0x496c59
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x496c66
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [esi + 0xd8], edi
jle 0x496c8c
lea ebx, [esi + 0xb0]
mov ecx, dword [ebx]
test ecx, ecx
je 0x496c80
mov eax, dword [ecx]
push 1
call dword [eax]
inc edi
add ebx, 4
cmp edi, dword [esi + 0xd8]
jl 0x496c74
pop edi
pop esi
pop ebx
ret
Function at 0x401210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42ae53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x42fee0
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.00429c56
mov dword [ebx], 0x42fecc
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.00429c56
or eax, 0xffffffff
push 0x43c850
mov dword [ebx], 0x42fe90
push edi
mov dword [esi], 0x42fea4
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x403470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42b0ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x42ff70
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x403500
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x4034c7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x4034f1
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x403506
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x403506
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x42ff10
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x42fefc
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x404e60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x42b360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x42ff38
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call sub.MFC42.DLL_CDC::LineTo
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call sub.MFC42.DLL_CDC::LineTo
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
push ebp
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x42ff10
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x405920
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42b3f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, esi
mov ebp, ecx
push edi
mov dword [esp + 0x10], 0x42ff4c
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], eax
cmp ecx, eax
jne 0x405987
call fcn.00401380
test eax, eax
mov eax, 0x16
jne 0x40598c
mov eax, 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push eax
call ebx
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
call fcn.00401380
test eax, eax
je 0x4059ed
mov eax, dword [edi + 4]
push 0xf
lea edx, [esp + 0x1c]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
push 7
test eax, eax
jne 0x405a11
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 4
push ecx
push edx
push edi
mov ecx, ebp
call fcn.00404e60
jmp 0x405a29
call ebx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
add ecx, 5
add eax, 4
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00404d40
mov dword [esp + 0x10], 0x42ff10
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10

Function at 0x405f50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
and esi, 0xffff
push 2
push esi
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, eax
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x405f79
pop edi
pop esi
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405f88
pop edi
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x405f96
pop edi
pop esi
ret
push eax
call fcn.00405f10
add esp, 4
cmp ax, 0x10
je 0x405faa
pop edi
xor eax, eax
pop esi
ret
push 0
push esi
push edi
call sub.MFC42.DLL_AfxLoadSysColorBitmap
pop edi
pop esi
ret
Function at 0x40b6e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42bb08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov edi, ecx
push 0
push 0
push 0x14b
mov eax, dword [edi + 0x104]
push eax
call ebx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0xc]
push 0
push ecx
mov dword [esp + 0x30], 0
call dword [sym.imp.IndFile.dll_public:_static_void___cdecl_Tool_Resource::getLogicalDriveString_class_CStringArray___bool_]
mov eax, dword [esp + 0x1c]
add esp, 8
xor esi, esi
test eax, eax
jle 0x40b761
mov edx, dword [esp + 0x10]
mov eax, dword [edx + esi*4]
push eax
mov eax, dword [edi + 0x104]
push 0
push 0x143
push eax
call ebx
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x40b740
push 1
call dword [sym.imp.IndFile.dll_public:_static_class_CString_const____cdecl_Tool_Resource::loadString_unsigned_int_]
mov eax, dword [eax]
mov ecx, dword [edi + 0x104]
add esp, 4
push eax
push 0
push 0x143
push ecx
call ebx
mov edx, dword [edi + 0x104]
push 0
push 0
push 0x146
push edx
call ebx
dec eax
push 0
push eax
mov eax, dword [edi + 0x104]
push 0x14e
push eax
call ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00429f50
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x40ea60
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
push esi
mov esi, dword [esp + 0x168]
mov ecx, esi
call dword [sym.imp.IndFile.dll_public:_bool___thiscall_Data_FileItem::isFullFilled_void_const]
test al, al
jne 0x40eb04
mov ecx, esi
call dword [sym.imp.IndFile.dll_public:_class_CString_const____thiscall_Data_FileItem::getFullFileName_void_]
mov eax, dword [eax]
push 0x4c01
lea ecx, [esp + 8]
push 0x160
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne 0x40ead2
push 0x43c8d0
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x2c], eax
call fcn.00429cec
mov ecx, esi
call dword [sym.imp.IndFile.dll_public:_void___thiscall_Data_FileItem::setFullFilled_void_]
mov al, 1
pop esi
add esp, 0x160
ret 4
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x114]
mov dword [esi + 0x30], edx
push ecx
lea ecx, [esi + 0x34]
mov dword [esi + 0x2c], eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, esi
call dword [sym.imp.IndFile.dll_public:_void___thiscall_Data_FileItem::setFullFilled_void_]
mov al, 1
pop esi
add esp, 0x160
ret 4
xor al, al
pop esi
add esp, 0x160
ret 4

Function at 0x40fc80
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [esp + 4]
call dword [sym.imp.IndFile.dll_public:_class_CString_const____thiscall_Data_FileItem::getFullFileName_void_]
push eax
lea eax, [esp + 8]
push str.explorer__e__select_
push eax
call sub.MFC42.DLL_operator
mov ecx, dword [eax]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 4]
jmp sub.MFC42.DLL_CString::CString

Function at 0x410420
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42bf18
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
push 1
push 0x70
push esi
call sub.MFC42.DLL_AfxIsValidAddress
test eax, eax
je 0x4104c0
mov ebx, dword [sym.imp.IndFile.dll_public:_class_CString_const____thiscall_Data_FileItem::getFullFileName_void_]
mov edi, dword [esi + 0x38]
mov ecx, esi
call ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
test ecx, ecx
je 0x410464
mov ecx, dword [ecx + 0x20]
push 5
push edi
push 0
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x4104c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edi, eax
call ebx
mov eax, dword [eax]
push eax
lea eax, [esp + 0x20]
push edi
push eax
call dword [sym.imp.IndFile.dll_public:_static_class_CString___cdecl_Tool_Resource::getErrorMessage_unsigned_long_int__char__]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
push 0
push 0
push ecx
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x411f60
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42c228
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov eax, dword [edi + 0xbc0]
lea esi, [edi + 0xbc0]
cmp dword [eax - 8], ebx
jne 0x411fa4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov ecx, dword [edi + 0xbc4]
mov edx, dword [ecx - 8]
cmp edx, ebx
jne 0x411fc8
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
cmp edx, 0x10
je 0x411fe4
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
xor eax, eax
cmp edx, ebx
jle 0x411ff9
cmp byte [ecx + eax], 0x46
jg 0x4120cc
inc eax
cmp eax, edx
jl 0x411fea
lea ecx, [esp + 0x14]
call fcn.00418140
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebx
call fcn.00418180
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xbc4]
xor esi, esi
mov dword [esp + 0xc], ebx
cmp dword [eax - 8], ebx
jle 0x412093
push ebp
mov ebp, dword [sym.imp.IndFile.dll_public:_static_int___cdecl_Tool_Resource::charToHex_char_]
mov cl, byte [eax + esi]
mov byte [esp + 0x1c], cl
mov edx, dword [esp + 0x1c]
push edx
call ebp
mov bl, al
mov eax, dword [edi + 0xbc4]
mov cl, byte [eax + esi + 1]
mov byte [esp + 0x24], cl
mov edx, dword [esp + 0x24]
push edx
call ebp
shl bl, 4
add al, bl
xor ecx, ecx
mov byte [esp + 0x2c], al
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
mov ebx, dword [esp + 0x18]
add esi, 2
mov cl, byte [eax + edx]
mov eax, dword [esp + 0x2c]
and eax, 0xff
add esp, 8
xor ecx, eax
mov eax, dword [edi + 0xbc4]
or ebx, ecx
mov ecx, dword [eax - 8]
mov dword [esp + 0x10], ebx
cmp esi, ecx
jl 0x41202c
pop ebp
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x10]
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
lea esi, [edx + 5]
call fcn.00418170
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov eax, 3
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret