joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413630
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41e2fb
push eax
mov dword fs:[0], esp
sub esp, 0xa24
lea eax, [esp]
push esi
push eax
push 0x425080
push 1
push 0
mov esi, ecx
push 0x425070
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4137c4
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xa38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xa40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esi + 0x10]
mov dword [esp + 0xa30], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4136da
push 0
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x4136da
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CFileFind::Close
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0x10]
push 0
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x44]
mov eax, dword [esi + 0x1c]
push edi
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push 0x42a000
push eax
call edi
add esp, 8
test eax, eax
jne 0x4136fd
mov eax, dword [esp + 8]
push 3
mov ecx, dword [eax]
jmp 0x413721
mov eax, dword [esi + 0x1c]
push 0x429ff8
push eax
call edi
add esp, 8
test eax, eax
mov eax, dword [esp + 8]
jne 0x41371d
mov edx, dword [eax]
push 7
push eax
call dword [edx + 0x3c]
jmp 0x413725
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x3c]
mov eax, dword [esi + 0x18]
pop edi
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41373b
mov ecx, dword [esp + 4]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x24]
mov esi, dword [esi + 0x14]
mov eax, dword [esi - 8]
test eax, eax
je 0x413750
mov eax, dword [esp + 4]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0x425090
mov edx, dword [eax]
push eax
call dword [edx]
mov esi, eax
test esi, esi
jl 0x4137a4
mov eax, dword [esp + 0xa3c]
lea edx, [esp + 0x28]
push 0x500
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
lea edx, [esp + 0x28]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
lea ecx, [esp + 0xc]
mov dword [esp + 0xa30], 0xffffffff
call fcn.0041ba10
mov eax, esi
mov ecx, dword [esp + 0xa28]
pop esi
mov dword fs:[0], ecx
add esp, 0xa30
ret 0xc

