joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47dec0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x47df4c
push esi
call fcn.00490d30
add esp, 4
test al, al
jne 0x47df4c
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x47dee3
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0049c7e0
add esp, 0xc
test eax, eax
je 0x47df17
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0049c7e0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x47df19
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x47df45
mov al, byte [esi]
push eax
call fcn.0048d200
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x47df27
pop edi
movzx eax, bl
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x49d9b0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.0052f572
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x49d9d6
cmp ecx, 0xffffffff
cmovne eax, ecx
ret

Function at 0x4aecc0
Capabilities:
Check http status code

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea eax, [ecx - 0xc8]
xor edi, edi
mov ebx, dword [esi + 0xc]
cmp eax, 0x64
jb 0x4aecf0
push str.Couldnt_set_desired_mode
push esi
call fcn.004897a0
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
ret
cmp ecx, 0xc8
je 0x4aed07
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200
push esi
call fcn.00489870
add esp, 0xc
mov al, byte [esp + 0x18]
push ebp
cmp al, 0x13
jne 0x4aed21
push ebx
push esi
call fcn.004aebc0
add esp, 8
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x14
jne 0x4aee2d
mov edi, dword [esi + 0xc]
xor ebx, ebx
cmp byte [esi + 0x4d0], 2
mov dword [esp + 0x18], edi
jne 0x4aed9e
mov eax, dword [esi + 0x124]
mov eax, dword [eax]
test eax, eax
je 0x4aed9e
push 3
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
push ebx
push eax
call fcn.004b3e30
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4aee58
push 0x2f
push dword [esp + 0x18]
call fcn.005226f0
add esp, 8
test eax, eax
je 0x4aed8d
mov ebx, dword [esp + 0x14]
mov ecx, 1
sub eax, ebx
cmovne ecx, eax
mov byte [ecx + ebx], 0
jmp 0x4aed9a
push dword [esp + 0x14]
call dword [fcn.00679004]
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x504]
test ecx, ecx
jne 0x4aedbc
cmp byte [esi + 0xd5f], 0
mov ecx, str.NLST
mov eax, str.LIST
cmove ecx, eax
mov edx, 0x66501d
test ebx, ebx
mov eax, edx
cmovne eax, ebx
push eax
mov eax, 0x665bb0
cmove eax, edx
push eax
push ecx
push 0x553a60
call fcn.00499d40
push ebx
mov ebp, eax
call dword [fcn.00679004]
add esp, 0x14
test ebp, ebp
jne 0x4aedf9
mov edi, 0x1b
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
push ebp
push 0x552744
lea eax, [edi + 0x378]
push eax
push esi
call fcn.004c2ca0
push ebp
mov edi, eax
call dword [fcn.00679004]
add esp, 0x14
test edi, edi
jne 0x4aee58
mov eax, dword [esi + 0xc]
pop ebp
mov byte [eax + 0x416], 0x1f
mov eax, edi
pop edi
pop esi
pop ebx
ret
cmp al, 0x15
jne 0x4aee45
push 0xd
push 1
push esi
call fcn.004ae720
add esp, 0xc
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x16
jne 0x4aee58
push 0xe
push 1
push esi
call fcn.004ae720
add esp, 0xc
mov edi, eax
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x4d228a
Capabilities:
Parse pe header

Disassembly:
push 0
push eax
call fcn.00da23a5
test eax, eax
je 0x4d22c9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4d22c9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4d22c9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4d22c9
cmp dword [ecx + 0x74], 0xe
jbe 0x4d22c9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4db880
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
and eax, 0x20000000
je 0x4db8cb
mov ecx, dword [ebp + 8]
and ecx, 0x80000000
je 0x4db8ae
mov dword [ebp - 4], 0x40
jmp 0x4db8c9
mov edx, dword [ebp + 8]
and edx, 0x40000000
je 0x4db8c2
mov dword [ebp - 4], 0x20
jmp 0x4db8c9
mov dword [ebp - 4], 0x10
jmp 0x4db8f9
mov eax, dword [ebp + 8]
and eax, 0x80000000
je 0x4db8de
mov dword [ebp - 4], 4
jmp 0x4db8f9
mov ecx, dword [ebp + 8]
and ecx, 0x40000000
je 0x4db8f2
mov dword [ebp - 4], 2
jmp 0x4db8f9
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x4e4840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f964
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004d6530
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 0x18], ecx
push 0
mov ecx, dword [ebp - 0x18]
call fcn.004d6530
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 8
mov dword [ebp - 0x1c], edx
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.004d6530
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0xd], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xe], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xf], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
xor edx, edx
xor eax, eax
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
mov dword [ebp - 0x20], ecx
push 0
mov ecx, dword [ebp - 0x20]
call fcn.004d6530
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.004d6ad0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.004e4790
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.004e4790
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.0041e1e0
mov ecx, dword [ebp - 0x10]
add ecx, 0xac
call fcn.0041e1e0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e5800
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x4e582c
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004e4b30
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004e4ba0
movzx ecx, al
test ecx, ecx
jne 0x4e5848
mov eax, 0xc0000141
jmp 0x4e59b5
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004d7e40
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x4e586d
mov eax, 0xc000007b
jmp 0x4e59b5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14]
cmp dword [edx], 0x4550
je 0x4e58a0
mov eax, 0xc000007b
jmp 0x4e59b5
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004d6200
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
movzx ecx, word [eax + 0x18]
cmp ecx, 0x20b
jne 0x4e58da
mov edx, dword [ebp - 8]
mov byte [edx + 0xd], 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004e35a0
jmp 0x4e58f0
mov edx, dword [ebp - 8]
mov byte [edx + 0xd], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004e3620
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
movzx ecx, word [eax + 0x16]
and ecx, 0x2000
jne 0x4e590b
mov dword [ebp - 0x1c], 1
jmp 0x4e5912
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x1c]
mov byte [edx + 0xe], al
push 1
push 0xe
mov ecx, dword [ebp - 8]
call fcn.004e4bc0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4e5941
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
and edx, 1
je 0x4e5941
mov byte [ebp - 1], 1
jmp 0x4e5945
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 1]
mov byte [eax + 0xf], cl
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0xf]
test eax, eax
je 0x4e5972
mov ecx, dword [ebp - 8]
add ecx, 8
call fcn.004d7e40
mov ecx, dword [ebp - 0x14]
sub ecx, eax
add ecx, 0x10
mov edx, dword [ebp - 8]
mov dword [edx + 0x40], ecx
mov dword [ebp - 0x18], 0
jmp 0x4e598d
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x18], ecx
jge 0x4e59b3
mov edx, dword [ebp - 8]
add edx, 0x48
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.004e4630
jmp 0x4e597b
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4f6260
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov dword [ebp - 4], ecx
push 0x40
push 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00522010
add esp, 0xc
push 0xf8
push 0
lea ecx, [ebp - 0x144]
push ecx
call fcn.00522010
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
push 0
lea ecx, [ebp - 0x4c]
push ecx
push 0x40
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.004f20c0
test eax, eax
jne 0x4f6302
movzx ecx, word [ebp - 0x4c]
cmp ecx, 0x5a4d
jne 0x4f6302
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
push 0
lea ecx, [ebp - 0x144]
push ecx
push 0xf8
mov eax, dword [ebp - 0x10]
cdq
add eax, dword [ebp + 8]
adc edx, dword [ebp + 0xc]
push edx
push eax
mov ecx, dword [ebp - 0xc]
call fcn.004f20c0
test eax, eax
jne 0x4f6302
cmp dword [ebp - 0x144], 0x4550
jne 0x4f6302
mov al, 1
jmp 0x4f6304
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x501210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.005011f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0041e1e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 0x24
mov dword [ebp - 0x14], edx
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004d6530
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x10]
xor ecx, ecx
xor edx, edx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x40], 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
add edx, 0x41
mov dword [edx], ecx
call fcn.00f6a795

