joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463bc4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00424c78
cmp ebx, dword [ebp - 8]
jge 0x463c27
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004250a8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004250a8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004250d4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x463bed
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47c87c
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebp, dword [esp + 0x14]
call sub.kernel32.dll_GetCurrentProcessId
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
xor edi, edi
mov ebx, dword [esp + 0xc]
shr ebx, 0x10
mov eax, ebx
shl eax, 0x10
mov ebx, eax
mov eax, edi
shl eax, 0x10
sub ebx, eax
mov eax, ebx
xor edx, edx
div ebp
imul ebp
mov ebx, eax
push 4
push 0x3000
push ebp
push ebx
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
test esi, esi
je 0x47c8fa
cmp esi, ebx
je 0x47c8fa
push 0x8000
push 0
push esi
call sub.kernel32.dll_VirtualFree_1
inc edi
jmp 0x47c972
test esi, esi
jne 0x47c97b
push 0x1c
lea eax, [esp + 0x38]
push eax
push ebx
call sub.kernel32.dll_VirtualQuery_1
cmp dword [esp + 0x40], 0x118
jb 0x47c96f
mov eax, dword [esp + 0x48]
and eax, 4
cmp eax, 4
jne 0x47c96f
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
cmp edx, dword [ebx + 4]
jne 0x47c96f
cmp eax, dword [ebx]
jne 0x47c96f
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
cmp edx, dword [ebx + 0x114]
jne 0x47c96f
cmp eax, dword [ebx + 0x110]
jne 0x47c96f
lea eax, [ebx + 8]
mov edx, dword [esp]
movzx ecx, byte [eax]
inc ecx
call fcn.00403188
je 0x47c97b
inc edi
xor ebx, ebx
cmp edi, 0x14
jle 0x47c8b3
xor eax, eax
test esi, esi
je 0x47c9e1
cmp esi, ebx
jne 0x47c9fd
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea eax, [ebx + 8]
mov edx, dword [esp]
call fcn.004030dc
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], edx
mov dword [ebx + 0x108], 1
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov dword [edx], 1
jmp 0x47c9fd
test ebx, ebx
je 0x47c9fd
inc dword [ebx + 0x108]
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov ecx, dword [ebx + 0x108]
mov dword [edx], ecx
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47e328
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
push 0x47e3a4
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x47e395
xor edx, edx
push ebp
push 0x47e38e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x47e3b4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
je 0x47e371
push ebx
call eax
mov byte [ebp - 1], 1
jmp 0x47e377
push ebx
call sub.kernel32.dll_GetSystemInfo
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e39b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
push ebx
call sub.kernel32.dll_GetSystemInfo
movzx eax, byte [ebp - 1]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47e3ec
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47e5ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.004031f8
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4963b8], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4963bc], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4963c0], eax
mov eax, dword [0x49717c]
cmp dword [eax], 2
sete byte [0x495ee8]
push 0x47e5b8
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0047ea44
cmp byte [0x495ee8], 0
jne 0x47e478
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0047ea74
test al, al
je 0x47e478
mov eax, dword [ebp - 0x4c]
mov dword [0x49bb94], eax
jmp 0x47e47f
xor eax, eax
mov dword [0x49bb94], eax
call fcn.0047e12c
and eax, 0x7f
cmp eax, 0x10
ja case.0x47e490.0
jmp dword [eax*4 + 0x47e497]
mov byte [0x495ed4], 1
jmp case.0x47e490.0
mov byte [0x495ed8], 1
jmp case.0x47e490.0
mov byte [0x495edc], 1
jmp case.0x47e490.0
mov byte [0x495ee0], 1
jmp case.0x47e490.0
mov byte [0x495ee4], 1
jmp case.0x47e490.0
mov byte [0x495eec], 1
mov byte [0x495ef0], 1
jmp case.0x47e490.0
mov byte [0x495eec], 1
mov byte [0x495ef4], 1
jmp case.0x47e490.0
mov byte [0x495eec], 1
mov byte [0x495ef4], 1
mov byte [0x495ef8], 1
jmp case.0x47e490.0
mov byte [0x495efc], 1
jmp case.0x47e490.0
mov byte [0x495f00], 1
jmp case.0x47e490.0
mov byte [0x495f04], 1
jmp case.0x47e490.0
mov byte [0x495f08], 1
jmp case.0x47e490.0
mov byte [0x495f0c], 1
jmp case.0x47e490.0
mov byte [0x495f10], 1
jmp case.0x47e490.0
mov byte [0x495f14], 1
jmp case.0x47e490.0
mov byte [0x495f18], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e5b3
lea eax, [ebp - 4]
call fcn.00404728
ret
Function at 0x47ea74
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x47eb1b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00404bec
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x47eb05
lea eax, [ebp - 4]
mov edx, edi
call fcn.00404e74
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.00404bec
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47eb05
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x47eb2c
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47eb05
cmp dword [ebp - 0xc], 0x34
jne 0x47eb05
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47eb22
lea eax, [ebp - 4]
call fcn.00404728
ret

Function at 0x47f2a4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0047f260
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47f318
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x49bbb8], eax
mov ebx, 0x47f1ec
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x47f318
xor eax, eax
push ebp
push 0x47f311
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f318
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47f320
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0047f260
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47f38b
mov ebx, dword [0x49bbb8]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x47f38b
xor eax, eax
push ebp
push 0x47f384
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f38b
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4914f4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffc00
mov ebx, eax
push esp
push 0x3ff
call sub.kernel32.dll_GetTempPathA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404818
add esp, 0x400
pop ebx
ret

Function at 0x4915a8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x491627
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, 0x491640
call fcn.004912b8
cmp dword [ebp - 4], 0
setne bl
test bl, bl
jne 0x491611
push 0
movzx ecx, word [0x491644]
xor edx, edx
mov eax, 0x491650
call fcn.00433da8
cmp eax, 6
jne 0x491611
push 1
push 0
push 0x4916fc
push 0x491700
push 0x491724
mov eax, esi
call fcn.00449b1c
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49162e
lea eax, [ebp - 4]
call fcn.00404728
ret
Function at 0x2e0140e6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e0306ad
call fcn.2e001553
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
push ebx
push ebx
push 6
mov dword [ebp - 4], ebx
call fcn.2e017f55
add esp, 0xc
test al, al
je 0x2e0141a8
lea eax, [ebp - 0x10]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e0141a8
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01419f
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.2e017f55
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
push ebx
push ebx
push str.progid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014192
push esi
mov byte [ebp - 4], 2
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.2e010e73
push 1
push esi
mov byte [ebp - 4], bl
call fcn.2e017f55
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.2e00159d
ret

Function at 0x2e014c09
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030723
call fcn.2e02e506
mov esi, dword [ebp + 8]
xor bl, bl
cmp dword [ecx + 0x10], 0
mov edi, dword [ebp + 0xc]
jbe 0x2e014cf9
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.2e014b12
push esi
mov dword [ebp - 4], 1
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.2e010dd2
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014cea
lea eax, [ebp - 0x30]
push eax
push 0
push 0x2e033925
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014ce1
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e017f55
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
push esi
push 0
push 0
push 0x2e033925
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014cd3
push esi
mov byte [ebp - 4], 3
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.2e010e73
inc bl
push 1
push esi
mov byte [ebp - 4], 0
call fcn.2e017f55
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.2e017f55
mov al, bl
call fcn.2e02e4e4
ret 8
Function at 0x2e014d3b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e030750
call fcn.2e001553
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014d75
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014dea
lea eax, [ebp - 0x14]
mov edi, 0x2e033925
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014de1
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014de1
inc eax
push eax
call fcn.2e017f55
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014dd3
push esi
mov byte [ebp - 4], 1
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push esi
mov byte [ebp - 4], bl
call fcn.2e010e73
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e017f55
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e00159d
ret 8
Function at 0x2e01e38c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x2e030a2c
call fcn.2e02e506
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e01e449
lea eax, [ebp - 0x30]
mov ebx, str.progid
push eax
push edi
push edi
push edi
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01e440
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.2e017f55
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], edi
push eax
push esi
push edi
push edi
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x2e01e433
push esi
lea ecx, [ebp - 0x28]
call fcn.2e00d957
push str.IE.HTTP
lea ecx, [ebp - 0x28]
call fcn.2e017f55
test al, al
jne 0x2e01e428
push edi
push str.AppX
lea ecx, [ebp - 0x28]
call fcn.2e017f55
test eax, eax
cmove edi, ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.2e017f55
or dword [ebp - 4], 0xffffffff
push ebx
push esi
call fcn.2e017f55
pop ecx
pop ecx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, di
call fcn.2e02e4e4
ret
Function at 0x403130
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4630b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x107]
push 0x103
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00434f70
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x449a14
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004344b4
mov esp, ebp
pop ebp
ret

Function at 0x4033e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4033f9
test al, 1
jne 0x4033f9
xor eax, eax
pop ebp
ret
mov eax, 1
pop ebp
ret

Function at 0x4035b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x4630b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x107]
push edi
mov edi, dword [ebp + 0xc]
push 0x103
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00434f70
push 0x207
lea eax, [ebp - 0x30f]
mov byte [ebp - 0x310], 0
push 0
push eax
call fcn.00434f70
push edi
lea eax, [ebp - 0x108]
push str._select____s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
lea eax, [ebp - 0x108]
push 1
push 0
push eax
push str.explorer
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jae 0x403660
push edi
lea eax, [ebp - 0x310]
push str.Explorer_could_not_open__s_
push eax
call fcn.004351f9
add esp, 0xc
lea eax, [ebp - 0x310]
push 0x10
push str.PE_Tools_v1.9.762.2018_build
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004344b4
mov esp, ebp
pop ebp
ret

Function at 0x403740
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403775
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push 0
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4037a5
cmp dword [ebp - 4], edi
jne 0x4037a5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406480
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4630b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x18]
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x84]
push eax
push 0
push 0
push 0x1042
push dword [0x464d98]
mov byte [ebp - 0x18], 0
movdqu xmmword [ebp - 0x17], xmm0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x6c], 0x14
call esi
push eax
push 0x102d
push dword [0x464d98]
call esi
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x18]
push 0x449a50
push eax
call fcn.00435299
add esp, 0xc
mov dword [ebp - 0x7c], 5
lea eax, [ebp - 0x18]
mov dword [ebp - 0x6c], 0x14
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x84]
push eax
push 0
push 0
push 0x1042
push dword [0x464d98]
call esi
push eax
push 0x102d
push dword [0x464d98]
call esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x18]
push 0x449a50
push eax
call fcn.00435299
add esp, 0xc
cmp dword [ebp - 0x44], 0
je 0x4065df
cmp dword [ebp - 0x48], 0
je 0x4065df
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
mov ecx, 0x465a18
mov dword [ebp - 0x40], 0x148
movdqu xmmword [ebp - 0x3c], xmm0
movdqu xmmword [ebp - 0x2c], xmm0
call fcn.00423850
push 0
push dword [0x465a38]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [0x465a30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x28], edi
add eax, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.HEdit.dll_HESetInternalOptions]
call dword [sym.imp.HEdit.dll_HEShowWindow]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004344b4
mov esp, ebp
pop ebp
ret
push 0x10
push str.PE_Tools_v1.9.762.2018_build
push str.Invalid_pointer_
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004344b4
mov esp, ebp
pop ebp
ret

Function at 0x406610
Capabilities:
Get file size

Disassembly:
push 0
push dword [ecx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
ret
Function at 0x4070c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4630b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x464d98]
test eax, eax
je 0x4071c0
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xorps xmm0, xmm0
push esi
push edi
push 0
push 0
push 0x1004
push eax
mov byte [ebp - 0x18], 0
movdqu xmmword [ebp - 0x17], xmm0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
call ebx
mov ebx, dword [ebp - 0x1c]
mov edi, eax
xor esi, esi
push 0
push dword [esi + 0x44a5b8]
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 8
cmp esi, 0x20
jb 0x407115
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
jle 0x4071af
lea eax, [ebp - 0x18]
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x40], 0x14
push 0x102d
push dword [0x464d98]
call ebx
xor esi, esi
jmp 0x407170
mov eax, dword [esi*8 + 0x44a514]
lea ecx, [ebp - 0x18]
lea ebx, [ebx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4071a0
test dl, dl
je 0x40719c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4071a0
add ecx, 2
add eax, 2
test dl, dl
jne 0x407180
xor eax, eax
jmp 0x4071a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4071ce
inc esi
cmp esi, 0x11
jb 0x407170
push 5
push dword [0x464d9c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004344b4
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi*8 + 0x44a510]
test ecx, ecx
je 0x4071af
xor eax, eax
jmp 0x4071e0
cmp dword [eax*8 + 0x44a5bc], ecx
je 0x4071f1
inc eax
cmp eax, 4
jb 0x4071e0
jmp 0x4071af
push 5
push dword [eax*8 + 0x44a5b8]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
jmp 0x4071b7
Function at 0x407800
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4630b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x465a24], 0
xorps xmm0, xmm0
mov eax, dword [0x465a20]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0
movdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 8], 0
movdqu xmmword [ebp - 0x18], xmm0
je 0x40786a
push dword [eax + edi*8 + 0x88]
mov ecx, 0x465a18
push dword [0x465a1c]
push eax
call fcn.00423c70
mov esi, eax
mov eax, dword [0x465a20]
mov ecx, dword [eax + edi*8 + 0x8c]
jmp 0x407888
push dword [eax + edi*8 + 0x78]
push dword [0x465a1c]
push eax
call fcn.00423cb0
mov esi, eax
add esp, 0xc
mov eax, dword [0x465a20]
mov ecx, dword [eax + edi*8 + 0x7c]
mov dword [ebp - 0x30], ecx
cmp edi, 4
jne 0x4078a7
cmp dword [0x465a24], 0
je 0x4078a1
mov esi, dword [eax + 0xa8]
jmp 0x4078a7
mov esi, dword [eax + 0x98]
test esi, esi
jne 0x4078cf
push 0x10
push str.PE_Tools_v1.9.762.2018_build
push str.Entry_not_present_
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004344b4
mov esp, ebp
pop ebp
ret
push 0
push dword [0x465a38]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
cmp esi, ecx
jbe 0x407907
push 0x10
push str.PE_Tools_v1.9.762.2018_build
push str.Invalid_entry_
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004344b4
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x30]
xor edx, edx
mov dword [ebp - 0x2c], 0x148
lea eax, [edi + esi]
cmp eax, ecx
mov ecx, 0x465a18
cmova edi, edx
call fcn.00423850
push 0
push dword [0x465a38]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov eax, dword [0x465a30]
mov dword [ebp - 0x10], eax
lea eax, [esi - 1]
add eax, edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], esi
call dword [sym.imp.HEdit.dll_HESetInternalOptions]
call dword [sym.imp.HEdit.dll_HEShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004344b4
mov esp, ebp
pop ebp
ret