joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58f545
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00581afe
mov dword [ebp - 0x14], eax
cmp dword [0x63dc28], esi
jne 0x58f638
push 0x800
push esi
push 0x5f9f40
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x58f5c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x58f718
push esi
push esi
push 0x5f9f40
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x58f718
push 0x5f9f58
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x58f718
push eax
call ebx
push 0x5f9f64
push edi
mov dword [0x63dc28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f9f74
push edi
mov dword [0x63dc2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x63dc30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x63dc38], eax
test eax, eax
je 0x58f635
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x63dc34], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x58f65d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x58f650
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x58f672
push 4
pop eax
jmp 0x58f71a
cmp dword [ebp - 0x14], esi
je 0x58f672
push dword [0x63dc28]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x58f657
mov eax, dword [0x63dc34]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x58f6d0
cmp dword [0x63dc38], edi
je 0x58f6d0
push eax
call ebx
push dword [0x63dc38]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x58f6d0
test eax, eax
je 0x58f6d0
call ecx
test eax, eax
je 0x58f6c5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x58f6c5
test byte [ebp - 8], 1
jne 0x58f6d0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x58f700
mov eax, dword [0x63dc2c]
cmp eax, edi
je 0x58f6fd
push eax
call ebx
test eax, eax
je 0x58f6fd
call eax
mov esi, eax
test esi, esi
je 0x58f6fd
mov eax, dword [0x63dc30]
cmp eax, edi
je 0x58f6fd
push eax
call ebx
test eax, eax
je 0x58f6fd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x63dc28]
call ebx
test eax, eax
je 0x58f718
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58f71a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057732c
mov esp, ebp
pop ebp
ret
Function at 0x59f3c1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x402540
Capabilities:
Terminate process

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

Disassembly:
jmp 0x44767b
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x44768c
pop esi
ret
push ebx
push edi
push esi
call fcn.00447562
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00402ad1
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4476b4
push ebx
push esi
push edi
call fcn.004037c9
add esp, 0xc
push 0
call fcn.00403de1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x403837
Capabilities:
Parse pe header

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

Function at 0x438bca
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
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 0x445616
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00445b82
test al, al
jne 0x445610
sub edx, 2
cmp edx, edi
jne 0x4455f6
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x445638
lea eax, [edi + 2]
cmp edx, eax
je 0x445638
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004451c4
add esp, 0x10
jmp 0x445732
push esi
lea ecx, [ebp - 0x255]
call fcn.00445b82
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 0x44567b
push dword [ebp - 0x25c]
jmp 0x445628
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 0x4456b8
cmp word [ebp - 0x226], 0
je 0x4456d9
cmp word [ebp - 0x226], ax
jne 0x4456b8
cmp word [ebp - 0x224], 0
je 0x4456d9
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004451c4
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x445725
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x445692
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x44570d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x445732
push 0x444aaa
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004036d9
add esp, 0x10
jmp 0x445702
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.0040222f
leave
ret

Function at 0x44c0e5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00402cbb
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44c154
cmp esi, dword [ebp - 4]
je 0x44c14f
cmp dword [ebp + 0xc], 0
je 0x44c14f
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44c12c
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0044bb0d
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x44c156
xor eax, eax
inc eax
jmp 0x44c156
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x45883c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x4770d8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45887c
cmp byte [ebx], 0xa
jne 0x45887c
or byte [edi + eax + 0x28], 4
jmp 0x458881
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x458980
mov dl, byte [eax]
cmp dl, 0x1a
je 0x458963
inc eax
cmp dl, 0xd
je 0x4588ad
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4588d3
cmp eax, ecx
jae 0x4588e1
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x458895
jmp 0x458980
push 0
lea eax, [ebp - 0x10]
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 0x45895e
cmp dword [ebp - 0x10], 0
je 0x45895e
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4770d8]
test byte [eax + edi + 0x28], 0x48
je 0x458938
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x458923
mov byte [esi], dl
jmp 0x458934
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4770d8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x458980
cmp byte [ebp - 1], 0xa
jne 0x458947
cmp esi, ebx
jne 0x458947
mov byte [esi], 0xa
jmp 0x45897f
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401505
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x458980
mov byte [esi], 0xd
jmp 0x45897f
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4770d8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x45897d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x458980
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4589dc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4770d8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x458a22
cmp word [ebx], dx
jne 0x458a22
or byte [eax + edi + 0x28], 4
jmp 0x458a27
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x458b8a
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x458b6a
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x458a68
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x458a9e
cmp eax, edx
jae 0x458aac
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x458a43
jmp 0x458b8a
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x458b65
cmp dword [ebp - 0x18], 0
je 0x458b65
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4770d8]
test byte [eax + edi + 0x28], 0x48
je 0x458b3b
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x458aff
mov word [esi], cx
jmp 0x458b36
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4770d8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4770d8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4770d8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x458b8a
pop eax
cmp word [ebp - 4], ax
jne 0x458b4b
cmp esi, ebx
jne 0x458b4b
mov word [esi], ax
jmp 0x458b87
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401505
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x458b8a
push 0xd
pop eax
jmp 0x458b46
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4770d8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x458b84
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x458b8a
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x416c4f0f
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x49014397
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x419ef3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x419f2b
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x419f19
mov al, 1
jmp 0x419f7c
cmp dword [ebx + 0x54], ecx
jne 0x419f22
mov al, 2
jmp 0x419f7c
cmp dword [ebx + 0x7c], ecx
jne 0x419f7c
mov al, 3
jmp 0x419f7c
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x419f40
mov al, 4
jmp 0x419f7c
cmp ecx, 5
jne 0x419f60
cmp ebx, 0
jne 0x419f4e
mov al, 5
jmp 0x419f7c
cmp ebx, 1
jne 0x419f57
mov al, 6
jmp 0x419f7c
cmp ebx, 2
jne 0x419f60
mov al, 7
jmp 0x419f7c
cmp ecx, 6
jne 0x419f6c
cmp ebx, 0
jne 0x419f6e
mov al, 8
jmp 0x419f7c
cmp ebx, 1
jne 0x419f75
mov al, 9
cmp ebx, 2
jne 0x419f7c
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x604c60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xd2a310]
xor edx, edx
cmp eax, edx
jne 0x604c86
xor eax, eax
mov byte [eax + 0xd2a210], al
inc eax
cmp eax, 0x100
jl 0x604c6e
mov dword [0xd2a310], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xd2a210
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x604d17
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x604cea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x604cb8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x604d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x604de3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x604dca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x613870
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x685c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.006143f0
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x68a5f4]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [0x68a66c]
test eax, eax
je 0x613919
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00613500
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x68a634]
push edi
lea ecx, [esp + 0x4c]
call fcn.0067c74e
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00621fc0
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x68a0ec]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x68a69c]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x68a628]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.0067c7c0
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x63a3a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x687480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00639f50
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00639fd0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00639fd0
lea ecx, [esi + 0xc]
call fcn.00675ba7
lea ecx, [esi + 0x10]
call fcn.00675ba7
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0063b560
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0063b560
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0063b560
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00675c1c
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00675c1c
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x673dd3
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
dec edx
push ds
sub ebp, dword [ecx - 0x17a88227]
movsd dword es:[edi], dword [esi]
jp 0x673e13
cmp byte [edx + 0x74], cl
daa
call 0x52014312
sbb dword [esi], esp
call 0xfbb2f50
out 0x85, al
adc edx, dword [esi + 0x2132015d]
push ebx
int1
push ebx
invalid
dec ebp
inc ebx
add byte [edx], al
jge 0x673dec

Function at 0x67c6e5
Capabilities:
Check for software breakpoints

Disassembly:
pushfd
adc al, 0x1c
fstp st(0)
popfd
pop edi
and ebx, dword [ebx + 0x11086bcc]
stc
xchg edi, eax
add al, 0xc9
mov ebx, 0xaad69c19
mov al, byte [0x4cf0db0d]
add cl, dl
sub dword [0x68ac91f6], 0x917b8fdc
adc al, 0x89
cmc
and al, ch
das
jl 0x67c73f
fimul dword [edx - 0x1fa8006d]
dec edx
jns 0x67c782
adc dword [ebx - 0x2cb73b44], ebp
push 0x41cdf7d4
hlt
mov byte [0xbd54015], al
into
in al, 0x96
pop ebp
das
xchg edi, eax
xchg byte [ebp + 0x14], dh
sbb al, 0xb9
invalid

Function at 0x67dd1b
Capabilities:
Encode data using xor

Disassembly:
mov ch, 0x9e
mov ch, 0x6e
and dword [eax + edi*2 - 0x7eef7735], ecx
insb byte es:[edi], dx
sbb byte [edx - 0x6d], bh
invalid
mov eax, dword [0xffcf1921]
mov ebx, 0xc8faffff
dec ebx
adc eax, 0xb7002526
xchg esi, eax
jae 0x67dc61
inc ebx
nop
add eax, 0x3c96862c
push esi
wait
out dx, eax
xchg ebx, eax
inc esp
mov esi, 0x38522211
or al, 8
dec eax
push esp
fstp st(4)
push ss
mov esp, 0x9eb88c95
pop ebp
lodsd eax, dword [esi]
jmp dword [0x2056916a]
or cl, byte [edx + 0x4f]
sti
rcr dword ss:[esi + 0xb], 1
into
xchg ebp, eax
mov ebp, 0x375a8d2d
and byte [esp + ebp - 0x27856559], ch
sub al, 0xbe
sub al, 0xad
jns 0x67dd12
inc esp
je 0x67dc7b
cmpsd dword [esi], dword es:[edi]
add dh, al
shl dword [ecx], cl
inc edx
popal
push edi
mov word [eax - 0x7d7e7698], gs
xor byte [edx], cl
add dword [eax - 0x64], esp
xor bl, 0x2c
add byte [ebp - 0x1d], al
pop ecx
out 0x35, eax
popfd
cmp byte [ecx + 0x7106200], ah
xchg edi, eax
adc dl, byte [esi + edx + 0x24ec10e9]
inc eax
jno 0x67dd85
add byte [edi - 0x7416fb11], bl
jbe 0x67dcd0
xor edi, 0xffffffc0
jne 0x67dd34
cmpsb byte [esi], byte es:[edi]
and dl, al
sub dword [eax], ebx
rcr dh, 1
sbb eax, 0x8a2439a5
cmp dword [edx + ecx*4], esp
ljmp 0xf32f:0x4a09f7a9
call 0x5ef4b3d9
xlatb
or edi, 0x8b887fe8
xor esi, dword [eax - 0x2ac6784f]
fidivr dword [ebx]
cmp cl, byte [ebx]
mov cl, byte [esi - 0x12]
dec esp
inc edx
mov byte [0xa06d2ea6], al
enter 0xffffffffffffac4f, 0xffffffffffffff98
mov al, byte [0x98ac4fc8]
push edx
and eax, dword [edi - 0x2c]
or al, 0xd0
stc
scasd eax, dword es:[edi]
loop 0x67dd65
cmp ebx, edx
lahf
mov eax, dword [0xeb55ae7b]
push ebx
mov esi, 0xba89bccc
cmp dword [ecx], ebx
xor eax, 0xeec65f31
push 0xffffffffffffffa8
jp 0x67de05
sub edi, ebx
mov al, byte [0xf5da0e58]
pushfd
inc ecx
and al, 0x85
lahf
jmp [eax + 0x7f]
adc eax, 0xb99137bf
cmp bl, 0x15
inc ebx
mov ecx, 0x4315fb80
mov esi, 0x5ddc18b3
jnp 0x67de09
invalid
Function at 0x4ac0c4
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x4ac0d5
lcall 0x5de5, 0x8b10c483
jmp fcn.0163f618

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x4ac0d5
lcall 0x5de5, 0x8b10c483
jmp fcn.0163f618