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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xffffffe8
sbb ecx, dword [ebx - 0x74a8f78b]
inc esi
or al, 0x85
sal byte [ebp + 0x7c], 0x8b
xchg byte [eax + ecx], ah
add byte [eax], al
test eax, eax
je 0x403ac4
in al, 0xac
add bl, byte [esi]
add byte [eax + eax*8 + 0xf], ch
test al, cl
rol dword [eax], cl
popal
dec eax
mov dword [0x4f3402b4], eax
test dword [ecx + 1], esp
add byte [edi - 0x7d], cl
cmp eax, 0x4102b4
add dword [edx + 0xa], edx
mov eax, dword [eax + 0x21ea310]
cmp al, byte [eax]
xlatb
cmp dword [0x4102b4], 1
push edx
or cl, byte [ebx + 0x1ea31080]
add bh, byte [edx]
add bh, dl
and al, 0x8b
xchg ebp, eax
adc byte [ecx + 0x41028c], ah
cmp edi, dword [ecx + 0x74]
sbb byte [ebx + 0x4102b89c], cl
add byte [ecx + 0x41b5c0], ah
jns 0x403b30
mov dword [0x384102b8], ecx
mov dword [0x4102d9], eax
mov eax, dword [0x4102ac]
push edx
or eax, 0x400710
mov dword [0x178d14c1], eax
add dword [eax], eax
add byte [ebx + 0x410b108c], cl
add byte [ebx + 0x5e7c1a5], cl
add esp, edx
inc eax
rcl dword [ecx*4 + 0x117], 0x8b
mov word [eax], ss
or eax, dword [ecx]
mov esp, dword [ebp + 0x305e7c1]
loop 0x403b5c
mov dword [0x4140ac], eax
call fcn.00406a00
mov dword [0x410ba0], eax
mov dword [ebx + 0x41e9a4], edx
mov dword [esi + 0x850], eax
mov edx, dword [0x8b410ba4]
mov eax, dword [esi + 0x830]
mov dword [esi + 0x854], edx
mov edx, ebx
mov ebp, ebp
xor al, 8
lea eax, [eax]
jnp 0x403b07
add byte [ecx + 0x85086], cl
add byte [ebx + 0x410ba415], cl
mov ecx, dword [ebx + 0x83086]
add byte [ecx + 0x85496], cl
add byte [ecx + 0x34ed8bda], cl
or byte [ebp + 0x4b47b00], cl
mov ecx, dword [esi + 0x12001043]
add al, 0x8b
mov es, word [ebx + 0x10]
add byte [edx], dl
mov eax, dword [esi + 0x830]
xor byte [eax], cl
add byte [eax], al
mov edx, dword [esi + 0x84d]
sub ecx, eax
sub al, byte [esi + 0xdd91c5]
sbb eax, edx
inc eax
imul ebx, dword [esi - 0x7afb83f6], 0xffffffc9
jae 0x403b7e
xor al, 0xc9
xor esi, dword [esi + 0x5f]
pop edi
dec edi
adc byte [ecx - 0x7174ebe4], cl
push eax
mov edi, 0x86140000
xor byte [eax], cl
add byte [eax], al
mov edx, dword [esi + 0x683034]
sub ecx, eax
mov eax, dword [esi + 0x829]
sbb eax, edx
test eax, eax
jg 0x403bae
jl 0x403baa
test dword [ebx], esp
xor dword [edx + ebx*8], eax
leave
fcmove st(0), st(1)
pop eax
into
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
sub al, 0x8e
dec eax
test byte [eax], 0x7f
mov eax, dword [esi + 0x840]
mov esp, esp
inc esp
or byte [eax], al
outsb dx, byte [esi]
sub ecx, eax
enter 0xffffffffffff868b, 0x4c
or byte [eax], al
add byte [ebx], bl
ret 0xc085
jg 0x403bde
jl 0x403bda
test ecx, ecx
jae 0x403bde
xor ecx, ecx
xor eax, eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
mov ecx, dword [edx + 0xe2d014]
mov eax, dword [0x8b3778c9]
push cs
lodsb al, byte [esi]
add al, byte [ecx]
mov eax, edi
cdq
les ecx, [eax]
test edx, edx
aaa
sub byte [ebx + 0x40fdc889], cl
popal
push edi
add edx, 0x40
push 0x3840e840
push edx
xchg ebx, eax
adc eax, 0x71c1dc
pop esi
enter 0x40c0, 0xffffffffffffffe2
rol byte [bx + si + 0x50], 0xff
sti
push esp
rol dword [eax], 0x83
Function at 0x405f20
Capabilities:
Encode data using xor
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
in al, dx
sub esp, 0xe1690198
and eax, dword [0x8b004103]
enter 0xffffffffffff8540, 0xffffffffffffffc9
mov dword [0x3941036a], eax
je 0x405f22
xor edx, dword [edi]
mov esp, ebp
sbb ebx, eax
lea ebp, [ecx]
clc
push edx
jg 0x405f42
inc edi
xor byte [edi + 0x39], dl
les eax, [eax*4 - 0xf7a2683]
add byte [eax], al
invalid

Function at 0x40a3d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40a410
mov esp, dword [ecx + 0xc]
push ecx
push eax
test al, 0x15
mov al, 0x40
add byte [edi - 0x40], bl
mov edi, 0x358be51e
cwde
rol byte [eax], 0xff
salc
push ds
in eax, 0x8b
xor eax, sym.imp.KERNEL32.dll_GetLastError
call esi
test eax, eax
jne 0x40a3eb
pop esi
pop ebp
ret 8
sub cl, byte [0x140000f5]
ret 0x5adc
Function at 0x4012d0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x401329
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x401313
mov edx, dword [ebp - 0x4c]
movsx eax, byte [edx]
cmp eax, 0x22
je 0x401313
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
jmp 0x4012f3
mov edx, dword [ebp - 0x4c]
movsx eax, byte [edx]
cmp eax, 0x22
jne 0x401327
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
jmp 0x40133f
mov edx, dword [ebp - 0x4c]
movsx eax, byte [edx]
cmp eax, 0x20
jle 0x40133f
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
jmp 0x401329
mov edx, dword [ebp - 0x4c]
movsx eax, byte [edx]
test eax, eax
je 0x40135f
mov ecx, dword [ebp - 0x4c]
movsx edx, byte [ecx]
cmp edx, 0x20
jg 0x40135f
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
jmp 0x40133f
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edx, dword [ebp - 0x18]
and edx, 1
test edx, edx
je 0x401387
mov eax, dword [ebp - 0x14]
and eax, 0xffff
mov dword [ebp - 0x50], eax
jmp 0x40138e
mov dword [ebp - 0x50], 0xa
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4013c0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], str.mnclaves
mov dword [ebp - 0x10], str.___instalador___No___instalador___
mov dword [ebp - 0x14], str.___idioma___0___idioma___
mov dword [ebp - 4], str.___programas___Si___programas___
mov dword [ebp - 0x1c], str.___directorio_dlls___.
mov dword [ebp - 0xc], str.___directorio_instalar___c:_
mov dword [ebp - 8], str.___version_______version___
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x15
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call fcn.00402a70
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
mov cl, byte [eax + 0xd]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0x19
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x15
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
mov al, byte [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [0x45add8]
push edx
push section..text
push str.claves
push 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x45adb4]
add esp, 0x38
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401cc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x401cdc
xor ax, ax
jmp 0x401ce0
mov ax, 1
mov esp, ebp
pop ebp
ret

Function at 0x401ec0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402070
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00402120
add esp, 4
movsx edx, ax
test edx, edx
jne 0x402028
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0x104
jae 0x401f1c
mov dword [ebp - 0x21c], 0
jmp 0x401f3c
push 0x224
mov ecx, dword [str.dllcarga.c__DLLGEN_]
push ecx
push str.longitud____MAX_PATH
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x21c], eax
lea edx, [ebp - 0x20c]
push edx
push 0
push str.CYPE
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x401f72
mov dword [ebp - 0x220], 0
jmp 0x401f92
push 0x226
mov ecx, dword [str.dllcarga.c__DLLGEN_]
push ecx
push str.resp___0
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x220], eax
call dword [ebp + 8]
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.00402700
add esp, 8
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00402260
add esp, 0x14
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004023f0
add esp, 8
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x401fff
mov dword [ebp - 0x224], 0
jmp 0x40201f
push 0x22f
mov edx, dword [str.dllcarga.c__DLLGEN_]
push edx
push str.borrado___FALSE
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 2
jmp 0x40205b
call dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402700
add esp, 8
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00402260
add esp, 0x14
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x402070
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push 0
push 0
push 0x104
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004019f0
add esp, 0x14
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x402115
lea eax, [ebp - 0x108]
push eax
call fcn.00401cc0
add esp, 4
movsx ecx, ax
test ecx, ecx
jne 0x402115
lea edx, [ebp - 0x108]
push edx
call fcn.00402070
add esp, 4
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x4020f5
mov dword [ebp - 0x110], 0
jmp 0x402115
push 0xe4
mov ecx, dword [str.dllcarga.c__DLLGEN_]
push ecx
push str.directorio_creado___FALSE
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x110], eax
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
cmp dword [ebp + 8], 0
je 0x40213b
mov dword [ebp - 0x98], 0
jmp 0x40215a
push 0xef
mov eax, dword [str.dllcarga.c__DLLGEN_]
push eax
push str._fichero____NULL
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401cc0
add esp, 4
movsx edx, ax
test edx, edx
je 0x4021ec
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xffffffff
je 0x402192
mov dword [ebp - 0x9c], 0
jmp 0x4021b2
push 0xf6
mov ecx, dword [str.dllcarga.c__DLLGEN_]
push ecx
push str.dwAttrib___ULONG_MAX
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x94]
and edx, 1
cmp edx, 1
jne 0x4021c8
xor ax, ax
jmp 0x402257
push 0x12
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x90], eax
mov word [ebp - 0x8c], 0
jmp 0x402211
push 0x1010
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x90], eax
mov word [ebp - 0x8c], 1
cmp dword [ebp - 0x90], 0xffffffff
jne 0x40221f
xor ax, ax
jmp 0x402257
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll__lclose]
movsx edx, word [ebp - 0x8c]
test edx, edx
je 0x402253
push 0x200
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x90], eax
mov ax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4023f0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push 0x104
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004025b0
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00402530
add esp, 8
call dword [0x45ae0c]
movsx ecx, ax
test ecx, ecx
je 0x4024cc
push 4
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x40245e
mov dword [ebp - 0x114], 0
jmp 0x40247d
push 0x195
mov eax, dword [str.dllcarga.c__DLLGEN_]
push eax
push str.res___0
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x114], eax
push 4
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x4024ab
mov dword [ebp - 0x118], 0
jmp 0x4024ca
push 0x197
mov eax, dword [str.dllcarga.c__DLLGEN_]
push eax
push str.res___0
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x118], eax
jmp 0x402521
push str.wininit.ini
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x40b914
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x402502
mov dword [ebp - 0x11c], 0
jmp 0x402521
push 0x19e
mov eax, dword [str.dllcarga.c__DLLGEN_]
push eax
push 0x40b910
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x11c], eax
mov esp, ebp
pop ebp
ret

Function at 0x402530
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402558
mov dword [ebp - 0x18], 0
jmp 0x402575
push 0x157
mov edx, dword [str.dllcarga.c__DLLGEN_]
push edx
push str.copiado___FALSE
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401cf0
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00402260
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x402700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [ebp + 8], 0
je 0x402715
mov dword [ebp - 0x10], 0
jmp 0x402731
push 0x1a9
mov eax, dword [str.dllcarga.c__DLLGEN_]
push eax
push str._nombreFichero____NULL
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x40275f
mov dword [ebp - 0x14], 0
jmp 0x40277c
push 0x1ac
mov edx, dword [str.dllcarga.c__DLLGEN_]
push edx
push str.hFile___INVALID_HANDLE_VALUE
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4027ab
mov dword [ebp - 0x18], 0
jmp 0x4027c7
push 0x1af
mov eax, dword [str.dllcarga.c__DLLGEN_]
push eax
push str.resp___FALSE
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 4]
jne 0x4027db
mov dword [ebp - 0x1c], 0
jmp 0x4027f7
push 0x1b0
mov eax, dword [str.dllcarga.c__DLLGEN_]
push eax
push str.bytesEscritos__fichmem__longitud
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402813
mov dword [ebp - 0x20], 0
jmp 0x402830
push 0x1b3
mov edx, dword [str.dllcarga.c__DLLGEN_]
push edx
push str.resp___FALSE
call dword [0x45ad08]
add esp, 0xc
mov dword [ebp - 0x20], eax
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5ea0345e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data_1
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x52ae0216
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0xc24370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xc2438e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xc4d074
push ecx
mov edi, eax
call fcn.00c38198
mov esi, eax
add esp, 8
test esi, esi
jne 0xc243cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00c3802e
push esi
call fcn.00c37fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xc27850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xc278ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xc52720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xc278ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00c381e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xc278ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xc52720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xc2792a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00c39082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xc27957
mov word [eax], si
add eax, 2
push eax
call fcn.00c39030
add esp, 4
jmp 0xc27959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xc278ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xc278b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xc27ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xc28080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xc280c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xc4d458
push ecx
call fcn.00c381e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00c381e1
add esp, 0x10
jmp 0xc280d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00c3820b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00c37dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00c28050
mov eax, dword [0xc52728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xc2813b
push esi
call fcn.00c27fb0
add esp, 4
mov dword [0xc52728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xc2814c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00c27ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xc2b440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xc2b4b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xc2b48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xc2b471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xc2b47e
add edx, ecx
cmp ebx, edx
jb 0xc2b48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xc2b467
xor ecx, ecx
jmp 0xc2b4a2
test eax, eax
jne 0xc2b492
xor ecx, ecx
jmp 0xc2b4a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00c2b3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xc2b8f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xc2b921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xc2b946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xc2b96e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xc2b993
push ecx
push esi
call fcn.00c2b4c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret