joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4044dd
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x1004
call fcn.00408e10
mov eax, dword [0x42f180]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push ebp
push esi
push edi
push dword [0x43292c]
mov edi, dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov ebp, 0x1000
push ebp
lea eax, [esp + 0x18]
push eax
mov ebx, 0x425524
push ebx
push str.title
mov esi, 0x425f40
push esi
call edi
push 0x50
pop ecx
lea eax, [esp + 0x10]
mov edx, 0x431140
call fcn.0040df14
push dword [0x43292c]
lea eax, [esp + 0x14]
push ebp
push eax
push ebx
push str.info
push esi
call edi
mov ecx, ebp
lea eax, [esp + 0x10]
mov edx, 0x431580
call fcn.0040df14
push dword [0x43292c]
push 0x50
push 0x4327c0
push ebx
push str.build_info
push esi
call edi
push dword [0x43292c]
mov ebp, dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
push 1
push str.target_compile
push esi
call ebp
push dword [0x43292c]
mov dword [0x431194], eax
push 1
push str.target_optimize
push esi
call ebp
push dword [0x43292c]
mov dword [0x431190], eax
push 0xa
push 0x432590
push ebx
push str.target_version
push esi
call edi
push dword [0x43292c]
push 0x50
push 0x4312c0
push ebx
push str.name
push str.metadata
call edi
push dword [0x43292c]
push 0x104
push 0x4311a0
push ebx
push str.install_script
push esi
call edi
push dword [0x43292c]
mov ebp, 0x431550
push 0xa
push ebp
push ebx
push str.user_access_control
push esi
call edi
push 6
mov edi, str.force
mov esi, ebp
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40462b
call fcn.0040df14
test eax, eax
je 0x404688
call fcn.00403547
test eax, eax
jne 0x404688
call fcn.0040df14
jmp 0x4046cb
push 5
mov edi, str.auto
mov esi, ebp
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x404658
call fcn.0040df14
test eax, eax
je 0x404688
call fcn.00403547
test eax, eax
jne 0x404688
call fcn.0040df14
test eax, eax
je 0x404688
jmp 0x404621
cmp byte [0x431550], al
je 0x404688
push 5
mov edi, str.none
mov esi, ebp
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x404688
push eax
push str.oops
push str.Bad_user_access_control_value
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x431140
call fcn.00402766
push eax
mov dword [0x432580], eax
call fcn.0040df14
pop ecx
pop ecx
push dword [0x432814]
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov eax, dword [0x43292c]
test eax, eax
je 0x4046bb
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [0x432930]
test eax, eax
je 0x4046cb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00407875
add esp, 0x1004
ret

Function at 0x407875
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f180]
jne 0x40787f
repz ret
jmp fcn.0040bbd7
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
jmp 0x452a79
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x452a8a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0040590c
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 0x40371a
Capabilities:
Query environment variable

Disassembly:
jmp 0x49bfe2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49bff3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049bec9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c01b
push ebx
push esi
push edi
call fcn.004056ff
add esp, 0xc
push 0
call fcn.0040624e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4057bd
Capabilities:
Parse pe header

Disassembly:
jmp 0x44182f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44186e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44186e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44186e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44186e
cmp dword [ecx + 0x74], 0xe
jbe 0x44186e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x493ab7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401d84
mov eax, dword [0x4cf034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405e5c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x493af9
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x493c55
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405fb0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4d2d78]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0040326a
mov ecx, dword [esi*4 + 0x4d2d78]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x493c4e
cmp eax, dword [edi + ecx + 0x24]
jne 0x493c4e
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x493c4e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0040326a
add esp, 0x14
test edx, edx
jl 0x493c4e
jg 0x493bc4
test eax, eax
jb 0x493c4e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x493c4e
jl 0x493bde
cmp dword [ebp - 0x1008], eax
ja 0x493c4e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x493bfc
test ebx, ebx
je 0x493c35
cmp ecx, edi
jae 0x493c35
mov al, byte [ecx]
cmp al, 0xd
jne 0x493c16
lea eax, [edi - 1]
cmp ecx, eax
jae 0x493c22
cmp byte [ecx + 1], 0xa
jne 0x493c22
inc ecx
jmp 0x493c22
movzx eax, al
movsx eax, byte [eax + 0x4cf370]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x493bfc
cmp edx, ebx
jne 0x493bfc
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x493c53
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403053
leave
ret
Function at 0x494394
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 + 0x4d2d78]
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 0x4943d4
cmp byte [ebx], 0xa
jne 0x4943d4
or byte [eax + edi + 0x28], 4
jmp 0x4943d9
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4944d7
mov al, byte [edx]
cmp al, 0x1a
je 0x4944b9
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x494408
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x49442d
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x494437
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 0x4943ea
jmp 0x4944d7
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 0x4944b4
cmp dword [ebp - 0xc], 0
je 0x4944b4
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4d2d78]
test byte [eax + edi + 0x28], 0x48
je 0x49448e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x494479
mov byte [esi], dl
jmp 0x49448a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4d2d78]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4944d7
cmp byte [ebp - 1], 0xa
jne 0x49449d
cmp esi, ebx
jne 0x49449d
mov byte [esi], 0xa
jmp 0x4944d6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401929
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4944d7
mov byte [esi], 0xd
jmp 0x4944d6
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4d2d78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4944d3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4944d7
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x494533
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 + 0x4d2d78]
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 0x494576
cmp word [esi], dx
jne 0x494576
or byte [edi + eax + 0x28], 4
jmp 0x49457b
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 0x4946ce
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 0x4946ae
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4945bd
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4945f3
cmp eax, edx
jae 0x4945ff
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 0x494595
jmp 0x4946ce
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 0x4946aa
cmp dword [ebp - 0x14], 0
je 0x4946aa
mov eax, dword [ebx*4 + 0x4d2d78]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x494682
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x49464b
mov word [esi], cx
jmp 0x49467e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4d2d78]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4d2d78]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4d2d78]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4946ce
pop ebx
cmp word [ebp - 4], bx
jne 0x494693
cmp esi, dword [ebp + 0xc]
jne 0x494693
mov word [esi], bx
jmp 0x4946cb
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401929
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4946ce
push 0xd
jmp 0x4946c7
mov ecx, dword [ebx*4 + 0x4d2d78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4946c5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4946ce
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 0x49a581
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4cf034]
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 0x49a5cc
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0049aa43
test al, al
jne 0x49a5c6
sub edx, 2
cmp edx, edi
jne 0x49a5ac
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49a5ee
lea eax, [edi + 2]
cmp edx, eax
je 0x49a5ee
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0049a17a
add esp, 0x10
jmp 0x49a6e8
push esi
lea ecx, [ebp - 0x255]
call fcn.0049aa43
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 0x49a631
push dword [ebp - 0x25c]
jmp 0x49a5de
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 0x49a66e
cmp word [ebp - 0x226], 0
je 0x49a68f
cmp word [ebp - 0x226], ax
jne 0x49a66e
cmp word [ebp - 0x224], 0
je 0x49a68f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049a17a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49a6db
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x49a648
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x49a6c3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x49a6e8
push 0x499b62
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00405547
add esp, 0x10
jmp 0x49a6b8
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.00403053
leave
ret
Function at 0x678740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x192000]
mov dword [edi + 0x22baac], 0x50a683f3
push edi
jmp 0x67876a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x678771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x678760
mov eax, 1
add ebx, ebx
jne 0x678783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x678794
jne 0x6787b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6787b3
dec eax
add ebx, ebx
jne 0x6787a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x678778
add ebx, ebx
jne 0x6787af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x678805
xor ecx, ecx
sub eax, 3
jb 0x6787cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x67883a
sar eax, 1
mov ebp, eax
jmp 0x6787d6
add ebx, ebx
jne 0x6787d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6787a4
inc ecx
add ebx, ebx
jne 0x6787e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6787a4
add ebx, ebx
jne 0x6787f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6787e6
jne 0x678802
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6787e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x678824
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x678816
jmp 0x678766
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x678824
add edi, ecx
jmp 0x678766
pop esi
mov edi, esi
mov ecx, 0xc86c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x678842
cmp byte [edi], 0x2c
jne 0x678842
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 0x678847
lea edi, [esi + 0x261000]
mov eax, dword [edi]
or eax, eax
je 0x6788bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27d75c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x27d900]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x678874
mov ecx, edi
jns 0x6788a3
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 + 0x27d904]
or eax, eax
je 0x6788b9
mov dword [ebx], eax
add ebx, 4
jmp 0x678891
call dword [esi + 0x27d914]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6788f0
cmp al, 0xef
ja 0x6788e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6788c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6788d2
mov ebp, dword [esi + 0x27d908]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x678924
sub esp, 0xffffff80
jmp 0x57aa4b
Function at 0x41c1b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x5570a0
test edx, edx
jne 0x41c1cf
xor eax, eax
jmp 0x41c2ed
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x41c1ec
push esi
push edx
push eax
call fcn.0041c2f4
add esp, 0xc
jmp 0x41c2ed
push esi
push edx
push eax
call fcn.0041c5b4
add esp, 0xc
jmp 0x41c2ed
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41d8c4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x24]
mov eax, dword [ebx + 0x34]
sub eax, dword [ebx + 0x6c]
sub eax, dword [ebx + 0x64]
mov dword [ebp - 8], eax
jmp 0x41d8ff
mov edx, dword [ebx + 0x24]
sub edx, 0x106
add edx, esi
cmp edx, dword [ebx + 0x64]
ja 0x41d980
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.00540db4
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], edi
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x41d94d
mov cx, word [ebp - 4]
sub cx, si
jmp 0x41d94f
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x41d936
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x41d975
mov cx, word [ebp - 4]
sub cx, si
jmp 0x41d977
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x41d95e
add dword [ebp - 8], esi
mov edi, dword [ebx]
cmp dword [edi + 4], 0
je 0x41d9e2
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 0x30]
add edx, dword [ebx + 0x64]
add edx, dword [ebx + 0x6c]
push edx
push edi
call fcn.0041d598
add esp, 0xc
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x41d9cd
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x64]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x41d9e2
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x41d8d3
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x42ee7c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov byte [ebp - 0xc], dl
test dl, dl
jle 0x42ee8f
call fcn.0054daa0
mov ebx, ecx
mov byte [ebp - 0x2d], dl
mov dword [ebp - 4], eax
mov eax, 0x55f070
call fcn.005411bc
mov word [ebp - 0x1c], 8
mov ecx, ebx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005248fc
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 4]
add eax, 0x2015c
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x20160
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xf], 1
push 0
push 0
mov word [ebp - 0x1c], 0x14
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
lea eax, [ebp - 8]
call fcn.0054ccb0
inc dword [ebp - 0x10]
xor ecx, ecx
mov edx, dword [eax]
mov eax, dword [0x52958c]
push edx
mov dl, 1
call fcn.00529688
mov ecx, dword [ebp - 4]
mov edx, 2
mov dword [ecx + 0x30], eax
lea eax, [ebp - 8]
dec dword [ebp - 0x10]
call fcn.0054ccf4
mov dword [0x571924], 6
xor ecx, ecx
mov dword [0x571928], ecx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2016c], edx
mov ecx, dword [ebp - 0x2c]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x2d], 0
je 0x42ef53
call fcn.0054daad
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x432b68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x560df8
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
call fcn.005411bc
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov ebx, edx
lea eax, [eax + eax*4]
cmp edi, ecx
lea esi, [eax*8 + 0x5601dc]
jle 0x432bb9
mov eax, ecx
push ecx
mov ecx, 0x28
cdq
idiv ecx
pop ecx
mov al, byte [esi + edx]
xor byte [ebx], al
inc ecx
inc ebx
cmp edi, ecx
jg 0x432ba2
mov word [ebp - 0x18], 0
jmp 0x432bff
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x432c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov eax, 0x560e48
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
call fcn.005411bc
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 8
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov ebx, edx
lea eax, [eax + eax*4]
cmp edi, ecx
lea esi, [eax*8 + 0x5601dc]
jle 0x432c61
mov eax, ecx
push ecx
mov ecx, 0x28
cdq
idiv ecx
pop ecx
mov al, byte [esi + edx]
xor byte [ebx], al
inc ecx
inc ebx
cmp edi, ecx
jg 0x432c4a
mov word [ebp - 0x18], 0
jmp 0x432ca7
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret