joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, 0xd4
neg edx
rol esi, 0x27
inc eax
or eax, 0x89
not edi
inc edi
rcl eax, 0x1c
inc ebx
rcl ebx, 0x75
add ebx, 0x20
rcr esi, 0x5b
neg eax
add eax, 0xc9
rcr ebx, 0x49
and edi, 0xd4
sub eax, 0x4c
rcl esi, 0x95
bswap edi
neg eax
dec eax
rol edx, 0x3e
or eax, 0xa
not edi
ror edx, 0x24
dec edi
neg esi
not edx
inc edi
mov esi, 0x49
neg eax
bswap edx
inc eax
inc esi
mov edi, 0x86
rcl eax, 0x8e
and eax, 0x39
mov edi, 0xa0
and eax, 4
or esi, 0xc5
bswap edi
dec eax
and edx, 0xb3
dec esi
inc edx
or edi, 0x1a
not edx
sub esi, 0x8f
rol ebx, 0x1e
bswap esi
xor ecx, ecx
xor edi, edi
sub edi, 0xfa
imul ebx
mov esi, 9
bswap ebx
mov ebx, 0x4d
inc esi
ror edx, 0xc6
sub eax, 0x21
or esi, 0x59
inc ebx
neg esi
rol ebx, 0x9c
neg ebx
not edx
add esi, 0xcb
rol eax, 0
or edx, 0xe9
sbb eax, 0xc5
neg eax
rol esi, 0xa7
not edx
inc esi
not ebx
dec eax
inc edx
not ebx
rcl eax, 0xe8
add esi, 0x42
not esi
bswap ebx
sub ebx, 0xe9
rcl edi, 0xd8
ror ebx, 0xd8
sub edi, 0x25
or ebx, 0xb6
sbb edx, 0xb3
bswap edx
not ebx
imul ebx
rcl edi, 0x72
bswap edi
sub edi, 0xac
ror edx, 0x1e
rol ebx, 0x37
sub edx, 0x3c
not ebx
inc eax
mov eax, 0xd8
sub ebx, 0xff
rol eax, 4
mov ecx, dword [ebp + 0xc]
add edx, 0x40
neg edx
bswap ebx
inc edi
sub esi, 0xa8
sbb eax, 0xf2
neg edi
rol edi, 0xac
add edi, 0xa4
dec ebx
neg ebx
bswap eax
rcl eax, 0x1a
inc edi
imul edi
rcl edi, 0x4b
imul edi
mov eax, 0x76
dec esi
not edx
rcl eax, 0xc8
inc eax
ror eax, 0x5a
rcl edi, 0x3a
not edi
add edi, 0x29
add edx, 0x7e
sbb ebx, 0xe6
imul eax
sub ebx, 0x61
not ebx
mov eax, 0x66
dec edx
mov edx, 0xc
ror edi, 0x8f
inc ebx
rcl ebx, 0x6e
inc edi
not eax
inc eax
not edx
imul esi
rcr edx, 0x92
rcr ebx, 0xc
neg edi
ror ebx, 0x81
ror ebx, 0xe7
rol ebx, 0xcf
imul esi
mov edi, 0xa8
mov edi, dword [ebp + 8]
mov ebx, ebx
xor ebx, eax
xor eax, esi
not byte [edi]
xor eax, ebx
mov ebx, eax
xor eax, ebx
mov eax, esi
xor eax, ebx
xor eax, eax
mov eax, eax
xor esi, esi
mov esi, eax
add byte [edi], 0x26
xor eax, esi
mov ebx, esi
mov eax, eax
xor esi, eax
xor esi, esi
xor ebx, esi
xor ebx, ebx
mov eax, ebx
xor eax, esi
sub byte [edi], 0x86
mov ebx, ebx
xor ebx, esi
xor ebx, esi
mov eax, ebx
mov eax, eax
xor ebx, esi
mov eax, eax
mov ebx, ebx
xor esi, ebx
imul byte [edi]
inc edi
loop 0x4103d2
pop edi
pop esi
pop ebx
pop ebp
ret
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x20af526f
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x27e21122
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402e7d
Capabilities:
Terminate process

Disassembly:
jmp 0x42ce89
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x42ce9a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00404b06
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x402f7c
Capabilities:
Query environment variable

Disassembly:
jmp 0x45f409
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x45f41a
pop esi
ret
push ebx
push edi
push esi
call fcn.0045f2f0
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040370b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45f442
push ebx
push esi
push edi
call fcn.0040496c
add esp, 0xc
push 0
call fcn.0040526d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4049f8
Capabilities:
Parse pe header

Disassembly:
jmp 0x41f571
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f5b0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f5b0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f5b0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f5b0
cmp dword [ecx + 0x74], 0xe
jbe 0x41f5b0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40555b
Capabilities:
Encode data using xor
Hash data using murmur2
Resolve function by parsing pe exports

Disassembly:
jmp 0x418840
sub esp, 0x3c
mov eax, dword [0x5d2970]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
xor ecx, ecx
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x2c], eax
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], eax
test eax, eax
je 0x418a2a
nop dword [eax]
mov edx, dword [edx]
xorps xmm0, xmm0
add edx, esi
mov dword [esp + 0x40], 0
mov eax, edx
mov dword [esp + 0x44], 0
movups xmmword [esp + 0x30], xmm0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4188b1
sub eax, esi
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.004047b9
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x30]
mov ebx, dword [esp + 0x30]
mov esi, edi
xor esi, 0x235
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x44], 0x10
mov ebp, edi
cmovae eax, ebx
shr ebp, 2
xor edx, edx
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x418929
mov ebx, eax
nop word [eax + eax]
imul ecx, dword [ebx + edx*4], 0x5bd1e995
inc edx
imul esi, esi, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
xor esi, ecx
cmp edx, ebp
jl 0x418900
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
and edi, 3
xor ecx, ecx
sub edi, 1
je 0x41894f
sub edi, 1
je 0x418945
sub edi, 1
jne 0x418961
movsx ecx, byte [eax + ebp*4 + 2]
shl ecx, 0x10
movsx eax, byte [eax + ebp*4 + 1]
shl eax, 8
xor ecx, eax
mov eax, dword [esp + 0x10]
movsx eax, byte [eax + ebp*4]
xor eax, ecx
imul eax, eax, 0x5bd1e995
xor esi, eax
mov eax, esi
shr eax, 0xd
xor eax, esi
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
cmp eax, dword [esp + 0x54]
je 0x4189d7
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
add edx, 4
mov dword [esp + 0x14], edx
cmp eax, 0x10
jb 0x4189be
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4189b0
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418a43
push ecx
push ebx
call fcn.0040181b
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x28]
jb 0x418890
jmp 0x418a2a
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
cmp eax, 0x10
jb 0x418a2a
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x418a20
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418a43
push ecx
push ebx
call fcn.0040181b
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
add eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00402a36
add esp, 0x3c
ret
call fcn.00403d23
int3
Function at 0x45d1f6
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5d2970]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x45d241
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0045d7b7
test al, al
jne 0x45d23b
sub edx, 2
cmp edx, edi
jne 0x45d221
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x45d263
lea eax, [edi + 2]
cmp edx, eax
je 0x45d263
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0045cdef
add esp, 0x10
jmp 0x45d35d
push esi
lea ecx, [ebp - 0x255]
call fcn.0045d7b7
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45d2a6
push dword [ebp - 0x25c]
jmp 0x45d253
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x45d2e3
cmp word [ebp - 0x226], 0
je 0x45d304
cmp word [ebp - 0x226], ax
jne 0x45d2e3
cmp word [ebp - 0x224], 0
je 0x45d304
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0045cdef
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x45d350
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x45d2bd
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x45d338
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x45d35d
push 0x45c6d5
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040482c
add esp, 0x10
jmp 0x45d32d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402a36
leave
ret
Function at 0x46f38b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5d68f0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46f3cb
cmp byte [ebx], 0xa
jne 0x46f3cb
or byte [eax + edi + 0x28], 4
jmp 0x46f3d0
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x46f4ce
mov al, byte [edx]
cmp al, 0x1a
je 0x46f4b0
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x46f3ff
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x46f424
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x46f42e
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x46f3e1
jmp 0x46f4ce
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46f4ab
cmp dword [ebp - 0xc], 0
je 0x46f4ab
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5d68f0]
test byte [eax + edi + 0x28], 0x48
je 0x46f485
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x46f470
mov byte [esi], dl
jmp 0x46f481
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5d68f0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x46f4ce
cmp byte [ebp - 1], 0xa
jne 0x46f494
cmp esi, ebx
jne 0x46f494
mov byte [esi], 0xa
jmp 0x46f4cd
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040177b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x46f4ce
mov byte [esi], 0xd
jmp 0x46f4cd
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5d68f0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46f4ca
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46f4ce
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x46f52a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x5d68f0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46f56d
cmp word [esi], dx
jne 0x46f56d
or byte [edi + eax + 0x28], 4
jmp 0x46f572
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x46f6c5
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x46f6a5
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x46f5b4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x46f5ea
cmp eax, edx
jae 0x46f5f6
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x46f58c
jmp 0x46f6c5
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46f6a1
cmp dword [ebp - 0x14], 0
je 0x46f6a1
mov eax, dword [ebx*4 + 0x5d68f0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x46f679
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x46f642
mov word [esi], cx
jmp 0x46f675
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5d68f0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x5d68f0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5d68f0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x46f6c5
pop ebx
cmp word [ebp - 4], bx
jne 0x46f68a
cmp esi, dword [ebp + 0xc]
jne 0x46f68a
mov word [esi], bx
jmp 0x46f6c2
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040177b
add esp, 0x10
cmp word [ebp - 4], bx
je 0x46f6c5
push 0xd
jmp 0x46f6be
mov ecx, dword [ebx*4 + 0x5d68f0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x46f6bc
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x46f6c5
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1abe00df
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2f04734f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
or esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
push edx
pop edi
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
push esi
pop eax
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
push eax
pop esi
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x64d93e30
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x54683c6f
nop
nop
nop
nop
nop
test eax, eax
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

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

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

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

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