joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4021e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [0x40b390]
mov eax, dword [0x40b394]
push esi
mov esi, ecx
mov dword [0x40ad6c], edx
push edi
lea edi, [edx + 0x600]
mov dword [ebp - 0xc], ecx
mov dword [0x40ad55], edi
mov dword [0x40ad5a], eax
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x402212
sub esi, edx
cmp byte [0x40b388], al
je 0x40224b
lea eax, [ebp - 8]
mov dword [ebp - 8], 2
push eax
push 0x40
push 0x400
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push dword [ebp - 0xc]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x40225c
push 0
push esi
push ecx
push edi
push dword [0x40b38c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [0x40b390]
add eax, 0x600
mov byte [ebp - 4], 0
add esi, eax
cmp byte [0x40b388], 0
je 0x402295
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 2
push eax
push 0x40
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp - 4]
mov byte [esi], al
jmp 0x4022aa
push 0
push 1
lea eax, [ebp - 4]
push eax
push esi
push dword [0x40b38c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, 0x1d
mov ecx, 0x40ad54
call fcn.00401340
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4042f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x40431c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x404344
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x40434a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x4043b2
jg 0x404361
test esi, esi
je 0x4043b2
test ecx, ecx
jl 0x4043ad
jg 0x40436b
test eax, eax
je 0x4043ad
cmp edi, ecx
jg 0x40437f
jl 0x404375
cmp esi, eax
jae 0x40437f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x4043b5
mov ecx, dword [ebp + 8]
jmp 0x4043bf
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x4043d9
jg 0x4043bf
test esi, esi
je 0x4043d9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4043d9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4043f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
test eax, eax
jg 0x404414
jl 0x404409
test ecx, ecx
jne 0x404414
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x40442e
push eax
push ecx
push dword [ebp + 8]
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push esi
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x40447a
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 4], edx
mov eax, dword [eax]
test eax, eax
je 0x404480
mov edi, dword [ebp + 8]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp + 8], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x404480
lea eax, [ebx + 0x2c]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
mov esi, dword [ebp + 8]
je 0x4044f6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4044ac
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x4044e4
nop dword [eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x4044f6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x4044c0
test edi, edi
je 0x4044f6
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x40a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x4048a0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405472
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4048dc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4048dc
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405472
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x4049b3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x404904
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x404910
movsx eax, bl
jmp 0x404948
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x404972
sub eax, 1
je 0x404972
sub eax, 2
jne 0x4049b3
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405472
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x404990
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x4049b3
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405472
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405472
mov esp, ebp
pop ebp
ret 4
Function at 0x404d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x40a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x404dfc
cmp byte [esi + 0x3d], 0
je 0x404dfc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x404dea
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x404db1
sub eax, 1
je 0x404db5
sub eax, 2
jne 0x404dea
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405472
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x404dd3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x404dea
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405472
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405472
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00405472
mov esp, ebp
pop ebp
ret

Function at 0x405d13
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x65ef1ce4
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
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
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x17626af5
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x8ccbb7
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x8cc92e
sub edi, ebx
add edi, edi
call fcn.008ccbee
sub ebx, 0x2209f11a
inc edi
xor dword [edx], ecx
add edi, ebx
inc ebx
sub ebx, edi
inc edx
mov edi, edi
sub ebx, 0xd174d9d5
inc ebx
cmp edx, eax
jne fcn.008ccbb7
add ebx, ebx
inc edi
dec edi
ret
Function at 0x403d7b
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40865c
sub al, 0x20
jmp 0x40865c
push esi
push edi
push ebx
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
jmp 0x40825a
mov esi, dword [edx + 0x28]
mov ecx, 0x18
xor edi, edi
jmp 0x401c46
ror edi, 0xd
add edi, eax
dec ecx
jne 0x401c46
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40825a
mov eax, ebx
pop ebx
pop edi
pop esi
ret
Function at 0x404873
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp - 0x14]
jmp 0x40e262
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
add eax, 0xf8
mov dword [ebp - 0x44], eax
mov ecx, 8
imul ecx, ecx, 0
mov edx, dword [ebp - 0x20]
lea eax, [ecx + edx + 0x78]
mov dword [ebp - 0x18], eax
mov ecx, 8
imul ecx, ecx, 0
mov edx, dword [ebp - 0x18]
cmp dword [ecx + edx], 0
je 0x402f98
mov eax, 8
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + ecx]
mov dword [ebp - 0x1c], edx
mov eax, 8
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + ecx + 4]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], 0
jmp 0x40dd23
xor eax, eax
jmp 0x40e262
push ebp
mov ebp, esp
sub esp, 0x84
cmp dword [ebp + 8], 0
jne 0x401c65
xor eax, eax
jmp 0x40e262
jmp 0x407dfe
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x2e
je 0x40cda2
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x406137
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x40dd23
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
lea eax, [ebp - 0x84]
push eax
call dword [0x4131f4]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040cc42
push eax
mov edx, dword [ebp - 0x38]
push edx
call fcn.00404873
jmp 0x40e262
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x14]
jae 0x402f98
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x18]
jae 0x404dd1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0040cc42
cmp eax, dword [ebp + 0xc]
jne 0x404dd1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], ecx
jb 0x4014e8
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x30]
cmp dword [ebp - 0x14], edx
jae 0x4014e8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov ecx, 1
imul ecx, ecx, 0
lea edx, [ecx + ebp - 0x84]
mov dword [ebp - 0x10], edx
jmp 0x406137
mov esp, ebp
pop ebp
ret 8
Function at 0x405900
Capabilities:
Hash data with crc32

Disassembly:
cmp dword [ebp - 0xc], 0
jle 0x40c3a2
mov eax, dword [ebp - 4]
and eax, 1
je 0x404776
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
jmp 0x403bc0
jmp 0x40d6a3
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x403bc0
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0xedb88320
mov dword [ebp - 8], 0
jmp 0x40e93c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x40e93c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x46cfd0], ecx
jmp 0x409719
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
jmp 0x402165
cmp dword [ebp - 8], 0x100
jge 0x407eea
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 8
jmp 0x402165

Function at 0x407d21
Capabilities:
Check os version

Disassembly:
cmp dword [0x46cf60], 0
je 0x407b2c
mov dword [ebp - 4], 3
jmp 0x40bebe
lea edx, [ebp - 0x114]
push edx
call fcn.0040895b
add esp, 4
push 0
push 0x30000080
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x114]
push eax
call dword [0x413030]
mov dword [0x46cfcc], eax
cmp dword [0x46cfcc], 0xffffffff
jne 0x40880d
xor eax, eax
jmp 0x40c393
call fcn.0040acfc
test eax, eax
jne 0x40c213
xor eax, eax
jmp 0x40c393
push 0x46c2bc
push 1
call fcn.0040c33b
add esp, 8
mov dword [0x46c2b8], eax
jmp 0x403072
mov dword [ebp - 4], 2
jmp 0x40bebe
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
call dword [0x41303c]
push eax
call fcn.00401b2c
add esp, 4
movzx ecx, al
mov dword [0x46cf60], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 5
je 0x40655c
jmp 0x402fc9
push 0
lea ecx, [ebp - 0x10]
push ecx
push 8
push 0x46cb20
push 0
push 0
push 0x7405c
mov edx, dword [0x46cfcc]
push edx
call dword [0x46cfa8]
test eax, eax
jne 0x409e38
xor eax, eax
jmp 0x40c393
mov eax, dword [0x46cb20]
mov edx, dword [0x46cb24]
mov cl, 9
call fcn.0040572b
mov dword [0x46cb28], eax
mov dword [0x46cb2c], edx
mov eax, dword [0x46cfcc]
push eax
call fcn.0040bdea
add esp, 4
push 0x46c510
call fcn.00401314
add esp, 4
test eax, eax
jne 0x40bcde
xor eax, eax
jmp 0x40c393
call fcn.0040d5c6
mov dword [0x46cb30], eax
mov dword [0x46cb34], edx
mov ecx, dword [0x46cb30]
or ecx, dword [0x46cb34]
jne 0x403d94
mov edx, dword [ebp - 8]
cmp dword [edx + 0xa4], 5
jne 0x40cbf2
mov eax, dword [0x46cb28]
sub eax, 0x800
mov ecx, dword [0x46cb2c]
sbb ecx, 0
mov dword [0x46cb30], eax
mov dword [0x46cb34], ecx
jmp 0x403d94
push 0x46c2bc
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040c33b
add esp, 8
mov dword [0x46c2b8], eax
jmp 0x403072
mov edx, dword [0x46cfcc]
push edx
call dword [0x46cfc0]
mov eax, 1
jmp 0x40c393
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x40c393
Function at 0x40aea4
Capabilities:
Check os version

Disassembly:
call fcn.0040c13c
test eax, eax
jne 0x4044bc
jmp 0x40bfa2
push 0
call dword [0x413038]
jmp 0x40bfa2
call fcn.00403aee
test eax, eax
jne 0x40a95e
jmp 0x40bfa2
call fcn.004043ad
call fcn.00407d21
test eax, eax
je 0x402b44
push 0x927c0
call dword [0x46cf9c]
call fcn.004023f2
jmp 0x402b44
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
call fcn.0040d1f6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xa4], 5
jbe 0x401bd2
call fcn.00404369
jmp 0x401bd2
mov esp, ebp
pop ebp
ret

Function at 0x40b923
Capabilities:
Hash data using jshash

Disassembly:
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x404787
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0x403d60
mov esi, dword [ebp - 4]
shl esi, 5
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
push ecx
call fcn.0040c911
add esp, 4
add esi, eax
mov edx, dword [ebp - 4]
shr edx, 2
add esi, edx
xor esi, dword [ebp - 4]
mov dword [ebp - 4], esi
jmp 0x402983
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 4], 0x4e67c6a7
mov dword [ebp - 8], 0
mov dword [ebp - 8], 0
jmp 0x404787

Function at 0x40bc6b
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
lodsb al, byte [esi]
mov ebx, edx
shl ebx, 5
add eax, ebx
mov ebx, edx
shr ebx, 2
add eax, ebx
xor edx, eax
dec ecx
cmp ecx, 0
jne 0x402f59
mov eax, edx
pop esi
pop edx
pop ecx
pop ebx
pop ebp
ret 4
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
mov esi, dword [ebp + 8]
mov edx, 0x4e67c6a7
mov ecx, 0x10
jmp 0x402f59

Function at 0x40e911
Capabilities:
Encode data using xor

Disassembly:
lodsb al, byte [esi]
xor dl, al
shl edx, 1
dec ecx
jne 0x40a9f3
mov eax, edx
pop esi
pop edx
pop ecx
pop ebp
ret 8
push ebp
mov ebp, esp
push ecx
push edx
push esi
mov edx, 0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp + 8]
jmp 0x40a9f3
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp loc.00401219