Function at 0x4137e0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
push esi
lea eax, [esp + 8]
push 0x100
push eax
push str.USERNAME
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, dword [esp + 0x10c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, esi
pop esi
add esp, 0x104
ret 4
Function at 0x4164e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x41eafd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push esi
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 4]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileFind::CFileFind
lea eax, [esi + 0xc8]
push 0x429044
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x150], 0
call sub.MFC42.DLL_operator
lea edx, [esi + 0xd0]
mov byte [esp + 0x144], 1
push edx
push eax
lea eax, [esp + 0x14]
push eax
call sub.MFC42.DLL_operator_2
push 0x429044
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x150], 2
call sub.MFC42.DLL_operator
add esi, 0xe8
lea edx, [esp + 8]
push esi
push eax
push edx
mov byte [esp + 0x150], 3
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x144], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 8]
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x14c], 8
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x416614
lea ecx, [esp + 8]
push str.MyInstallTool.log
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x148], 9
call fcn.0041b82a
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileFind::Close
jmp 0x416640
lea eax, [esp + 0x38]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 8]
call fcn.0041b81e
push str.ptSetup.log
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 4]
push 0x42a184
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
test eax, eax
jne 0x4166af
push edi
mov edi, dword [esp + 8]
or ecx, 0xffffffff
lea edx, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x80
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 2
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x50]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
pop edi
jne 0x4166a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4166b9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4166b9
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 4]
mov byte [esp + 0x144], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x144], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x144], 0xffffffff
call fcn.0041ba10
mov ecx, dword [esp + 0x13c]
pop esi
mov dword fs:[0], ecx
add esp, 0x144
ret
Function at 0x416b70
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41ebe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x524
push ebx
push ebp
push esi
push edi
mov ax, word [0x42a43c]
mov ecx, 0x13f
mov word [esp + 0x34], ax
xor eax, eax
lea edi, [esp + 0x36]
push 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
xor ebp, ebp
push ecx
lea ecx, [esp + 0x54c]
mov dword [esp + 0x544], ebp
stosw word es:[edi], ax
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x429044
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x416c02
mov edx, dword [esp + 0x544]
push 1
lea ecx, [esp + 0x548]
mov eax, dword [edx - 8]
dec eax
push eax
call sub.MFC42.DLL_CString::Delete
mov edi, dword [esp + 0x544]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebp
mov word [esp + 0x28], 0x14
mov dword [esp + 0x2e], ebp
mov dword [esp + 0x32], ebp
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
lea ecx, [esp + 0x544]
mov esi, eax
mov dword [esp + 0x53c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x534]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x530
ret
Function at 0x416c90
Capabilities:
Access peb ldr_data
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41ec08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa20
push ebx
push esi
push edi
mov dx, word [0x42a43c]
mov ecx, 0x13f
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], dx
mov word [esp + 0x52c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x13f
xor eax, eax
lea edi, [esp + 0x52e]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0xa3c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0xa34], ebx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x52c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0xa40]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x52c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov word [esp + 0x20], 0x414
mov dword [esp + 0x26], ebx
mov dword [esp + 0x2a], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
lea ecx, [esp + 0xa3c]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xa40]
mov dword [esp + 0xa34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xa2c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa2c
ret
Function at 0x4171d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41ed07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x18], edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x34]
mov byte [esp + 0x24], 3
mov ebp, dword [eax - 8]
cmp ebp, edi
jle 0x41725d
mov ecx, dword [esp + 0x34]
mov dl, byte [edi + ecx]
lea ecx, [esp + 0x30]
mov byte [esp + 0x10], dl
mov esi, dword [esp + 0x10]
push esi
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x417258
push 1
push esi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, ebp
jl 0x417212
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0041b7f4
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4172c0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x41ed48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], 0
cmp dword [eax - 8], 0xfa
jle 0x417317
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041b7f4
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x429044
push eax
call edi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x417390
lea eax, [esp + 0x10]
push 0x429044
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.0041b82a
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
or esi, 0xffffffff
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov bl, 3
push edx
push eax
mov byte [esp + 0x30], bl
call edi
add esp, 8
test eax, eax
je 0x417459
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
inc esi
lea ecx, [esp + 0x10]
push esi
push 0x429044
call sub.MFC42.DLL_CString::Find_3
mov esi, eax
lea ecx, [esp + 0x18]
push esi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 4
call fcn.0041b82a
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0041b7f4
call fcn.00417040
add esp, 4
test eax, eax
jne 0x417425
push eax
mov eax, dword [esp + 0x18]
push eax
call ebp
test eax, eax
je 0x41749e
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0041b7f4
call fcn.00417040
add esp, 4
test eax, eax
jne 0x417459
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4173bf
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x4175a0
Capabilities:
Access peb ldr_data
Get disk size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41ed88
push eax
mov dword fs:[0], esp
sub esp, 0x18
lea eax, [esp]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
cmp eax, 1
jne 0x417607
push esi
mov esi, dword [esp + 4]
push edi
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edx, edi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.error_occurred__u_n
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
or eax, 0xffffffff
or edx, 0xffffffff
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x417f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41ee8b
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], 0x424488
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x417fc0
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 0x417f87
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 0x417fb1
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x417fc6
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x417fc6
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x42423c
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x423dc4
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 0x41ad00
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41f1e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x524
push ebx
push ebp
push esi
push edi
mov ax, word [0x42a43c]
mov ecx, 0x13f
mov word [esp + 0x34], ax
xor eax, eax
lea edi, [esp + 0x36]
push 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
xor ebp, ebp
push ecx
lea ecx, [esp + 0x54c]
mov dword [esp + 0x544], ebp
stosw word es:[edi], ax
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x429044
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41ad92
mov edx, dword [esp + 0x544]
push 1
lea ecx, [esp + 0x548]
mov eax, dword [edx - 8]
dec eax
push eax
call sub.MFC42.DLL_CString::Delete
mov edi, dword [esp + 0x544]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebp
mov word [esp + 0x28], 0x414
mov dword [esp + 0x2e], ebp
mov dword [esp + 0x32], ebp
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
lea ecx, [esp + 0x544]
mov esi, eax
mov dword [esp + 0x53c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x534]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x530
ret 4
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x6beb1847
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x78782a4b
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret