joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a47a
Capabilities:
Check os version
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x565fa8]
mov bl, byte [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
xor eax, ebp
test bl, bl
mov dword [ebp - 0x10], eax
je 0x49a4c0
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
cmp eax, 6
jb 0x49a4c0
lea edi, [ebp - 0x1c]
mov dword [edi], 0xc
mov dword [edi + 4], 0x525a2c
mov dword [edi + 8], 1
movzx eax, bl
shl eax, 0x13
or eax, 3
cmp byte [esi + 0xb], 0
jns 0x49a4d1
mov esi, dword [esi]
mov ecx, 0x200
push edi
push 0
push ecx
push ecx
push 2
push 6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
xor ecx, ebp
call fcn.004e6891
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x49a500
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xac
mov eax, dword [0x565fa8]
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x49a5b5
and eax, 0xfeff
cmp eax, 6
je 0x49a5b5
mov ecx, dword [0x569ccc]
mov edx, dword fs:[0x2c]
mov eax, dword [0x56b3c4]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x49a5d4
push 0x10000000
push 0
push esi
call dword [0x56b3c0]
mov bl, 1
test eax, eax
jne 0x49a5be
push 2
call fcn.004278b0
add esp, 4
test al, al
je 0x49a5b1
call fcn.00427e80
lea esi, [ebp - 0xb4]
mov ecx, esi
push eax
push 2
push 0x21
push str..._.._third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
call fcn.00428040
lea eax, [ebp - 0xac]
push 0x1b
push str.InitializeCriticalSectionEx
push eax
call fcn.00401965
add esp, 0xc
mov ecx, esi
call fcn.00428100
xor ebx, ebx
jmp 0x49a5be
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov bl, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0xac
pop esi
pop ebx
pop ebp
ret
push 0x56b3c4
call fcn.004e68d7
add esp, 4
cmp dword [0x56b3c4], 0xffffffff
jne 0x49a556
push 1
push str.::InitializeCriticalSectionEx
push 0x517c52
call fcn.0049a728
add esp, 0xc
mov dword [0x56b3c0], eax
push 0x56b3c4
call fcn.004e694d
add esp, 4
jmp 0x49a556
Function at 0x49d674
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0xac
mov esi, dword [0x565fa8]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edi, 0x7fffffff
xor esi, ebp
cmp edx, edi
mov dword [ebp - 0xc], esi
lea esi, [ebp - 0x10]
cmovb edi, edx
push 0
push esi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x49d6f8
xor eax, eax
dec eax
cmp dword [ebp - 0x10], eax
mov dword [ebp - 0xb4], eax
jne 0x49d6f3
lea eax, [ebp - 0xb4]
push str.bytes_written___static_cast_DWORD___1_
push eax
push esi
call fcn.00426d00
add esp, 0xc
test eax, eax
je 0x49d6f3
lea esi, [ebp - 0xb4]
mov ecx, esi
push eax
push 0x64
push str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
call fcn.00427d80
mov ecx, esi
call fcn.00426f60
mov esi, dword [ebp - 0x10]
jmp 0x49d6fb
xor esi, esi
dec esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004e6891
mov eax, esi
add esp, 0xac
pop esi
pop edi
pop ebp
ret

Function at 0x49d711
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xac
mov ecx, dword [0x565fa8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, 0x7fffffff
xor ecx, ebp
cmp eax, edi
cmovb edi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
push 0
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49d7a9
mov ebx, dword [ebp - 0x14]
xor eax, eax
dec eax
mov dword [ebp - 0xb8], eax
cmp ebx, eax
jne 0x49d792
push str.bytes_read___static_cast_DWORD___1_
lea ebx, [ebp - 0xb8]
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00426d00
add esp, 0xc
test eax, eax
je 0x49d78f
mov ecx, ebx
push eax
push 0x7d
push str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
call fcn.00427d80
mov ecx, ebx
call fcn.00426f60
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x49d7be
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x49d7bb
push 0
lea eax, [ebp - 0x14]
jmp 0x49d73d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x49d7be
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x49d77c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xac
mov ecx, dword [0x565fa8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, 0x7fffffff
xor ecx, ebp
cmp eax, edi
cmovb edi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
push 0
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49d7a9
mov ebx, dword [ebp - 0x14]
xor eax, eax
dec eax
mov dword [ebp - 0xb8], eax
cmp ebx, eax
jne 0x49d792
push str.bytes_read___static_cast_DWORD___1_
lea ebx, [ebp - 0xb8]
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00426d00
add esp, 0xc
test eax, eax
je 0x49d78f
mov ecx, ebx
push eax
push 0x7d
push str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
call fcn.00427d80
mov ecx, ebx
call fcn.00426f60
mov ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x49d7be
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x49d7bb
push 0
lea eax, [ebp - 0x14]
jmp 0x49d73d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x49d7be
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x49dd6a
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xac
mov eax, dword [0x565fa8]
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, ebp
mov dword [ebp - 0xc], eax
push ebx
push ebx
push ebx
push esi
call fcn.0049dc81
add esp, 0x10
or edx, eax
jne 0x49dded
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov bl, 1
test eax, eax
jne 0x49dded
push 2
call fcn.004278b0
add esp, 4
test al, al
je 0x49ddeb
call fcn.00427e80
lea esi, [ebp - 0xb4]
mov ecx, esi
push eax
push 2
push 0xf3
push str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
call fcn.00428040
lea eax, [ebp - 0xac]
push 0xc
push 0x52651e
push eax
call fcn.00401965
add esp, 0xc
mov ecx, esi
call fcn.00428100
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0xac
pop esi
pop ebx
pop ebp
ret

Function at 0x4a662c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0xac
mov eax, dword [0x565fa8]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
push eax
push eax
push ecx
push 0x4a66c0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 4], eax
jne 0x4a66a4
call fcn.00427e80
lea esi, [ebp - 0xb0]
mov ecx, esi
push eax
push 3
push 0x19
push str..._.._third_party_crashpad_crashpad_util_thread_thread_win.cc
call fcn.00428040
lea eax, [ebp - 0xa8]
push 0x20
push str.Check_failed:_platform_thread_.
push eax
call fcn.00401965
add esp, 0xc
push 0xc
push 0x522eca
push eax
call fcn.00401965
add esp, 0xc
mov ecx, esi
call fcn.00428100
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e6891
add esp, 0xac
pop esi
pop ebp
ret
Function at 0x4a8dfa
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [0x565fa8]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x2c]
mov esi, 5
xor ecx, ebp
cmp eax, 3
mov dword [ebp - 0x10], ecx
mov dword [edx], 0xffffffff
jne 0x4a8e92
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
cmp byte [edi + 0xb], 0
jns 0x4a8e3e
mov edi, dword [edi]
mov ebx, dword [ebx]
push 0
push esi
push edx
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
je 0x4a8e7f
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
lea ecx, [ebp - 0x14]
push 3
push edi
push edi
push ecx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
lea eax, [ebp - 0x14]
sbb edi, edi
or edi, dword [eax]
jmp 0x4a8e82
xor edi, edi
dec edi
mov eax, dword [ebp + 0x2c]
mov dword [eax], edi
xor eax, eax
cmp edi, 0xffffffff
sete al
lea esi, [eax + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4a91bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov ecx, dword [ebp + 8]
mov eax, dword [0x565fa8]
mov edi, 5
add ecx, 0xfffffffb
xor eax, ebp
cmp ecx, 1
mov dword [ebp - 0x10], eax
ja 0x4a9304
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x54], 0x44
cmp byte [eax + 0xb], bl
jns 0x4a9229
mov eax, dword [eax]
mov esi, dword [ebp + 0x10]
push eax
call fcn.004fb9c4
add esp, 4
movzx ecx, byte [edi + 0xb]
test cl, cl
jns 0x4a9242
mov ecx, dword [edi + 4]
mov edi, dword [edi]
test ecx, ecx
mov edx, dword [ebp + 0x1c]
cmove edi, ecx
mov ecx, dword [ebp + 0xc]
cmp byte [esi + 0xb], bl
jns 0x4a9254
mov esi, dword [esi]
mov ecx, dword [ecx]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x54]
push edx
push ecx
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x58], eax
push eax
push esi
mov esi, edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, 5
test eax, eax
je 0x4a92f4
mov eax, dword [ebp + 8]
mov ebx, 0x101c01
cmp eax, 6
mov eax, 0x1fffff
cmove ebx, eax
mov eax, dword [esi]
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push ebx
push esi
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebx, dword [esi + 4]
test eax, eax
je 0x4a92ed
mov eax, esi
mov esi, 0x100c43
mov ecx, 0x1fffff
add eax, 4
cmp dword [ebp + 8], 6
mov edi, eax
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push esi
push edi
push dword [ebp - 0x5c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea edi, [ecx + ecx*4]
jmp 0x4a92f4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4a9304
push eax
call fcn.004385d0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, edi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4a9318
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov edi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x10], ebx
mov dword [ebx], ecx
xor ebx, ebx
push edi
mov edi, eax
push esi
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x4a9389
mov edi, dword [edi]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
push ebx
push ebx
push dword [ebp - 0x10]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [ecx + ecx*4]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x4ab51a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov edx, dword [0x565fa8]
mov al, byte [ebp + 8]
mov ebx, ecx
xor edx, ebp
test al, al
mov dword [ebp - 0x10], edx
je 0x4ab56d
xor esi, esi
mov edi, 0x5276fc
mov ecx, ebx
inc esi
push 0
push 0x4bcc60
push esi
push str.NtMapViewOfSection
push edi
call fcn.004ab09c
mov ecx, ebx
push esi
push 0x4bce40
push esi
push str.NtUnmapViewOfSection
push edi
call fcn.004ab09c
jmp 0x4ab577
cmp dword [ebx + 0xc], 0
je 0x4ab6ba
mov eax, dword [ebx]
mov edi, dword [eax]
push 1
push 0x2000
push 0x10000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0xc0], eax
shl esi, 6
lea eax, [esi + 0x50]
mov dword [ebp - 0xc4], eax
push eax
call fcn.004aaf24
add esp, 4
mov dword [ebp - 0xc8], ebx
mov ebx, eax
mov eax, 0xfffff000
add esi, 0x104f
mov ecx, ebx
and ebx, 0xfff
and esi, eax
and ecx, eax
add ecx, dword [ebp - 0xc0]
push 0x40
push 0x1000
push esi
push ecx
mov dword [ebp - 0xc0], edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test eax, eax
jne 0x4ab612
lea esi, [ebp - 0xb4]
mov ecx, esi
push str.thunk_base
push 0x188
push str..._.._sandbox_win_src_interception.cc
call fcn.00426e70
mov ecx, esi
call fcn.00426f60
add edi, ebx
mov ebx, dword [ebp - 0xc4]
lea esi, [ebp - 0xb4]
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 4], 0x10
push 0xa8
push eax
push 0x56b6d0
call fcn.004ead00
add esp, 0xc
mov ecx, dword [ebp - 0xc8]
push esi
push ebx
push edi
call fcn.004ab8ce
mov ebx, eax
test eax, eax
jne 0x4ab6bc
lea eax, [ebp - 0xb8]
push eax
push 0x10
push esi
push edi
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
mov ebx, 0x2a
je 0x4ab6bc
cmp dword [ebp - 0xb8], 0x10
jne 0x4ab6bc
lea eax, [ebp - 0xbc]
push eax
push 0x20
push dword [ebp - 0xc4]
push edi
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
push 0xa8
push 0x56b6d0
push str.g_originals
call fcn.0049406e
mov ebx, eax
jmp 0x4ab6bc
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x4af2b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xcc
mov eax, dword [0x565fa8]
lea esi, [ebp - 0x30]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esi + 0x14], 0x100
jb 0x4af31c
push 1
call fcn.004278b0
add esp, 4
test al, al
je 0x4af31c
lea esi, [ebp - 0xd4]
mov ecx, esi
push 1
push 0xb0
push str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
call fcn.00427940
lea eax, [ebp - 0xd0]
push 0x2c
push str.dwNumberOfProcessors_exceeds_uint8_t_storage
push eax
call fcn.00401965
add esp, 0xc
mov ecx, esi
call fcn.00426f60
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov ebx, 0xff
cmp eax, 0x100
cmovb ebx, eax
xor ecx, ebp
call fcn.004e6891
mov eax, ebx
add esp, 0xcc
pop esi
pop ebx
pop ebp
ret
Function at 0x4f7c74
Capabilities:
Encode data using xor

Disassembly:
inc esi
jnp 0x4f7c6d
xor byte [ecx - 0x2186d6c4], bl
sbb ah, byte [edx - 0x6b387b61]
xor ebx, ebp
dec eax
push ds
adc bl, byte [ecx + 0x514fa511]
adc byte [ebp + 0x12330105], al
enter 0xffffffffffff873a, 0x29
and esp, ebp
sub eax, 0xed24e1f4
and al, 0xed
xor al, 0x8c
inc ecx
push 0x53fe6060
pop ecx
insb byte es:[edi], dx
test dword [edx + 0x61f5bfff], esp
fcmovbe st(0), st(6)
mov word [ecx + 0x68], es
pushal
pushal
invalid
salc
inc ecx
jns 0x4f7c55
loope 0x4f7c2b
mov ebp, 0xbd6e46af
in eax, 0x20
scasd eax, dword es:[edi]
inc esi
outsb dx, byte [esi]
mov ebp, 0xfc3220e5
xor bh, ah
xor bh, ah
pop eax
je 0x4f7cb0
mov al, byte [0xafa9d629]
dec edi
push ds
xchg esp, eax
mov dl, 0x4b
sal byte [ecx - 0x1d433026], cl
inc edx
das
jb 0x4f7cba
cmp dl, byte [ecx + 0x1e]
cmp edx, ecx
xor eax, 0xb4fb3d14
ja 0x4f7c58
mov cl, 0x34
jbe 0x4f7c50
popfd
xchg dword [ecx - 0x1a07cbfe], ebp
ljmp 0x7502
jge 0x4f7cbd
in al, 0x9b
loop 0x4f7c68
ror byte [esi], cl
scasb al, byte es:[edi]
sahf
nop
cmp ebx, dword [edi - 0x67]
cdq
cmp edx, esp
xchg ebx, eax
mov dh, 0xed
inc edx
inc edx
and bh, byte [ebp - 0x62]
mov gs, eax
aad 0xd
leave
out 0x25, al
mov ebx, 0xf4a80a82
sbb edx, dword [esi + 0x36bc6951]
js 0x4f7d00
inc edi
or dword [ebx - 0x13], esp
sub al, 0x58
or eax, 0x216fa410
xor al, 0xcb
invalid
mov fs, word [edx + 0x32]
cdq
movsb byte es:[edi], byte [esi]
int1
push edi
mov edx, 0x3d71c2cf
bound edx, qword [eax + 0x64]
pop ebp
in al, 0xbe
sbb esi, dword [edi + 0xf]
inc esi
pop esi
or dh, 0x98
or dword [edi + 0x12477fe9], edx
xchg edi, eax
invalid
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x559706f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4ee31309
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401fc0
Capabilities:
Get session user name

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41d68d
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x534
test eax, eax
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0xa
mov esi, str.Upgrade_using_the_same_paths_as_before.
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
jne 0x402016
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x40220e
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [ebx + 0x5c], 0
jmp 0x40220e
mov eax, dword [ebx + 0x5c]
test eax, eax
jne 0x40220e
push 0x58
call fcn.00418a62
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x548], 0
je 0x402047
mov ecx, eax
call fcn.00414806
jmp 0x402049
xor eax, eax
push 0
push ebx
mov ecx, eax
mov dword [esp + 0x550], 0xffffffff
mov dword [ebx + 0x5c], eax
call fcn.0041485b
test eax, eax
je 0x40220e
mov ecx, dword [ebx + 0x5c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x64
push 1
mov edx, dword [ecx + 0x1c]
push 0x403
push edx
call esi
mov eax, dword [ebx + 0x5c]
push 0x64
push 3
push 0x403
mov ecx, dword [eax + 0x1c]
push ecx
call esi
mov edx, dword [ebx + 0x5c]
push 0x7530
push 2
push 0x403
mov eax, dword [edx + 0x1c]
push eax
call esi
mov ecx, dword [ebx + 0x5c]
push 0x12c
push 0
push 0x418
mov edx, dword [ecx + 0x1c]
push edx
call esi
push 0x424590
lea eax, [esp + 0x144]
push str.Because_the_path_is_short_and_global_it_is_easier_to_maintain_your_data_such_as_message_files_and_email_address_list_files._This_is_good_if_you_only_plan_to_run_one_instance_of__s_on_this_computer.
push eax
call fcn.00406ba7
add esp, 0xc
lea ecx, [esp + 0x140]
push 0
push 0
push ecx
push 0x3e9
mov ecx, 0x428f20
call fcn.00418300
mov ecx, dword [ebx + 0x5c]
push eax
call fcn.00414a26
test eax, eax
je 0x40220e
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x14], 0x105
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x140]
push ecx
push 0x424590
push str._s_will_be_available_for_this_Username__s__only.
push edx
call fcn.00406ba7
add esp, 0x10
lea eax, [esp + 0x140]
mov ecx, 0x428f20
push 0
push 0
push eax
push 0x3ea
call fcn.00418300
mov ecx, dword [ebx + 0x5c]
push eax
call fcn.00414a26
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3c]
push ecx
push 0x26
call fcn.00404750
push 0x424100
push 0x4245a4
push 0x4240f4
lea edx, [esp + 0x50]
push 0x4245a4
push edx
push 0x424590
lea eax, [esp + 0x160]
push str._s_will_be_installed_here__s_s_s_s_s_
push eax
call fcn.00406ba7
add esp, 0x28
lea ecx, [esp + 0x140]
push 0
push 0
push ecx
push 0x3eb
mov ecx, 0x428f20
call fcn.00418300
mov ecx, dword [ebx + 0x5c]
push eax
call fcn.00414a26
push 0
lea edx, [esp + 0x18]
push 0
push edx
push 0x3ee
mov ecx, 0x428f20
call fcn.00418300
mov ecx, dword [ebx + 0x5c]
push eax
call fcn.00414a26
mov eax, dword [ebx + 0x5c]
push 0
push 1
push 0x401
mov ecx, dword [eax + 0x1c]
push ecx
call esi
mov ecx, dword [esp + 0x540]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x540
ret 4
Function at 0x403370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x204
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
call fcn.0041b4b6
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x218]
and eax, 0xffff
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x403443
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x403443
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jbe 0x403443
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x403443
mov ecx, dword [esp + 0x21c]
push 0x180
push 0x8302
push ecx
call fcn.004072e6
mov edi, eax
add esp, 0xc
test edi, edi
jl 0x403443
push esi
push ebx
push edi
call fcn.004070f6
add esp, 0xc
cmp eax, esi
je 0x403435
mov edx, dword [esp + 0x21c]
lea eax, [esp + 0x14]
push edx
push 0x425140
push eax
call fcn.00406ba7
add esp, 0xc
lea ecx, [esp + 0x14]
push 0x10
push 0x424590
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00417275
jmp 0x40343a
mov ebp, 1
push edi
call fcn.00407016
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x204
ret 8

Function at 0x403460
Capabilities:
Copy file

Disassembly:
push esi
push 0x428fe8
mov esi, ecx
push 0x3f2
call fcn.00418394
mov al, byte [0x4290f0]
test al, al
jne 0x4034d1
push str.RCDATA
push 0x3f1
mov ecx, esi
call fcn.00418394
mov eax, dword [esp + 8]
push 0x428fe8
push eax
mov ecx, esi
call fcn.00403370
test eax, eax
jne 0x403581
cmp dword [esp + 0xc], 1
jne 0x40357b
push 0x428fe8
push 0x428fe8
push str.Copying_to:_n_s_nThe_file_could_not_be_copied._n_no_Is__s_in_use__no_Is_your_disk_full__n
push 0x4291f8
call fcn.00406ba7
add esp, 0x10
jmp 0x403568
push 0x4290f0
push 0x3f1
mov ecx, esi
call fcn.00418394
push 0
push 0x4290f0
call fcn.004146d2
add esp, 8
test eax, eax
je 0x40350e
push 0x4290f0
push str.Source_File:_n_s_nis_missing_
push 0x4291f8
call fcn.00406ba7
add esp, 0xc
jmp 0x403568
push 0x180
push 0x428fe8
call fcn.00406b68
push 0x428fe8
call fcn.00406b3e
add esp, 0xc
push 0
push 0x428fe8
push 0x4290f0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x403581
cmp dword [esp + 0xc], 1
jne 0x40357b
push 0x428fe8
push 0x428fe8
push 0x4290f0
push str.Copying_from:_n_s_nCopying_to:_n_s_nThe_file_could_not_be_copied._n_no_Is__s_in_use__no_Is_your_disk_full__no_You_may_have_specified_an_invalid_destination._n
push 0x4291f8
call fcn.00406ba7
add esp, 0x14
push 0x10
push 0x4245d4
push 0x4291f8
mov ecx, esi
call fcn.00417275
xor eax, eax
pop esi
ret 8
mov eax, 1
pop esi
ret 8