Function at 0x5038a0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550ce5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov ecx, 1
mov edx, 0x8bfc70
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x503943
call fcn.00503c60
push 0x5666b4
lea ecx, [ebp - 0x24]
call fcn.0041e0f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.00503ac0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041dfb0
push str.SeLoadDriverPrivilege
lea ecx, [ebp - 0x3c]
call fcn.0041e0f0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00503ac0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041dfb0
call fcn.00503ec0
call fcn.004fe470
mov ecx, eax
call fcn.004fe410
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x520720
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
je 0x520741
cmp dword [ebp + 0xc], 0
jne 0x52073b
cmp dword [ebp + 0x10], 0
je 0x520741
cmp dword [ebp + 0x14], 0
jne 0x520745
xor al, al
jmp 0x5207a9
mov byte [ebp - 1], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
push 0x33
call fcn.0052075c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x520a80
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
cmp dword [ebp + 8], 0
je 0x520aa1
cmp dword [ebp + 0xc], 0
jne 0x520a9b
cmp dword [ebp + 0x10], 0
je 0x520aa1
cmp dword [ebp + 0x14], 0
jne 0x520aa3
jmp 0x520af6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
push 0x33
call 0x520ab6
add dword [esp], 5
retf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x520b00
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
push 0x33
call fcn.00520b18
Function at 0x520d90
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
cmp dword [0x679a08], 0
jne 0x520dab
xor eax, eax
xor edx, edx
jmp 0x520f72
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0
jle 0x520dda
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 8]
add edx, 8
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
jmp 0x520de2
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
cmp dword [ebp + 0x10], 0
jle 0x520e17
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 8]
add eax, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx - 8]
mov eax, dword [ecx - 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
jmp 0x520e1f
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
cmp dword [ebp + 0x10], 0
jle 0x520e54
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 8]
add ecx, 8
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx - 8]
mov ecx, dword [edx - 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x520e5c
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
cmp dword [ebp + 0x10], 0
jle 0x520e91
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 8]
add edx, 8
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
jmp 0x520e99
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
mov edx, dword [ebp - 8]
add edx, 8
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
sub eax, 8
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 0x10]
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0xc], 0
xor eax, eax
mov word [ebp - 4], ax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 0xc], esp
and esp, 0xfffffff0
push 0x33
call 0x520ef3
add dword [esp], 5
retf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x54c5f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x54c61d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x54c61d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x9ab7b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x65b00d
lea edi, [esi - 0x25a00d]
push edi
or ebp, 0xffffffff
jmp 0x9ab7d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9ab7d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9ab7c8
mov eax, 1
add ebx, ebx
jne 0x9ab7eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9ab7e0
jne 0x9ab7fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9ab7e0
xor ecx, ecx
sub eax, 3
jb 0x9ab810
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9ab882
mov ebp, eax
add ebx, ebx
jne 0x9ab81b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x9ab828
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x9ab84c
inc ecx
add ebx, ebx
jne 0x9ab838
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9ab82d
jne 0x9ab849
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9ab82d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9ab86c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9ab85d
jmp 0x9ab7ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9ab86c
add edi, ecx
jmp 0x9ab7ce
pop esi
mov edi, esi
mov ecx, 0x1844
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9ab88a
cmp byte [edi], 0x11
jne 0x9ab88a
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 0x9ab88f
lea edi, [esi + 0x5a7000]
mov eax, dword [edi]
or eax, eax
je 0x9ab8fe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5adf9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5adff4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9ab8bc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5adffc]
or eax, eax
je 0x9ab8f8
mov dword [ebx], eax
add ebx, 4
jmp 0x9ab8d9
call dword [esi + 0x5adff8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9ab92f
cmp al, 0xef
ja 0x9ab922
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9ab904
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x9ab911
mov ebp, dword [esi + 0x5ae000]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
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 0x9ab963
sub esp, 0xffffff80
jmp 0x40f11c
Function at 0x402c58
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
je 0x402ca3
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x402c74
mov eax, edi
and dword [ebp + 0x10], 0
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov ecx, dword [ebp + 0x10]
add dword [ebp + 0xc], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x402ca9
test ecx, ecx
je 0x402ca3
test edi, edi
ja 0x402c69
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_GetLastError]

Function at 0x402cb2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
je 0x402cfd
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x402cce
mov eax, edi
and dword [ebp + 0x10], 0
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov ecx, dword [ebp + 0x10]
add dword [ebp + 0xc], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x402d03
test ecx, ecx
je 0x402cfd
test edi, edi
ja 0x402cc3
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_GetLastError]

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

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x402f93
mov dword [ecx*4 + 0x420630], eax
inc ecx
cmp ecx, 0x100
jb 0x402f8e
pop esi
ret

Function at 0x402fba
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 4]
test edx, edx
jbe 0x402fe3
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x420630]
dec edx
inc ecx
test edx, edx
ja 0x402fc7
pop esi
ret 4
Function at 0x405444
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x40545d
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x405480
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x405485
inc edi
cmp edi, dword [ebp - 4]
jb 0x405477
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x40557d
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x4054dc
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x4054b0
cmp cl, 0xff
jne 0x405507
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x405515
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x40551c
dec ecx
shl edx, cl
and edx, 7
je 0x4054a1
movzx ecx, byte [edx + 0x417f10]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x417f08], 0
mov cl, byte [ebx + 4]
je 0x405504
test cl, cl
je 0x405504
cmp cl, 0xff
jne 0x4054a1
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x405472
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x405550
movzx esi, byte [edx + 0x417f10]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x40553b
cmp al, 0xff
jne 0x40554d
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x4054ce
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x405472
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret