joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403400
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
test ecx, ecx
js 0x40342a
mov eax, dword [0x46d0b8]
push edi
add eax, ecx
push edi
push eax
push dword [0x40b014]
mov dword [0x41f154], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.00403262
test eax, eax
js 0x403500
push ebx
push esi
push 4
lea eax, [ebp - 4]
push eax
push dword [0x40b014]
call fcn.00406e31
test eax, eax
je 0x4034fb
push dword [ebp - 4]
add dword [0x41f154], 4
call fcn.00403262
mov esi, eax
test esi, esi
js 0x4034f7
cmp dword [ebp + 0x10], edi
jne 0x4034cb
mov ecx, dword [ebp - 4]
test ecx, ecx
jle 0x4034f7
mov ebx, 0x4000
mov edi, 0x4271f8
cmp ecx, ebx
mov eax, ebx
cmovl eax, ecx
push eax
push edi
push dword [0x40b014]
mov dword [ebp - 8], eax
call fcn.00406e31
test eax, eax
je 0x4034fb
push dword [ebp - 8]
push edi
push dword [ebp + 0xc]
call fcn.00406ef5
test eax, eax
je 0x4034c7
mov eax, dword [ebp - 8]
add esi, eax
mov ecx, dword [ebp - 4]
add dword [0x41f154], eax
sub ecx, eax
mov dword [ebp - 4], ecx
test ecx, ecx
jg 0x403483
jmp 0x4034f7
push 0xfffffffffffffffe
jmp 0x4034fd
push edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 4], eax
cmovl eax, dword [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [0x40b014]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4034fb
mov esi, dword [ebp - 8]
add dword [0x41f154], esi
mov eax, esi
jmp 0x4034fe
push 0xfffffffffffffffd
pop eax
pop esi
pop ebx
pop edi
leave
ret 0x10

Function at 0x403523
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x40b0cc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x403558
mov eax, dword [0x41f168]
test eax, eax
je 0x40354c
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [0x41f168], 0
jmp 0x4035da
cmp dword [0x41f168], 0
je 0x40356a
push 0
call fcn.004066a4
jmp 0x4035da
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x46d060]
jbe 0x4035da
cmp dword [0x465058], 0
je 0x4035b5
test byte [0x46d154], 1
je 0x4035da
call fcn.00403505
push eax
lea eax, [ebp - 0x84]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
push 0
call fcn.0040617e
jmp 0x4035da
push 0
push 0x4038c0
push 0
push 0x6f
push dword [0x465054]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 5
push eax
mov dword [0x41f168], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040818f
leave
ret
Function at 0x406276
Capabilities:
Create directory

Disassembly:
push esi
xor esi, esi
push esi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x406290
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, esi
pop esi
ret 4
Function at 0x40661c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x40b0cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x240]
push edi
mov edi, 0x104
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
ja 0x406663
test eax, eax
je 0x406663
add eax, eax
cmp word [ebp + eax - 0x242], 0x5c
je 0x406665
mov ecx, 0x409318
jmp 0x40666a
xor eax, eax
mov ecx, 0x40931a
push esi
push ecx
lea ecx, [ebp - 0x240]
add eax, ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x240]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040818f
leave
ret 4

Function at 0x4066d2
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4066f5
push dword [esp + 8]
push dword [esp + 8]
call fcn.004067b3
pop ecx
pop ecx
inc dword [0x46d130]
ret 8

Function at 0x4067b3
Capabilities:
Get file size

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, 0x45be80
mov dword [0x45be80], 0x55004e
mov dword [0x45be84], 0x4c
push edi
mov edi, 0x400
test esi, esi
je 0x406806
push 1
push 0
push esi
call fcn.00406e04
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x4068ec
cmp eax, edi
jg 0x4068ec
push edi
mov esi, 0x45b680
push esi
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x4068ec
cmp eax, edi
jg 0x4068ec
push ebp
push esi
push ebx
push str._ls_ls_r_n
push 0x45b280
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x46d070]
add esp, 0x10
mov ebp, eax
push dword [ecx + 0x128]
push esi
call fcn.004062f1
push 4
push 0xc0000000
push esi
call fcn.00406e04
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4068eb
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [ebp + 0xa]
add ecx, esi
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4068e4
push esi
push edi
push ebx
call fcn.00406e31
test eax, eax
je 0x4068e4
push str._Rename__r_n
push edi
call fcn.0040703b
test eax, eax
jne 0x4068f0
push str._Rename__r_n
lea eax, [edi + esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esi, 0xa
mov ecx, esi
push ebp
push 0x45b280
lea eax, [ecx + edi]
push eax
call fcn.00406b75
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esi + ebp]
push eax
push edi
push ebx
call fcn.00406ef5
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
pop ebx
ret
push 0x409a0c
add eax, 0xa
push eax
call fcn.0040703b
mov ecx, eax
test ecx, ecx
je 0x4068b5
lea edx, [edi + esi]
jmp 0x40690f
mov al, byte [edx]
mov byte [edx + ebp], al
dec edx
cmp edx, ecx
ja 0x406909
sub ecx, edi
inc ecx
jmp 0x4068b7
Function at 0x406a46
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
call fcn.00407089
mov edi, eax
cmp edi, 0xffffffff
je 0x406a89
test byte [ebp + 0xc], 1
push dword [ebp + 8]
je 0x406a6a
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x406a70
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x406a79
xor eax, eax
inc eax
jmp 0x406a8b
test byte [ebp + 0xc], 4
jne 0x406a89
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop ebp
ret 8

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov edi, 0x457280
push edi
call fcn.0040701f
push edi
call fcn.004070b1
mov esi, eax
test esi, esi
je 0x406b6e
push esi
call fcn.00407230
test byte [0x46d06c], 0x80
je 0x406b32
movzx eax, word [esi]
test ax, ax
je 0x406b6e
cmp eax, 0x5c
je 0x406b6e
sub esi, edi
sar esi, 1
jmp 0x406b4c
call fcn.00406a90
test eax, eax
je 0x406b46
test byte [eax], 0x10
je 0x406b6e
push edi
call fcn.00407202
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
cmp eax, esi
jg 0x406b38
call fcn.00406a17
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x406b6e
xor eax, eax
inc eax
jmp 0x406b70
xor eax, eax
pop edi
pop esi
ret 4

Function at 0x406b97
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x453238], 0x44
lea eax, [ebp - 0x10]
push eax
push 0x453238
xor eax, eax
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x406bd6
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4
Function at 0x406bda
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x264
mov eax, dword [0x40b0cc]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
mov ebx, dword [esp + 0x270]
push esi
mov esi, dword [esp + 0x270]
push edi
mov edi, ebx
push esi
and edi, 4
call fcn.00406af9
mov dword [esp + 0x18], eax
test bl, 8
je 0x406c2a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x46d128], eax
jmp 0x406db5
push ebp
mov ebp, ebx
and ebp, 1
mov dword [esp + 0x18], ebp
je 0x406c47
test eax, eax
je 0x406da4
test bl, 2
je 0x406d6d
push esi
push 0x453280
call fcn.0040701f
test ebp, ebp
je 0x406c68
push str..
push 0x453280
call dword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x406c6e
push esi
call fcn.00407202
xor eax, eax
cmp word [esi], ax
jne 0x406c7f
cmp word [0x453280], 0x5c
jne 0x406c8b
push 0x409318
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push 0x453280
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x406d59
mov ebp, dword [esp + 0x10]
push 0x2e
pop eax
cmp word [esp + 0x4c], ax
jne 0x406cdb
cmp word [esp + 0x4e], 0
je 0x406d34
cmp word [esp + 0x4e], ax
jne 0x406cdb
cmp word [esp + 0x50], 0
je 0x406d34
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x18]
call fcn.0040701f
test byte [esp + 0x20], 0x10
je 0x406d02
mov eax, ebx
and eax, 3
cmp al, 3
jne 0x406d34
push ebx
push esi
call fcn.00406bda
jmp 0x406d34
push edi
push esi
call fcn.00406a46
test eax, eax
jne 0x406d2c
test edi, edi
je 0x406d24
push esi
push 0xfffffffffffffff1
call fcn.0040617e
xor eax, eax
push eax
push esi
call fcn.004066d2
jmp 0x406d34
inc dword [0x46d128]
jmp 0x406d34
push esi
push 0xfffffffffffffff2
call fcn.0040617e
lea eax, [esp + 0x20]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x406cbd
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x406db4
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov word [eax - 2], cx
cmp dword [esp + 0x1c], ecx
je 0x406da4
push esi
call fcn.00406a90
test eax, eax
je 0x406db4
push esi
call fcn.00406a17
mov eax, edi
or eax, 1
push eax
push esi
call fcn.00406a46
test eax, eax
jne 0x406dac
test edi, edi
je 0x406da4
push esi
push 0xfffffffffffffff1
call fcn.0040617e
xor eax, eax
push eax
push esi
call fcn.004066d2
jmp 0x406db4
inc dword [0x46d128]
jmp 0x406db4
push esi
push 0xffffffffffffffe5
call fcn.0040617e
pop ebp
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040818f
add esp, 0x264
ret 8

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
push 0
cmove eax, ecx
push eax
push dword [esp + 0x14]
push ecx
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc
Function at 0x406e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 0x4000
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406785
mov edi, dword [ebp + 0x14]
test eax, eax
jne 0x406ed3
push esi
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
mov word [edi + 0x3ffe], ax
pop esi
jne 0x406ed3
cmp dword [ebp - 8], 1
je 0x406ed8
cmp dword [ebp - 8], 2
je 0x406ed8
xor eax, eax
mov word [edi], ax
pop edi
leave
ret 0x14

Function at 0x406edd
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x406f40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x40b0cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp - 0xc], 0x73006e
mov dword [ebp - 8], 0x61
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
add word [ebp - 8], dx
lea eax, [ebp - 0xc]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x406f97
test edi, edi
jne 0x406f5c
mov word [esi], ax
jmp 0x406f99
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040818f
leave
ret 8

Function at 0x407089
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4070ab
mov ecx, esi
and ecx, 0xfffffffe
push ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x407335
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x45c8d4], 0
push esi
jne 0x40736f
xor ecx, ecx
push 8
mov edx, ecx
pop esi
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x407346
mov dword [ecx*4 + 0x45c8d0], edx
inc ecx
cmp ecx, 0x100
jl 0x407341
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
not ecx
test edx, edx
je 0x407399
mov esi, dword [esp + 0xc]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x45c8d0]
inc esi
sub edx, 1
jne 0x407381
not ecx
mov eax, ecx
pop esi
ret 0xc
Function at 0x4023e1
Capabilities:
Parse pe header

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

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0xeea058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00eea1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xeea07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xeea06a
add dl, dl
jne 0xeea089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xeea0dc
xor eax, eax
add dl, dl
jne 0xeea096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xeea17d
add dl, dl
jne 0xeea0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeea0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeea0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeea0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xeea0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xeea075
mov eax, 1
add dl, dl
jne 0xeea0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeea0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xeea0e1
sub eax, ebx
mov ebx, 1
jne 0xeea128
mov ecx, 1
add dl, dl
jne 0xeea10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xeea119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xeea105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xeea075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xeea13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xeea14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xeea136
cmp eax, 0x7d00
jae 0xeea16d
cmp eax, 0x500
jb 0xeea168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xeea075
cmp eax, 0x7f
ja 0xeea170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xeea075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xeea19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xeea075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x9eb920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9eb96c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9eb932
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9eb9d0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9eba22
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9eba28
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0xa03f15
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a03bd5

Function at 0xa08d0f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a08b8e

Function at 0xa0e2c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa0e2ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa0e2ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x404b17a5
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data_1
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x24b62307
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2d684a8b
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x39382447
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x4bbb0f9c
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x10af7e9c
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219