joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ae0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46f44c], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x402b9a
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x46f448], eax
inc ebx
cmp ebx, 0x100
jb 0x402b00
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x402bc6
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x46f448]
sub edi, 1
jne 0x402ba5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x402bf8
nop dword [eax]
cmp cl, 0x23
jne 0x402bdf
cmp byte [esi], cl
jne 0x402bdf
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x46f448]
test cl, cl
jne 0x402bd0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x402d40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x402d52
mov dword [edi], 0
mov edx, 0x43d518
call fcn.00402c00
mov esi, eax
test esi, esi
jne 0x402d66
pop edi
pop esi
pop ebp
ret
push ebx
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x402e1e
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x402e1e
push 0
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x402e1e
mov eax, dword [0x46f850]
test eax, eax
je 0x402db6
inc dword [eax + 0x394]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x402e1e
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x402e05
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x46f850]
add esp, 4
test eax, eax
je 0x402df4
dec dword [eax + 0x394]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x402e17
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x4121e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x46f850]
mov eax, ecx
mov dword [ebp - 8], eax
mov dword [edi + 0x2c2c], 0
test eax, eax
je 0x4122d3
push esi
lea esi, [edi + 0x2c30]
mov dword [edi + 0x2c2c], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x412234
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00412fa0
mov dword [esi], 0
cmp dword [esi + 4], 0
jne 0x412249
push 8
mov ecx, esi
call fcn.00412fa0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push ebx
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [esi]
cmp dword [edi + 0x2c3c], 0
jle 0x41228c
xor ebx, ebx
mov eax, dword [edi + 0x2c44]
add eax, ebx
push esi
push eax
push edi
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [edi + 0x2c3c]
jl 0x412267
cmp dword [esi + 8], 0
je 0x412297
mov esi, dword [esi]
dec esi
jmp 0x412299
xor esi, esi
mov eax, dword [edi + 0x2c38]
mov ebx, 0x46f84c
mov ecx, dword [ebp - 8]
test eax, eax
mov edx, 0x43d51c
cmovne ebx, eax
call fcn.00402c00
mov edi, eax
test edi, edi
je 0x4122d1
push edi
push esi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41f630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c706
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x445040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0041f780
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4392b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x445040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0xf
mov dword [ebp - 0x134], ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
xor ebx, ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x43937c
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x10c]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x439330
test dl, dl
je 0x43932c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x439330
add ecx, 2
add eax, 2
test dl, dl
jne 0x439310
xor eax, eax
jmp 0x439335
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43936a
push dword [ebp - 0x128]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x439364
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
call esi
jmp 0x43936a
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x439300
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043aac4
mov esp, ebp
pop ebp
ret
Function at 0x43a1d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov ecx, str.HackNo1.exe
push esi
call fcn.004392b0
push 0x40
push str.Command_Prompt
push str.Press_F2_Lobby
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00439d70
push dword [0x46f9f8]
push 0x432910
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.00439770
call fcn.004393a0
push 0x4329a0
lea ecx, [esp + 0xc]
call fcn.0043a400
mov esi, eax
cmp dword [esi + 4], 0
je 0x43a298
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x43a298
mov dword [esi], eax
mov dword [esi + 4], eax
cmp dword [esp + 0xc], eax
je 0x43a251
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
push 0x432780
lea ecx, [esp + 0xc]
call fcn.0043a400
mov esi, eax
cmp dword [esi + 4], 0
je 0x43a298
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x43a298
mov dword [esi], eax
mov dword [esi + 4], eax
cmp dword [esp + 0xc], eax
je 0x43a28a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
call fcn.00439ae0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x43a400
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c83d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x445040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.0043b096
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x43aa70
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x43a482
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043aac4
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x43b6e6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43b725
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43b725
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43b725
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43b725
cmp dword [ecx + 0x74], 0xe
jbe 0x43b725
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x11aa8
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push esi
mov edx, dword [ecx + 4]
xor eax, eax
xor esi, esi
test edx, edx
jbe 0x11ad1
push ebx
push edi
mov ebx, dword [ecx]
movzx edi, byte [ebx + esi]
mov ecx, esi
and ecx, 3
shl ecx, 3
shl edi, cl
xor eax, edi
inc esi
cmp esi, edx
jb 0x11aba
pop edi
pop ebx
pop esi
ret

Function at 0x13242
Capabilities:
Get file attributes

Disassembly:
push ebp
mov edi, edi
mov ebp, esp
lea eax, [ebp - 0x20]
add esp, 0xffffffe0
push 5
push 0x18
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
or eax, eax
jl 0x13271
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edx + 4], ecx
leave
ret 8

Function at 0x1327a
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov eax, dword [ecx + 0x2268]
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x226c]
push 0x14
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push 8
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
leave
ret 4

Function at 0x132b2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov edi, edi
add esp, 0xffffffe8
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x2268]
mov dword [ebp - 8], ebx
mov eax, dword [esi + 0x226c]
push edi
xor edi, edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push edi
lea ebx, [ebp - 8]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push edi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov ebx, eax
cmp ebx, edi
jl 0x1330a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
add dword [esi + 0x2268], eax
adc dword [esi + 0x226c], edi
jmp 0x13329
cmp ebx, 0xc0000054
jne 0x13331
or dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0x10]
push eax
push edi
push edi
mov dword [ebp - 0x10], 0xffe17b80
call dword [sym.imp.ntoskrnl.exe_KeDelayExecutionThread]
cmp ebx, 0xc0000054
je 0x132d3
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x13340
Capabilities:
Write file on windows

Disassembly:
mov esi, esi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 0x2268]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x226c]
push esi
mov dword [ebp - 4], eax
xor esi, esi
push esi
lea ebx, [ebp - 8]
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push dword [ebp + 0xc]
push eax
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov ebx, eax
cmp ebx, esi
jl 0x13398
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
add dword [edi + 0x2268], eax
adc dword [edi + 0x226c], esi
jmp 0x133b7
cmp ebx, 0xc0000054
jne 0x133bf
or dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0x10]
push eax
push esi
push esi
mov dword [ebp - 0x10], 0xffe17b80
call dword [sym.imp.ntoskrnl.exe_KeDelayExecutionThread]
cmp ebx, 0xc0000054
je 0x13361
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret 0x10
Function at 0x1399c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov eax, dword [0x1601c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea edi, [ebp - 0x3c]
push edi
push 0x802
push 3
push 0x80
xor edi, edi
inc edi
push edi
mov esi, ecx
push 0xc0000000
lea eax, [esi + 0x2044]
push eax
call fcn.000131c6
mov dword [ebp - 0x40], eax
mov dword [esi + 0x224c], eax
test eax, eax
je 0x13b9e
push ebx
cmp dword [ebp - 0x3c], edi
jne 0x13ad6
lea ecx, [ebp - 0x44]
push ecx
mov ecx, esi
push eax
call fcn.00013242
or eax, eax
jl 0x13b8a
cmp dword [ebp - 0x40], 0
jl 0x13b8a
push 0x34
pop ebx
jg 0x13a1e
cmp dword [ebp - 0x44], ebx
jb 0x13b8a
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
mov ecx, esi
push ebx
push eax
push dword [esi + 0x224c]
call fcn.000132b2
test eax, eax
jl 0x13b8a
cmp dword [ebp - 0x38], 0x6463534b
jne 0x13b8a
cmp dword [ebp - 0x34], 0x2432404c
jne 0x13b8a
cmp byte [ebp - 0x30], 0x56
jne 0x13b8a
cmp byte [ebp - 0x2b], 0x2e
jne 0x13b8a
mov ecx, esi
lea eax, [ebp - 0x2f]
push eax
call fcn.00013510
mov bx, ax
lea eax, [ebp - 0x2a]
mov ecx, esi
push eax
mov word [esi + 0x228a], bx
call fcn.00013510
mov word [esi + 0x228c], ax
cmp bx, di
jne 0x13b8a
cmp ax, di
jne 0x13b8a
mov ecx, esi
lea eax, [ebp - 0x26]
push eax
call fcn.0001357c
mov ecx, esi
mov dword [esi + 0x2270], eax
lea eax, [ebp - 0x16]
push eax
mov dword [esi + 0x2274], edx
call fcn.0001357c
mov dword [esi + 0x2278], eax
mov dword [esi + 0x227c], edx
jmp 0x13b9d
and dword [esi + 0x2274], 0
mov eax, edi
mov ecx, esi
and dword [esi + 0x227c], 0
push 0x34
pop ebx
mov word [esi + 0x228a], ax
lea eax, [ebp - 0x2f]
push eax
mov word [esi + 0x228c], di
push 1
mov dword [ebp - 0x38], 0x6463534b
mov dword [ebp - 0x34], 0x2432404c
mov byte [ebp - 0x30], 0x56
mov byte [ebp - 0x2b], 0x2e
mov byte [ebp - 6], 0xd
mov edi, 0x2800000
mov byte [ebp - 5], 0xa
mov dword [esi + 0x2270], ebx
mov dword [esi + 0x2278], edi
call fcn.00013750
mov ecx, esi
lea eax, [ebp - 0x2a]
push eax
movzx eax, word [esi + 0x228c]
push eax
call fcn.00013750
mov ecx, esi
lea eax, [ebp - 0x26]
push eax
push 0
push ebx
call fcn.0001379c
lea eax, [ebp - 0x16]
mov ecx, esi
push eax
push 0
push edi
call fcn.0001379c
mov ecx, esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push ebx
push eax
push dword [ebp - 0x40]
call fcn.00013340
test eax, eax
jl 0x13b8a
mov ecx, esi
push dword [esi + 0x224c]
call fcn.0001327a
test eax, eax
jge 0x13b9d
push dword [esi + 0x224c]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
and dword [esi + 0x224c], 0
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00014433
leave
ret
Function at 0x5503e
Capabilities:
Create device object

Disassembly:
push ebp
mov edi, edi
mov ebp, esp
call fcn.00055005
pop ebp
jmp fcn.000111e4
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x54232525
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6ce936fc
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x6d4740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x676015
lea edi, [esi - 0x275015]
push edi
jmp 0x6d475a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6d4761
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d4750
mov eax, 1
add ebx, ebx
jne 0x6d4773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6d4784
jne 0x6d47a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d47a3
dec eax
add ebx, ebx
jne 0x6d4790
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6d4768
add ebx, ebx
jne 0x6d479f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6d47f5
xor ecx, ecx
sub eax, 3
jb 0x6d47bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6d482a
sar eax, 1
mov ebp, eax
jmp 0x6d47c6
add ebx, ebx
jne 0x6d47c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d4794
inc ecx
add ebx, ebx
jne 0x6d47d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6d4794
add ebx, ebx
jne 0x6d47e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6d47d6
jne 0x6d47f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6d47d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6d4814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6d4806
jmp 0x6d4756
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6d4814
add edi, ecx
jmp 0x6d4756
pop esi
mov edi, esi
mov ecx, 0xc096
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6d4832
cmp byte [edi], 0x12
jne 0x6d4832
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x6d4837
lea edi, [esi + 0x2d2000]
mov eax, dword [edi]
or eax, eax
je 0x6d48af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2d49c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2d49fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6d4864
mov ecx, edi
jns 0x6d4893
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2d4a04]
or eax, eax
je 0x6d48a9
mov dword [ebx], eax
add ebx, 4
jmp 0x6d4881
call dword [esi + 0x2d4a00]
mov ebp, dword [esi + 0x2d4a08]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x6d48e3
sub esp, 0xffffff80
jmp 0x40582c
Function at 0x401030
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 1
jne 0x401044
mov eax, dword [0x4380cc]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
jmp 0x401056
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [0x4380d0]
shr edx, 1
cmp dword [ebp - 4], edx
jae 0x4010db
mov edx, dword [ebp - 4]
mov ecx, dword [0x4380b4]
movzx eax, word [ecx + edx*2]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shr eax, 0xc
cmp eax, 3
jne 0x4010d6
mov ecx, dword [ebp - 0xc]
and ecx, 0xfff
add ecx, 0x1474
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
sub edx, 0x1474
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 0
jne 0x4010b7
push 0x20e
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x4010b7
xor eax, eax
jmp 0x4010db
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add ecx, dword [edx]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx]
add eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx], eax
jmp 0x40104d
mov esp, ebp
pop ebp
ret
Function at 0x4016e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x114], str.55222
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
lea ecx, [ebp - 0x110]
push 0
push 3
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x40175a
cmp dword [ebp - 0x118], 0
je 0x40175a
jmp 0x4017bc
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x4017bc
mov dword [ebp - 0x120], 0x1046a
mov eax, dword [ebp + 8]
sub eax, 0xfffffff8
mov dword [0x4380b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4380d0], edx
mov dword [ebp - 0x120], 0x1046a
mov dword [ebp - 0x120], 0x1046a
call fcn.004011f0
mov eax, dword [ebp + 8]
mov dword [0x4380cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401a90
mov dword [ebp + 8], eax
add esp, 0xc
jmp 0x40175a
mov esp, ebp
pop ebp
ret

Function at 0x401ad0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4380c0], 0x24e1
mov eax, dword [0x4380c0]
add eax, 0xffffdb1f
mov dword [0x4380c0], eax
mov ecx, 1
or ecx, ecx
je 0x401b7b
mov edx, dword [0x4380c0]
cmp edx, dword [ebp + 0xc]
jb 0x401b07
jmp 0x401b7b
cmp dword [0x4380c0], 0
jne 0x401b25
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401b25
xor eax, eax
jmp 0x401b7b
mov eax, dword [ebp + 8]
add eax, dword [0x4380c0]
mov ecx, dword [eax]
add ecx, dword [0x4380c0]
mov edx, dword [ebp + 8]
add edx, dword [0x4380c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x64b60
mov eax, dword [0x4380c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4380c0]
push eax
call fcn.00401200
add esp, 8
mov ecx, dword [0x4380c0]
add ecx, 4
mov dword [0x4380c0], ecx
jmp 0x401aed
mov esp, ebp
pop ebp
ret