joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ece4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x678
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x2c]
call fcn.00407d1e
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov dword [ebp - 8], eax
lea eax, [ebp - 0x674]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x678]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x678], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40ee71
lea eax, [ebp - 0x240]
call fcn.0040e7e8
mov eax, dword [ebp - 0x670]
mov ecx, dword [ebp - 0x660]
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
push ebx
push 0x410
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x30], ecx
call esi
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x40ed97
call fcn.0040694f
test eax, eax
je 0x40ee62
push dword [ebp - 0x240]
push ebx
push 0x1000
call esi
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40ee62
push 0x208
lea eax, [ebp - 0x44a]
push ebx
push eax
mov word [ebp - 0x44c], bx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x44c]
push eax
push dword [ebp - 4]
mov eax, edi
call fcn.0040ee98
cmp word [ebp - 0x44c], bx
je 0x40edd7
cmp word [ebp - 0x44c], 0x3f
jne 0x40ee2a
cmp dword [0x417bac], ebx
mov dword [ebp - 0xc], 0x104
jne 0x40ee10
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x40ee10
push str.QueryFullProcessImageNameW
push eax
mov dword [0x417bac], 1
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x417bb0], eax
mov eax, dword [0x417bb0]
cmp eax, ebx
je 0x40ee2a
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x44c]
push ecx
push ebx
push dword [ebp - 4]
call eax
lea esi, [ebp - 0x44c]
lea edi, [ebp - 0x23c]
call fcn.0040e943
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 4]
call fcn.0040ec8e
add esp, 0x14
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x240]
push eax
lea eax, [edi + 0x2c]
call fcn.0040ef38
lea eax, [ebp - 0x678]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40ed3b
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40eec0
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi], 0
jne 0x40ef22
push edi
push str.psapi.dll
call fcn.004074f2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp], str.GetModuleBaseNameW
push eax
mov dword [esi], eax
call edi
push str.EnumProcessModules
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.EnumProcessModulesEx
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.GetModuleFileNameExW
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.EnumProcesses
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.GetModuleInformation
push dword [esi]
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x10], eax
pop edi
ret
Function at 0x40f8cc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20000
call fcn.00411350
cmp dword [ebp + 8], 0
je 0x40f931
test esi, esi
je 0x40f91f
push 0x22
push esi
call sub.msvcrt.dll_wcschr
test eax, eax
pop ecx
pop ecx
je 0x40f91f
and word [ebp - 0x20000], 0
push esi
push str.__s_
lea eax, [ebp - 0x20000]
push 0xfffe
push eax
call sub.msvcrt.dll__snwprintf
add esp, 0x10
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20000]
push eax
jmp 0x40f923
push dword [ebp + 0x1c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
leave
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
leave
ret

Function at 0x40f949
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4004
call fcn.00411350
push esi
push edi
xor eax, eax
cmp dword [ebp + 8], eax
push 0x4000
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
mov edi, ecx
push eax
je 0x40f9a8
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x4004]
push eax
push dword [edi]
push dword [ebp + 0x14]
call fcn.00406fc4
add esp, 0x18
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
jmp 0x40f9e9
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [ebp + 0x18]
lea eax, [ebp - 0x4004]
push 0x2000
push eax
push 0x4124b4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp + 0x14]
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
push edi
lea edi, [ebp - 0x4004]
neg esi
call fcn.0040704d
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x40f9ef
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x18]
je 0x40fa0d
push dword [esi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040f87f
add esp, 0x10
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi], eax
pop ebp
ret

Function at 0x40fa3b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40fa74
mov ecx, dword [ebp - 4]
cmp ecx, 2
jb 0x40fa70
shr ecx, 1
and word [esi + ecx*2], ax
leave
ret
and word [esi], 0
leave
ret
Function at 0x40fd8e
Capabilities:
Get file size

Disassembly:
mov eax, dword [esi]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
je 0x40fda1
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [esi], ebx
push dword [esp + 0xc]
call fcn.004061f2
mov edi, eax
cmp edi, 0xffffffff
pop ecx
je 0x40fdec
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [esi + 4], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
push dword [esi + 4]
mov dword [esi], eax
push eax
push edi
call fcn.00406f3a
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x40fde5
mov eax, dword [esi]
cmp dword [eax], 0x66676572
je 0x40fde5
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop ebx
ret 4

Function at 0x4103cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [esi], 0
jne 0x41044a
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, eax
xor eax, eax
test ecx, ecx
mov dword [esi], ecx
je 0x41044d
push edi
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
push ecx
mov byte [ebp - 0x14], 0x4e
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x61
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0x12], 0x43
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 7], 0x64
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 6], 0x45
mov byte [ebp - 5], 0x78
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xc], 0x54
mov byte [ebp - 0xb], 0x68
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
pop edi
xor eax, eax
inc eax
leave
ret

Function at 0x41044f
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
mov esi, eax
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 0x144], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x140], 6
jb 0x4104fa
call fcn.004103cc
mov ebx, dword [esi + 4]
xor edx, edx
xor eax, eax
cmp ebx, edx
je 0x410512
push edi
push 8
pop esi
mov ecx, esi
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
mov dword [ebp - 8], edx
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
push edx
push edx
push edx
push 1
push dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0x24
push dword [ebp + 8]
mov dword [ebp - 0x28], 0x10003
push edx
push 0x1fffff
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], 0x10004
mov dword [ebp - 0x14], 4
mov dword [ebp + 0x14], edx
call ebx
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 0x14]
pop edi
jmp 0x410512
push dword [ebp + 0x14]
xor edx, edx
push 4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
push edx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
pop esi
pop ebx
leave
ret 0x10
Function at 0x4110b8
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x412450
call fcn.004112c8
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x4110f3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4110f3
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x41110b
cmp eax, 0x20b
je 0x4110f8
mov dword [ebp - 0x1c], edi
jmp 0x41111f
cmp dword [ecx + 0x84], 0xe
jbe 0x4110f3
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x411119
cmp dword [ecx + 0x74], 0xe
jbe 0x4110f3
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x417bcc], 0xffffffff
or dword [0x417bd0], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x41635c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x416358]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x417bc8], eax
call fcn.00401d65
cmp dword [section..data], edi
jne 0x41117c
push fcn.00401d65
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.004112b4
push 0x412428
push 0x412424
call sub.msvcrt.dll__initterm
mov eax, dword [0x416354]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x416350]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x30], eax
push 0x412420
push 0x4123f8
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x4111e2
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x41129c
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x411230
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x4111fe
cmp ax, 0x22
jne 0x4111eb
cmp word [esi], 0x22
jne 0x411209
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x411217
cmp ax, 0x20
jbe 0x411204
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x4c], 1
je 0x41123d
movzx eax, word [ebp - 0x48]
jmp 0x411240
cmp word [esi], 0x20
jbe 0x411209
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x411230
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x411261
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x411296
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00411301
ret
Function at 0x405eba
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x405ede
xor eax, eax
test eax, eax
je 0x405ef0
cmp byte [ebp + eax - 0x121], 0x5c
je 0x405ef0
xor ecx, ecx
jmp 0x405ef3
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x422acc], 0
push esi
jne 0x405fce
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 0x405fa8
mov dword [ecx*4 + 0x422ac8], eax
inc ecx
cmp ecx, 0x100
jl 0x405fa3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405fff
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 + 0x422ac8]
xor eax, esi
inc ecx
dec edx
jne 0x405fe1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6ed710fa
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x7001313e
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4062e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x80fd6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404214
call fcn.004074cb
push 4
mov dword [esp + 0x18], 0
call fcn.00408708
mov edi, eax
add esp, 4
test edi, edi
je 0x406354
push ebx
call fcn.004072c6
mov dword [edi], eax
call fcn.00407085
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0040748c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406348
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004074b4
pop ebx
jmp 0x406356
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4092db
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813364]
jne 0x4092e5
repz ret
jmp fcn.0040dd7c
Function at 0x4117f2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x813364]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b9b2
and dword [ebp - 0x14], 0
cmp dword [0x821c08], 0
mov dword [ebp - 0x18], eax
jne 0x4118a5
push 0x403e48
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41194d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e3c
push ebx
call edi
test eax, eax
je 0x41194d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e2c
push ebx
mov dword [0x821c08], eax
call edi
push eax
call esi
push 0x403e18
push ebx
mov dword [0x821c0c], eax
call edi
push eax
call esi
push 0x403dfc
push ebx
mov dword [0x821c10], eax
call edi
push eax
call esi
mov dword [0x821c18], eax
test eax, eax
je 0x4118a5
push 0x403de4
push ebx
call edi
push eax
call esi
mov dword [0x821c14], eax
mov eax, dword [0x821c14]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4118fe
cmp dword [0x821c18], ecx
je 0x4118fe
push eax
call esi
push dword [0x821c18]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4118fe
test ebx, ebx
je 0x4118fe
call edi
test eax, eax
je 0x4118f5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4118f5
test byte [ebp - 8], 1
jne 0x4118fe
or dword [ebp + 0x10], 0x200000
jmp 0x411931
mov eax, dword [0x821c0c]
cmp eax, dword [ebp - 0x18]
je 0x411931
push eax
call esi
test eax, eax
je 0x411931
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411931
mov eax, dword [0x821c10]
cmp eax, dword [ebp - 0x18]
je 0x411931
push eax
call esi
test eax, eax
je 0x411931
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x821c08]
call esi
test eax, eax
je 0x41194d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41194f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004092db
leave
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401230
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sbb eax, 0x6f
sub edi, 0x95
and edx, 0x6c
dec edi
bswap eax
rol edi, 0x1d
rcl ebx, 0x8e
sbb edi, 0x62
rcl esi, 0x1b
inc eax
rcl ebx, 0xe
sub eax, 0x7d
rcl edi, 3
dec ebx
imul edx
bswap edx
ror eax, 0x4b
neg edi
rol eax, 0xa4
inc edi
rol esi, 0xe3
inc eax
rcr edx, 0x79
bswap ebx
not eax
dec edx
not ebx
imul eax
or edx, 0x90
rol ebx, 0x10
rol edx, 0xf
inc eax
inc edi
add esi, 0x8a
bswap edi
imul ebx
sub eax, 0xb5
imul ebx
rcr edx, 0xba
or edx, 0xa9
imul edx
rcr edi, 0xf9
neg edx
ror esi, 0x1a
neg esi
rcl esi, 0x38
imul edi
or esi, 0xce
ror eax, 0x9e
mov edx, 0xbf
xor ecx, ecx
xor edi, edi
not edx
rol edi, 0xb0
inc edi
or eax, 0xd1
ror edi, 0xb5
add ebx, 0x6c
neg esi
sub ebx, 0xde
dec edx
sub edi, 0x16
imul edi
mov edx, 0xd3
not edx
imul esi
rcl eax, 0x9a
ror esi, 0xc2
neg eax
ror ebx, 0x48
and ebx, 0x29
inc edx
neg edi
rol edi, 0x6e
add eax, 0x92
imul esi
rcl edx, 0x32
rol esi, 0x67
bswap ebx
rcl eax, 0x80
sub esi, 0xe2
imul esi
ror edx, 0x9d
neg edx
mov edx, 0x5d
mov edi, 0x55
mov ebx, 0xd1
imul ebx
ror eax, 0x31
not edx
imul edi
neg edi
not edi
neg eax
ror eax, 0xf
imul ebx
or edx, 0x7d
rol edx, 0xeb
imul edi
rol edx, 0x1f
rcl esi, 0x34
sbb ebx, 5
mov ecx, dword [ebp + 0xc]
neg eax
not eax
dec esi
and eax, 0xa9
rol ebx, 0x4e
dec edi
neg eax
inc esi
imul eax
and eax, 0x9d
inc eax
bswap edx
and esi, 0x46
imul edi
mov edi, 0xd9
ror ebx, 0xcd
rol ebx, 0xa
ror esi, 0x1e
or ebx, 0xb3
bswap eax
sub edi, 0xd8
dec ebx
sbb ebx, 0xb9
not ebx
imul edi
bswap ebx
dec edx
neg edi
bswap ebx
dec edx
rcr ebx, 0xe7
rcr edx, 2
imul edi
dec eax
add eax, 0xa
sub ebx, 0x37
dec eax
ror ebx, 0x74
neg edx
rcr edx, 0xd5
neg edx
rcl edi, 0xeb
neg eax
imul edx
bswap edi
not edx
dec ebx
neg ebx
or edi, 0x6b
imul edi
mov edi, dword [ebp + 8]
mov esi, esi
xor ebx, esi
xor esi, esi
not byte [edi]
xor esi, eax
mov esi, ebx
xor esi, eax
mov ebx, esi
mov esi, ebx
mov eax, eax
xor esi, ebx
mov esi, eax
xor eax, esi
add byte [edi], 0x34
xor esi, eax
mov eax, ebx
mov esi, ebx
mov ebx, ebx
xor eax, ebx
xor eax, esi
xor ebx, esi
mov esi, ebx
xor ebx, ebx
sub byte [edi], 0x75
xor esi, eax
mov eax, ebx
mov ebx, eax
mov eax, eax
xor esi, eax
xor ebx, ebx
xor esi, eax
mov ebx, esi
mov ebx, ebx
imul byte [edi]
inc edi
loop 0x4013db
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407684
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4108f0]
jne 0x40768e
repz ret
jmp fcn.0040bb85