joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a898
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100260ac], 0
mov byte [0x100260b0], 0
mov edi, dword [0x100260a0]
add edi, 0xfffffade
mov dword [0x100260a4], edi
mov dword [0x100260a8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1001a912
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [0x100260a4]
add ecx, 0xffffeabb
mov dword [0x100260a0], ecx
mov dword [0x100260a8], 0
mov dword [ebp - 0x20], eax
jmp 0x1001a93a
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100260a8]
add eax, 1
mov dword [0x100260a8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1001a912
jmp 0x1001a8ef
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x100260b4], 0
mov edi, dword [0x100260ac]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x100260b4], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x100260ac], edx
mov dword [0x100260a0], 0x203
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x100260b0], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x100260a0], 0x2364
mov cl, byte [0x100260b0]
mov esi, dword [0x100260ac]
mov byte [ebx + esi], cl
mov esi, dword [0x100260a0]
add esi, 0x1ab4
mov dword [0x100260a4], esi
mov esi, dword [0x100260a8]
add esi, 1
mov dword [0x100260a8], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1001a93a
jmp 0x1001a8e7
Function at 0x1001ac19
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x100260a0], 0xa46
mov dword [0x100260a8], 0
mov dword [0x100260ac], 0
mov dword [0x100260b8], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1001ad76
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, ecx
add edi, 1
add edx, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x100260a8], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100260ac], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x100260b0], cl
mov dword [0x100260a4], 0x111a
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x100260b0]
mov edx, dword [0x100260ac]
mov byte [ebx + edx], cl
mov dword [0x100260a0], 0x126d
mov edx, dword [0x100260a8]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x100260ac]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x100260a0], 0xffffebc4
and ecx, 0xff
mov dword [0x100260b8], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov edx, dword [0x100260a4]
add edx, 0x4c1
mov dword [0x100260a0], edx
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1001ad76
mov eax, dword [0x100260a8]
mov ecx, dword [0x100260ac]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1001ac7c
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1001ad7e
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1001a484
lea ecx, [0x10019bd6]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], 0x15d600
mov edx, dword [0x1002608c]
mov dword [esp + 0x5c], edx
mov edx, dword [0x10026090]
mov dword [esp + 0x24], edx
mov edx, dword [0x10026094]
mov dword [esp + 0x48], edx
mov edx, dword [0x10026098]
mov dword [esp + 0x68], edx
mov edx, dword [0x1002609c]
mov dword [esp + 0x30], edx
mov dword [0x100260a0], 0x526
mov dword [0x100260a4], 0x4cf
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1001ae4f
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10019a84
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x10], eax
jmp 0x1001aea6
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1001ae72
jmp 0x1001ae5e
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
je 0x1001ae39
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1001ae4f
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov dword [0x100260a0], 0x23a7
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x70], edx
call fcn.1001a342
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x1001ae0a
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x30007514
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc84
mov eax, dword [0x30001dbc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x22c], edi
mov dword [ebp - 0xc30], esi
mov dword [ebp - 0xc2c], ebx
mov dword [ebp - 0xc28], eax
jne 0x30007564
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x30007564
mov eax, 0xc6c8120d
jmp 0x30007732
push edi
push 0x30001bd4
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x300075b5
lea ecx, [ebp - 0xc]
push ecx
push 0x7d0
push edi
push edi
push edi
push 0x407
push eax
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x300075b5
cmp dword [ebp - 0xc], 0xa
jb 0x300075b5
push dword [esi + 0x22c]
push dword [ebp - 0xc28]
push ebx
call fcn.3000726a
mov eax, 0xc6c81211
jmp 0x30007732
push 0x104
lea eax, [ebp - 0x624]
push eax
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x30007711
mov eax, 0x100
push eax
lea ecx, [ebp - 0x824]
push ecx
push eax
lea ecx, [ebp - 0xc24]
push ecx
push eax
lea eax, [ebp - 0xa24]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.MSVCR80.dll__wsplitpath_s]
lea eax, [ebp - 0x824]
push eax
push 0x30001c08
lea eax, [ebp - 0xa24]
push eax
lea eax, [ebp - 0xc]
push eax
mov esi, 0x30c
lea eax, [ebp - 0x624]
push esi
push eax
call dword [sym.imp.MSVCR80.dll__wmakepath_s]
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0xc84]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0x48
cmp dword [ebp - 0xc28], edi
mov dword [ebp - 0xc84], ebx
mov ebx, 0x30001c04
je 0x30007686
push 0x30001bf0
push esi
lea eax, [ebp - 0x624]
push eax
call fcn.30007498
push dword [ebp - 0xc28]
lea eax, [ebp - 0x624]
push esi
push eax
call fcn.30007498
call dword [ebx + 0x56]
lea eax, [ebp - 0x624]
push eax
call fcn.30007498
push 0x30001be8
push esi
lea eax, [ebp - 0x624]
push eax
call fcn.30007498
push dword [ebp - 0xc2c]
lea eax, [ebp - 0x624]
push esi
push eax
call fcn.30007498
push ebx
push esi
lea eax, [ebp - 0x624]
push eax
call fcn.30007498
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0xc84]
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
lea eax, [ebp - 0x624]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
cmp ebx, edi
je 0x3000770b
push 0xbb8
push dword [ebp - 0xc40]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0xc3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc40]
call esi
jmp 0x30007730
mov esi, dword [ebp - 0xc30]
push dword [esi + 0x22c]
push dword [ebp - 0xc28]
push dword [ebp - 0xc2c]
call fcn.3000726a
cmp ebx, edi
je 0x3000755a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.3000adb6
leave
ret 8
Function at 0x3000ab40
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x30001dbc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.3000aad5
mov eax, 0x30000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x3000ab8f
cmp dword [ebp - 0x1c], 5
jb 0x3000aba7
jmp 0x3000aba3
cmp dword [ebp - 0x10], 1
jne 0x3000aba7
cmp dword [ebp - 0x1c], 4
ja 0x3000aba3
jne 0x3000aba7
cmp dword [ebp - 0x18], 0
jbe 0x3000aba7
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x30001dac
call fcn.30002e0e
test eax, eax
jge 0x3000abc8
mov byte [0x30011608], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.3000adb6
add ebp, 0x78
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x30001ddc
push 0x30001dc0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x3000ad37
push 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov ebx, 0x30001dbc
push ebx
call edi
test esi, esi
mov dword [0x30001dbc], esi
jne 0x3000ad9b
mov dword [0x30001dbc], 0xbb40e64e
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push ebx
call edi
pop edi
pop esi
mov dword [0x3001150c], 0x44bf19b1
pop ebx
leave
ret
Function at 0x3000adb6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x30001dbc]
jne 0x3000ba21
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x30011a50], eax
mov dword [0x30011a4c], ecx
mov dword [0x30011a48], edx
mov dword [0x30011a44], ebx
mov dword [0x30011a40], esi
mov dword [0x30011a3c], edi
mov word [0x30011a68], ss
mov word [0x30011a5c], cs
mov word [0x30011a38], ds
mov word [0x30011a34], es
mov word [0x30011a30], fs
mov word [0x30011a2c], gs
pushfd
pop dword [0x30011a60]
mov eax, dword [ebp]
mov dword [0x30011a54], eax
mov eax, dword [ebp + 4]
mov dword [0x30011a58], eax
lea eax, [ebp + 8]
mov dword [0x30011a64], eax
mov eax, dword [ebp - 0x320]
mov dword [0x300119a0], 0x10001
mov eax, dword [0x30011a58]
mov dword [0x30011954], eax
mov dword [0x30011948], 0xc0000409
mov dword [0x3001194c], 1
mov eax, dword [0x30001dbc]
mov dword [ebp - 0x328], eax
mov eax, dword [0x3001150c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x30011998], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x30002138
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x30011998], 0
jne 0x3000bb11
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x3000adce
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x30001e08
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x3000ae26
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push 0
push 0
push 0x30001e00
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x3000ae26
mov al, 1
jmp 0x3000ae28
xor al, al
leave
ret 8
Function at 0x4120ea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4548d0]
jne 0x4120f4
repz ret
jmp fcn.00419605

Function at 0x41efab
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.004168b1
and dword [ebp - 4], 0
cmp dword [0x4564cc], 0
mov ebx, eax
jne 0x41f05c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41f10d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x426f7c
push edi
call esi
test eax, eax
je 0x41f10d
push eax
call fcn.0041683f
mov dword [esp], 0x426f6c
push edi
mov dword [0x4564cc], eax
call esi
push eax
call fcn.0041683f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4564d0], eax
call esi
push eax
call fcn.0041683f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4564d4], eax
call esi
push eax
call fcn.0041683f
pop ecx
mov dword [0x4564dc], eax
test eax, eax
je 0x41f05c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041683f
pop ecx
mov dword [0x4564d8], eax
mov eax, dword [0x4564d8]
cmp eax, ebx
je 0x41f0b4
cmp dword [0x4564dc], ebx
je 0x41f0b4
push eax
call fcn.004168ba
push dword [0x4564dc]
mov esi, eax
call fcn.004168ba
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41f0b4
test edi, edi
je 0x41f0b4
call esi
test eax, eax
je 0x41f0ab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41f0ab
test byte [ebp - 0xc], 1
jne 0x41f0b4
or dword [ebp + 0x10], 0x200000
jmp 0x41f0ed
mov eax, dword [0x4564d0]
cmp eax, ebx
je 0x41f0ed
push eax
call fcn.004168ba
pop ecx
test eax, eax
je 0x41f0ed
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41f0ed
mov eax, dword [0x4564d4]
cmp eax, ebx
je 0x41f0ed
push eax
call fcn.004168ba
pop ecx
test eax, eax
je 0x41f0ed
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4564cc]
call fcn.004168ba
pop ecx
test eax, eax
je 0x41f10d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41f10f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f993
Capabilities:
Parse pe header

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

Function at 0x432150
Capabilities:
Parse pe header

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

Function at 0x40e640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x40e65a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e661
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e650
mov eax, 1
add ebx, ebx
jne 0x40e673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e668
jne 0x40e684
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e668
xor ecx, ecx
sub eax, 3
jb 0x40e698
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e70a
mov ebp, eax
add ebx, ebx
jne 0x40e6a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e6b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e6d4
inc ecx
add ebx, ebx
jne 0x40e6c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e6b5
jne 0x40e6d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e6b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e6f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e6e5
jmp 0x40e656
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e6f4
add edi, ecx
jmp 0x40e656
pop esi
mov edi, esi
mov ecx, 0x13c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e712
cmp byte [edi], 6
jne 0x40e712
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40e717
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e786
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xefd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf034]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e744
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf03c]
or eax, eax
je 0x40e780
mov dword [ebx], eax
add ebx, 4
jmp 0x40e761
call dword [esi + 0xf038]
mov ebp, dword [esi + 0xf040]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40e7ba
sub esp, 0xffffff80
jmp 0x407b04
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
nop
push 1
nop
pop eax
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
sub ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
push esi
pop edi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
push edi
pop ecx
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x408913
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.00408936
inc eax
sub eax, edi
xor dword [ebx], edx
push eax
pop eax
inc ebx
sub eax, 0x65897033
cmp ebx, ecx
jne fcn.00408913
sub eax, 0xbdb5fbd8
ret
Function at 0x41296a
Capabilities:
Terminate process

Disassembly:
jmp 0x417eb0
push ebx
push ecx
push edx
push ebp
mov ebp, esp
sub esp, 8
mov eax, 1
call fcn.0041beb0
mov eax, dword [0x425fc4]
add eax, 3
and al, 0xfc
xor edx, edx
sub esp, eax
mov ecx, esp
mov ebx, dword [0x425fc4]
mov eax, ecx
call fcn.00412a00
mov eax, dword [0x425fc4]
mov dword [ecx + 0x104], eax
mov eax, ecx
mov edx, ecx
call fcn.0041bf60
lea eax, [ebp - 8]
call fcn.0041a560
mov ecx, dword [0x425f90]
add ecx, 3
and cl, 0xfc
call fcn.0041bf90
cmp ecx, eax
jb 0x417f42
xor eax, eax
mov ecx, dword [0x425f90]
add eax, ecx
mov dword [0x425f94], eax
call fcn.0041bfb0
push 0xa
mov eax, dword [0x425f70]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call fcn.00401290
jmp 0x41bfb2
push ecx
call fcn.0041c055
mov eax, dword [0x425f90]
add eax, 3
and al, 0xfc
sub esp, eax
mov eax, esp
jmp 0x417f13
mov ecx, eax
call dword [0x425fc8]
cmp dword [0x427ad0], 0
je 0x41bfef
cmp dword [0x425e00], 0
je 0x41bfdc
mov edx, 0xff
mov eax, 0x10
call dword [0x425e00]
call dword [0x425fc8]
call dword [0x425fcc]
mov eax, ecx
jmp fcn.0041a5c0
mov edx, 0xff
mov eax, 0x10
call fcn.0041bf00
jmp 0x41bfdc

Function at 0x414060
Capabilities:
Get common file path

Disassembly:
push ebx
push ecx
push esi
push edi
sub esp, 0x104
mov edi, eax
mov ebx, edx
mov eax, esp
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
mov ecx, eax
test eax, eax
je 0x4140b2
inc eax
test edi, edi
jne 0x4140b9
cmp ebx, eax
jbe 0x41408d
mov eax, ebx
call fcn.00418a90
mov edi, eax
test eax, eax
jne 0x4140cc
call dword [0x425c88]
mov dword [eax + 4], 5
xor eax, eax
add esp, 0x104
pop edi
pop esi
pop ecx
pop ebx
ret
call fcn.00418be0
jmp 0x4140a5
cmp eax, ebx
jbe 0x4140cc
call dword [0x425c88]
mov dword [eax + 4], 0xe
jmp 0x4140a5
mov esi, esp
inc ecx
push edi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov cl, al
and cl, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, edi
add esp, 0x104
pop edi
pop esi
pop ecx
pop ebx
ret