joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ae2a
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.00401200
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40b061
push esi
call fcn.00409537
cmp eax, 0x3f6
jae 0x40b061
push edi
push 0x3c
pop edi
push edi
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.00409259
movzx ecx, word [esi]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0x5c0
cmp cx, 0x22
jne 0x40ae81
lea eax, [esi + 2]
mov dword [ebp - 0x30], eax
jmp 0x40ae84
mov dword [ebp - 0x30], esi
xor eax, eax
cmp cx, bx
je 0x40aeda
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40aeac
jmp 0x40ae9c
cmp word [esi + eax*2], 0x22
je 0x40aea5
inc eax
cmp word [esi + eax*2], bx
jne 0x40ae95
jmp 0x40aeac
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40aec6
cmp word [esi + eax*2 + 2], 0x2f
je 0x40aec6
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40ae8d
jmp 0x40aeda
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40aed4
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x2c], eax
cmp byte [ebp + 8], bl
jne 0x40aeef
cmp word [0x41aa12], bx
je 0x40aeef
mov dword [ebp - 0x2c], 0x41aa12
push dword [ebp - 0x30]
mov dword [ebp - 0x24], 1
call fcn.00407410
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40af1b
push str..inf
push eax
call fcn.0040d0d4
test eax, eax
jne 0x40af1b
mov dword [ebp - 0x34], str.Install
push dword [ebp - 0x30]
call fcn.004052f8
mov bl, al
test bl, bl
je 0x40af41
lea eax, [ebp - 0x1040]
push eax
push dword [ebp - 0x30]
call fcn.00406f37
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], 0
je 0x40af7f
test bl, bl
jne 0x40af7f
push dword [ebp - 0x30]
lea eax, [ebp - 0x840]
push eax
call fcn.00409561
push str..exe
lea eax, [ebp - 0x840]
push eax
call fcn.004095ce
lea eax, [ebp - 0x840]
push eax
call fcn.004052f8
test al, al
je 0x40b060
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x40]
push eax
call edi
test eax, eax
setne al
test al, al
jne 0x40afb1
and dword [ebp - 0x3c], 0xfffffbff
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], esi
call edi
test eax, eax
setne al
test al, al
je 0x40b060
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor bl, bl
cmp byte [0x41a208], bl
jne 0x40afc6
cmp byte [ebp + 8], bl
je 0x40affc
mov eax, dword [0x41a200]
test eax, eax
je 0x40afe6
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40afe6
push 0
push dword [0x41a200]
call esi
mov bl, 1
push 0x7d0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 8]
call fcn.0040a771
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x40b01c
push str..exe
push dword [ebp - 4]
call fcn.0040d0d4
test eax, eax
je 0x40b04c
cmp byte [0x41a208], 0
je 0x40b032
cmp byte [ebp + 8], 0
jne 0x40b032
push 0x1b58
jmp 0x40b046
xor eax, eax
cmp byte [ebp + 8], al
sete al
dec eax
and eax, 0xfffffce0
add eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test bl, bl
je 0x40b060
cmp byte [ebp + 8], 0
je 0x40b060
push 1
push dword [0x41a200]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40c5b5
Capabilities:
Accept command line arguments
Read file via mapping
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 1
call fcn.0040cbbd
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x422668
call fcn.0040d28e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp esi, ebx
je 0x40c645
push esi
call fcn.0040a4f8
cmp byte [0x41a211], bl
je 0x40c63d
push str.winrarsfxmappingfile.tmp
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40c632
push 0x20000
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
je 0x40c62b
push esi
push str.sfxcmd
call edi
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40c645
push esi
push str.sfxcmd
call edi
push 0x400
mov esi, 0x4198e0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push str.sfxname
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0x64
push edi
mov dword [0x413e74], edi
mov dword [0x413e78], edi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x65
push dword [0x413e78]
mov dword [0x4198dc], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
lea ecx, [ebp - 8]
mov dword [0x4198d8], eax
call fcn.00410384
push esi
mov ecx, 0x413e88
call fcn.00409129
lea ecx, [ebp - 0x40]
call fcn.00405fb2
lea ecx, [ebp - 0x24]
call fcn.00405fb2
push 0x64
call fcn.00409c9b
push 0x64
mov dword [ebp - 0x28], eax
call fcn.00409c9b
push ebx
push 0x40bd8e
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x40]
mov dword [0x4190d4], eax
push str.STARTDLG
lea eax, [ebp - 0x24]
push edi
mov dword [0x4190d0], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [ebp - 0x24]
mov dword [0x4190d0], ebx
mov dword [0x4190d4], ebx
call fcn.00405fc8
lea ecx, [ebp - 0x40]
call fcn.00405fc8
lea ecx, [ebp - 8]
call fcn.004103d6
cmp byte [0x41a208], bl
je 0x40c720
call fcn.0040a7b0
push 0x100
push ebx
push 0x41a0f0
call fcn.00409259
cmp dword [0x41b324], ebx
jbe 0x40c743
push dword [0x41b318]
call fcn.004091d5
push dword [0x4198dc]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x4198d8]
cmp eax, ebx
je 0x40c75d
push eax
call esi
cmp dword [0x413e7c], ebx
jne 0x40c77c
cmp byte [0x41a1f2], bl
je 0x40c77c
push 0xff
mov ecx, 0x413e7c
call fcn.00402df3
mov eax, dword [0x41b32c]
mov byte [0x41a1f2], 1
cmp eax, ebx
je 0x40c792
push eax
call fcn.0040a771
call dword [sym.imp.ole32.dll_OleUninitialize]
push dword [0x413e7c]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x410314
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x59b5511f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x16367a31
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x410e7fa9
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..reloc
nop
mov ebx, 0x42f314
nop
mov ecx, 0x1c933b1
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401a96
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
and dword [esp + 8], 0
cmp dword [ebp + 0xc], 0
mov cl, byte [eax]
mov dl, byte [eax + 1]
push ebx
push esi
push edi
jle 0x401b46
movzx edi, cl
mov ecx, dword [0x4360e8]
movzx ebx, dl
lea eax, [edi + 1]
cdq
mov esi, 0x36c
idiv esi
movzx edi, dl
lea esi, [edi + ecx]
movzx eax, byte [esi]
add eax, ebx
mov byte [esp + 0x12], dl
cdq
mov ebx, 0x36c
idiv ebx
mov al, byte [esi]
movzx ebx, dl
add ecx, ebx
mov byte [esp + 0x13], dl
mov dl, byte [ecx]
mov byte [esi], dl
mov byte [ecx], al
movzx ecx, byte [ecx]
movzx eax, byte [esi]
add eax, ecx
cdq
mov ecx, 0x36c
idiv ecx
mov byte [esp + 0x11], dl
call fcn.0040242d
push eax
call fcn.004019fa
mov esi, dword [esp + 0x18]
movzx edx, byte [esp + 0x15]
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [0x4360e8]
mov dl, byte [edx + ecx]
add eax, esi
xor byte [eax], dl
inc esi
cmp esi, dword [ebp + 0xc]
mov dword [esp + 0x14], esi
jl 0x401ac5
mov cl, byte [esp + 0x12]
mov eax, dword [ebp + 0x10]
mov dl, byte [esp + 0x13]
pop edi
pop esi
mov byte [eax], cl
mov byte [eax + 1], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401b52
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push str.kernel32.dll
push esi
mov dword [ebp - 4], esi
call sub.KERNEL32.dll_GetModuleHandleExA
test eax, eax
je 0x401bac
push str.VirtualAllocExNuma
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push 0x40
push 0x3000
push dword [ebp + 0xc]
mov dword [0x4360e0], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4360e0]
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
push esi
call fcn.0040f5b0
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x40ed03
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431c70]
jne 0x40ed0d
repz ret
jmp fcn.004136f6
Function at 0x418cc0
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.00413105
and dword [ebp - 4], 0
cmp dword [0x435e18], 0
mov ebx, eax
jne 0x418d71
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x418e22
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x418e22
push eax
call fcn.00413093
mov dword [esp], 0x429a88
push edi
mov dword [0x435e18], eax
call esi
push eax
call fcn.00413093
mov dword [esp], 0x429a74
push edi
mov dword [0x435e1c], eax
call esi
push eax
call fcn.00413093
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435e20], eax
call esi
push eax
call fcn.00413093
pop ecx
mov dword [0x435e28], eax
test eax, eax
je 0x418d71
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00413093
pop ecx
mov dword [0x435e24], eax
mov eax, dword [0x435e24]
cmp eax, ebx
je 0x418dc9
cmp dword [0x435e28], ebx
je 0x418dc9
push eax
call fcn.0041310e
push dword [0x435e28]
mov esi, eax
call fcn.0041310e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x418dc9
test edi, edi
je 0x418dc9
call esi
test eax, eax
je 0x418dc0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x418dc0
test byte [ebp - 0xc], 1
jne 0x418dc9
or dword [ebp + 0x10], 0x200000
jmp 0x418e02
mov eax, dword [0x435e1c]
cmp eax, ebx
je 0x418e02
push eax
call fcn.0041310e
pop ecx
test eax, eax
je 0x418e02
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x418e02
mov eax, dword [0x435e20]
cmp eax, ebx
je 0x418e02
push eax
call fcn.0041310e
pop ecx
test eax, eax
je 0x418e02
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435e18]
call fcn.0041310e
pop ecx
test eax, eax
je 0x418e22
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x418e24
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402f20
Capabilities:
Create mailslot

Disassembly:
push ecx
cmp dword [0x2b8167c], 3
jne 0x402f42
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
xor dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
pop ecx
ret 0xc

Function at 0x403150
Capabilities:
Enumerate gui resources
Get disk information

Disassembly:
mov eax, dword [0x2b8167c]
mov ecx, dword [0x2b7e588]
shr eax, 3
sub esp, 0x808
test eax, eax
jbe 0x403221
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b8167c], 0x959
jne 0x403203
call esi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00402f90
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403190
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
Function at 0x408c90
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ac30]
jne 0x408c9a
repz ret
jmp fcn.0040b7ac

Function at 0x40af77
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.00405127
and dword [ebp - 4], 0
cmp dword [0x42bfc4], 0
mov ebx, eax
jne 0x40b028
push 0x402ab4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b0d9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402aa8
push edi
call esi
test eax, eax
je 0x40b0d9
push eax
call fcn.004050b5
mov dword [esp], 0x402a98
push edi
mov dword [0x42bfc4], eax
call esi
push eax
call fcn.004050b5
mov dword [esp], 0x402a84
push edi
mov dword [0x42bfc8], eax
call esi
push eax
call fcn.004050b5
mov dword [esp], 0x402a68
push edi
mov dword [0x42bfcc], eax
call esi
push eax
call fcn.004050b5
pop ecx
mov dword [0x42bfd4], eax
test eax, eax
je 0x40b028
push 0x402a50
push edi
call esi
push eax
call fcn.004050b5
pop ecx
mov dword [0x42bfd0], eax
mov eax, dword [0x42bfd0]
cmp eax, ebx
je 0x40b080
cmp dword [0x42bfd4], ebx
je 0x40b080
push eax
call fcn.00405130
push dword [0x42bfd4]
mov esi, eax
call fcn.00405130
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b080
test edi, edi
je 0x40b080
call esi
test eax, eax
je 0x40b077
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b077
test byte [ebp - 0xc], 1
jne 0x40b080
or dword [ebp + 0x10], 0x200000
jmp 0x40b0b9
mov eax, dword [0x42bfc8]
cmp eax, ebx
je 0x40b0b9
push eax
call fcn.00405130
pop ecx
test eax, eax
je 0x40b0b9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b0b9
mov eax, dword [0x42bfcc]
cmp eax, ebx
je 0x40b0b9
push eax
call fcn.00405130
pop ecx
test eax, eax
je 0x40b0b9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42bfc4]
call fcn.00405130
pop ecx
test eax, eax
je 0x40b0d9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b0db
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x973af7
Capabilities:
Encode data using xor

Disassembly:
pushfd
lea esp, [esp + 0x48]
ja 0x968cee
neg al
push 0x86cbaf74
mov al, byte [esp]
xor al, 0xf6
sub ebx, edi
sti
pop edi
sbb di, bx
shrd edi, esi, 3
xor di, 0x3ff8
add ebx, esp
sal al, cl
not di
lea edi, [0x614bbff]
call fcn.00b15440
scasd eax, dword es:[edi]
push esp
mov bl, 0x65
ja 0x903037
imul edx, dword [esi*2 + 0x6ef2f119], 0xffffffe3
pop ecx
dec esp
cmp byte [ebx - 0x4fc6594d], dh
jo 0x9030dc
pop ebp
xor dword [ebx + edx*2 + 0x58], 0xe6f7e55d
xchg esp, eax
xchg dword [edx], ebx
adc edx, ecx
std
out 0xb8, eax
test eax, 0x275062b6
rcr dword [edi + 0x40ab80f6], cl
invalid
sbb eax, 0x8193fe88
and al, byte [edi - 0x55dc0e4a]
cmp esi, dword [edi - 0x47c42587]
in eax, dx
lodsb al, byte [esi]
aaa
push 0x26
cmp dword [esi], esp
mov al, byte es:[0x830e9595]
insb byte es:[edi], dx
push 0x38faee05
mov dword [eax + 0x5a4a84a1], 0xc9deeac5
call 0xf0f4d522
arpl word [ebx], si
retf
test ebx, ebp
pushal
cmp edi, ebx
jmp 0x90301f
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
mov eax, section..reloc
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x48890095
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7ea17e64
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x409770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.data
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x409792
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409799
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409788
mov eax, 1
add ebx, ebx
jne 0x4097ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4097a0
jne 0x4097bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4097a0
xor ecx, ecx
sub eax, 3
jb 0x4097d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409842
mov ebp, eax
add ebx, ebx
jne 0x4097db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4097e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40980c
inc ecx
add ebx, ebx
jne 0x4097f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4097ed
jne 0x409809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4097ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40982c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40981d
jmp 0x40978e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40982c
add edi, ecx
jmp 0x40978e
pop esi
mov edi, esi
mov ecx, 0x141
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40984a
cmp byte [edi], 1
jne 0x40984a
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 0x40984f
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x4098c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9558]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x95f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40987c
mov ecx, edi
jns 0x4098ab
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 + 0x95fc]
or eax, eax
je 0x4098c1
mov dword [ebx], eax
add ebx, 4
jmp 0x409899
call dword [esi + 0x9600]
popal
jmp 0x402f5e
Function at 0x404f67
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0xa8
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x28
lea edi, [esp + 0x14]
mov ax, word [esi + 0x202c]
xor edx, edx
mov bx, ax
mov word [esp + 0x12], dx
shl ebx, 0x10
mov bx, ax
mov word [esp + 0x10], dx
mov eax, ebx
mov dword [esp + 0xc], edx
mov edx, dword [esi + 0x2028]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esp + 0x1c]
push 0x50
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
mov edx, dword [esi + 0x2028]
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esi + 0x202e]
push 0x50
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
pop edi
pop esi
pop ebx
add esp, 0xa8
ret
Function at 0x421da5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x433220
cmp edx, dword [eax]
je 0x421dc7
add eax, 8
inc ecx
cmp eax, 0x4332b0
jl 0x421db8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x433220]
jne 0x421ef5
mov eax, dword [0x440c48]
cmp eax, 1
je 0x421ecf
test eax, eax
jne 0x421df8
cmp dword [0x430c64], 1
je 0x421ecf
cmp edx, 0xfc
je 0x421ef5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x421e2f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041fc20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041fd10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x421e72
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041fd10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42c5dc
push edi
call fcn.0041ab80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041fc20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041fc30
lea eax, [ebp - 0xa0]
push 0x42c5bc
push eax
call fcn.0041fc30
push dword [esi + 0x433224]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041fc30
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00425fc8
add esp, 0x2c
pop edi
jmp 0x421ef5
lea eax, [ebp + 8]
lea esi, [esi + 0x433224]
push 0
push eax
push dword [esi]
call fcn.0041fd10
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret