joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55daa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [0x57e684], 0xe1d
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x55dcb4
mov dword [0x57e688], 0x9d8
mov dword [0x57e684], 0x74a
mov ecx, dword fs:[0x18]
mov dword [0x57e688], 0x1704
mov dword [0x57e684], 0x1bee
mov eax, dword [ecx + 0x30]
mov dword [0x57e688], 0x13ab
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x57e684], 0xb65
cmp eax, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
je 0x55dca5
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x20]
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov edi, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
jne 0x55db8f
jmp 0x55dbb3
mov eax, dword [ebp - 0x3c]
mov dword [0x57e684], 0x2594
mov dword [0x57e688], 0x21f0
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x55dcb4
mov eax, 0x1516
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
je 0x55dc7a
xor eax, eax
mov dword [ebp - 0x48], eax
jmp 0x55dbdd
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x4e], dx
mov word [ebp - 0x50], di
jb 0x55dc11
mov ax, word [ebp - 0x4e]
mov word [ebp - 0x50], ax
mov ax, word [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
cmp word [ecx + edx*2], ax
sete bl
add edx, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x40]
cmp edx, esi
setb bh
and al, bh
test al, 1
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x51], bl
jne 0x55dbdd
mov al, byte [ebp - 0x51]
mov ecx, 0x1c56
test al, 1
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x44], ecx
jne 0x55dc5e
jmp 0x55dc7a
mov eax, dword [ebp - 0x58]
mov dword [0x57e688], 0x1e9d
mov dword [0x57e684], 0x1cd
mov dword [ebp - 0x18], eax
jmp 0x55dcb4
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x1c]
cmp edx, esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x5c], eax
jne 0x55db59
mov eax, dword [ebp - 0x5c]
mov dword [0x57e684], eax
mov dword [0x57e688], 0x1e9d
xor eax, eax
mov dword [0x57e684], 0x1d37
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x55dcc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [0x57e684], 0x1b1e
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x57e688], 0x26bb
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x55dd38
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0x104
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ecx
jl 0x55dd04
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
jne 0x55de06
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2], 0x6f
jne 0x55de06
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x55de06
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x29], dl
mov al, byte [ebp - 0x29]
test al, 1
jne 0x55dd9a
jmp 0x55de06
mov dword [0x57e688], 0xcb4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x55de06
mov dword [0x57e688], 0x1ac7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x2a], dl
mov al, byte [ebp - 0x2a]
test al, 1
jne 0x55ddd9
jmp 0x55de06
mov dword [0x57e684], 0xfffffca7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
cmp word [eax + ecx*2 - 0xe], 0x6c
jne 0x55de06
mov eax, 1
mov dword [0x57e684], 0xffffe8ea
mov dword [ebp - 0x30], eax
jmp 0x55de17
mov dword [0x57e688], 0x888
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x55de17
mov eax, dword [ebp - 0x30]
add esp, 0x30
pop ebp
ret
Function at 0x55dec0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x57e690], 0
mov byte [0x57e694], 0
mov dword [0x57e684], 0xd7
mov dword [0x57e68c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x55df18
mov dword [0x57e68c], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x55df4f
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x57e688]
add eax, 0xfffff809
mov dword [0x57e684], eax
mov eax, dword [0x57e68c]
add eax, 1
mov dword [0x57e68c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x55df18
jmp 0x55df07
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x57e698], 0
mov dword [0x57e688], 0x69c
mov edx, dword [0x57e690]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x57e698], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x57e690], edx
mov dword [0x57e684], 0x1aca
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x57e694], cl
mov dword [0x57e684], 0x24a1
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x57e694]
mov edx, dword [0x57e690]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x57e684], 0x17ba
mov edx, dword [0x57e68c]
add edx, 1
mov dword [0x57e68c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x55df4f
mov dword [0x57e684], 0x19d
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x55eb30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x57e68c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [0x57e690], 0
mov dword [0x57e69c], 0
mov dword [0x57e688], 0x1f51
mov eax, dword [ebp - 0x10]
cmp eax, 0
jne 0x55eb97
mov dword [0x57e688], 0x17fb
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x55eb83
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x55eba8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x57e684], 0xe18
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x57e68c], edx
mov dword [0x57e688], 0x9fe
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x57e690], edx
mov dword [0x57e684], 0xfffff931
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x57e694], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x57e688], 0x26b8
mov cl, byte [0x57e694]
mov edx, dword [0x57e690]
mov byte [edi + edx], cl
mov edx, dword [0x57e688]
mov ebx, edx
add ebx, 0x2ee
mov dword [0x57e684], ebx
mov ebx, dword [0x57e68c]
movzx ebx, byte [edi + ebx]
mov ecx, dword [0x57e690]
movzx ecx, byte [edi + ecx]
add ecx, ebx
mov dword [0x57e684], 0x1bba
and ecx, 0xff
mov dword [0x57e69c], ecx
mov cl, byte [edi + ecx]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov ch, byte [ebx + esi]
mov bl, cl
add bl, byte [0x57e6a1]
mov byte [0x57e6a0], bl
mov byte [0x57e6a1], ch
mov byte [0x57e6a2], cl
xor ch, cl
add edx, 0x1245
mov dword [0x57e684], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [0x57e684]
add edx, 0xc87
mov dword [0x57e684], edx
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x38], esi
je 0x55eb95
mov eax, dword [0x57e68c]
mov ecx, dword [0x57e690]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x55eba8
Function at 0x55f030
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x24]
mov esi, dword [0x57e688]
add esi, 0xd41
mov dword [0x57e688], esi
mov byte [ebp - 0x24], 0x56
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x41
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x63
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0xe3
mov dword [0x57e684], 0x1613
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
call fcn.0055ecf0
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.0055e080
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x55f16c
mov eax, dword [ebp - 0x34]
mov dword [0x57e684], 0x748
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.0055e4c0
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x57e684], 0x624
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x2c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0xc], ecx
mov dword [0x57e688], 0x2425
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x55f16c
mov eax, dword [ebp - 0x3c]
add eax, 0x1c96
mov dword [ebp - 0x40], eax
mov dword [0x57e684], 0x1f4e
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x55f4e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov dword [0x57e688], 0xdcc
call fcn.00401080
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x55f676
lea eax, [esp + 0x40]
mov dword [0x57e684], 0x8f5
mov ecx, dword [0x57e688]
add ecx, 0x14ca
mov dword [0x57e688], ecx
mov dword [esp + 0x28], eax
call fcn.0055dcc0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x55f66e
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.0055e750
lea ecx, [0x55e680]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x68], edx
mov dword [esp + 0x84], 0x11d600
mov dword [0x57e684], 0xa58
mov edx, dword [0x57e670]
mov dword [esp + 0x70], edx
mov edx, dword [0x57e674]
mov dword [esp + 0x8c], edx
mov edx, dword [0x57e678]
mov dword [esp + 0x44], edx
mov edx, dword [0x57e67c]
mov dword [esp + 0x64], edx
mov dword [0x57e688], 0xfffff8f0
mov edx, dword [0x57e680]
mov dword [esp + 0x50], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x55f5fe
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
sete dl
mov dword [esp + 0x14], ecx
mov byte [esp + 0x13], dl
mov al, byte [esp + 0x13]
test al, 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
jne 0x55f612
jmp 0x55f5fe
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x55f5bc
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x5c], eax
mov dword [0x57e684], 0x22cb
mov dword [0x57e688], 0xa7d
mov eax, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0055f030
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x57e688], 0x10cf
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
Function at 0x55f770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [0x57e684], 0xffffff8f
mov dword [ebp - 0x10], eax
call fcn.0055f220
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov edx, dword [eax + edx + 0x78]
mov dword [0x57e688], 0x460
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov edi, dword [eax + edx + 0x24]
mov dword [0x57e684], 0x1e54
mov eax, dword [eax + edx + 0x18]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
xor eax, eax
mov ecx, dword [ebp - 0x24]
cmp ecx, 0
mov dword [ebp - 0x28], eax
jne 0x55f7e3
mov eax, dword [ebp - 0x28]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x20]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
mov byte [ebp - 0x47], bl
je 0x55f869
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dl, byte [ebp - 0x46]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x47], dl
jne 0x55f80d
mov al, byte [ebp - 0x47]
test al, 1
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x4c], ecx
jne 0x55f89a
mov eax, dword [ebp - 0x38]
add eax, 2
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x24]
cmp ecx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
jb 0x55f7f3
jmp 0x55f8cc
mov eax, dword [ebp - 0x4c]
movzx eax, word [eax]
mov dword [0x57e684], 0x1812
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x18]
add esi, dword [ecx + eax*4]
mov dword [0x57e688], 0xaf2
mov dword [ebp - 0x28], esi
jmp 0x55f7d8
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x55f7d8

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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x42ae70
Capabilities:
Terminate process

Disassembly:
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov ecx, 0x48880500
mov edx, 0x4d2bc0d2
mov dword [esp + 0xc], eax
mov si, word [0x4955fc]
mov ax, si
dec eax
mov si, ax
mov word [0x4955fc], si
movsx eax, si
mov edi, dword [0x4aa434]
mov ebx, edi
inc ebx
mov dword [0x4aa434], ebx
sub edx, edi
or eax, edx
cmp ecx, eax
jle 0x42aef0
mov eax, dword [0x49fccc]
mov ecx, dword [0x49cd74]
shl ecx, 9
and eax, ecx
xor eax, 0xc2898986
cmp eax, 0x23d4b1ec
jg 0x42aeeb
mov eax, dword [0x4a7518]
imul eax, eax, 0x513bcee7
mov dword [0x4a7518], eax
jmp 0x42aef0
mov eax, 1
mov ecx, dword [0x4ac928]
mov edx, esp
mov dword [edx], ecx
mov dword [esp + 8], eax
call fcn.00440100
mov ecx, dword [0x49fe20]
xor ecx, 0x7a55de2c
mov dword [0x49fe20], ecx
mov dword [esp], 1
mov byte [esp + 7], al
call fcn.004558f8
int3
Function at 0x43c060
Capabilities:
Hash data with md5

Disassembly:
push edi
push esi
sub esp, 8
mov eax, 0xfb7ff397
mov dword [esp + 4], ecx
mov edx, ecx
mov si, word [0x499dd6]
mov di, si
add edi, 0x6fa4c92a
mov si, di
mov word [0x499dd6], si
mov dword [ecx], 0
mov ecx, dword [0x49c700]
mov edi, ecx
dec edi
mov dword [0x49c700], edi
imul ecx, ecx, 0x5b9bcc63
sub ecx, 0xb75c0c3f
cmp eax, ecx
mov dword [esp], edx
jg 0x43c0e9
mov eax, dword [0x4a988c]
dec eax
mov dword [0x4a988c], eax
mov cx, word [0x49bc6c]
mov dx, cx
dec edx
mov cx, dx
mov word [0x49bc6c], cx
movsx edx, cx
or eax, edx
mov edx, dword [0x4ab4e8]
sub edx, eax
mov dword [0x4ab4e8], edx
mov eax, dword [esp]
mov dword [eax + 4], 0
mov cx, word [0x49b4ba]
movsx edx, cx
add edx, edx
mov esi, dword [0x4a8eb0]
sub esi, edx
mov dword [0x4a8eb0], esi
mov dword [eax + 8], 0x67452301
mov edx, dword [0x4a7068]
xor edx, 0x5a93d324
mov dword [0x4a7068], edx
mov dword [eax + 0xc], 0xefcdab89
mov edx, dword [0x49f124]
imul edx, edx, 0x19dffe4f
mov dword [0x49f124], edx
mov dword [eax + 0x10], 0x98badcfe
mov edx, dword [0x4a2ccc]
xor edx, 0xc4731f9f
mov dword [0x4a2ccc], edx
mov dword [eax + 0x14], 0x10325476
mov dword [0x4a47f8], 0x3d820ac1
add esp, 8
pop esi
pop edi
ret
Function at 0x46deea
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x492f60]
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.0045f89e
mov dword [ebp - 0x14], eax
cmp dword [0x4adfec], esi
jne 0x46dfdd
push 0x800
push esi
push 0x482070
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x46df6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46e0bd
push esi
push esi
push 0x482070
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x46e0bd
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46e0bd
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4adfec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4adff0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4adff4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4adffc], eax
test eax, eax
je 0x46dfda
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4adff8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x46e002
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46dff5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x46e017
push 4
pop eax
jmp 0x46e0bf
cmp dword [ebp - 0x14], esi
je 0x46e017
push dword [0x4adfec]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x46dffc
mov eax, dword [0x4adff8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x46e075
cmp dword [0x4adffc], edi
je 0x46e075
push eax
call ebx
push dword [0x4adffc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x46e075
test eax, eax
je 0x46e075
call ecx
test eax, eax
je 0x46e06a
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 0x46e06a
test byte [ebp - 8], 1
jne 0x46e075
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x46e0a5
mov eax, dword [0x4adff0]
cmp eax, edi
je 0x46e0a2
push eax
call ebx
test eax, eax
je 0x46e0a2
call eax
mov esi, eax
test esi, esi
je 0x46e0a2
mov eax, dword [0x4adff4]
cmp eax, edi
je 0x46e0a2
push eax
call ebx
test eax, eax
je 0x46e0a2
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4adfec]
call ebx
test eax, eax
je 0x46e0bd
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x46e0bf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464355
mov esp, ebp
pop ebp
ret
Function at 0x408926
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
call fcn.00408943
xor dword [ecx], eax
add ecx, 1
cmp ecx, ebx
jne fcn.00408926
and esi, esi
ret
Function at 0x401775
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
or esi, 0xffffffff
push ebx
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0x40c075
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
je 0x4017c1
mov dword [esp + 0xc], eax
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_fread
mov dword [esp], ebx
mov esi, eax
call sub.msvcrt.dll_fclose
add esp, 0x10
mov eax, esi
pop ebx
pop esi
pop ebp
ret

Function at 0x4017ca
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0x40c078
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov ebx, eax
or eax, 0xffffffff
test ebx, ebx
je 0x401815
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], ebx
call sub.msvcrt.dll_fclose
xor eax, eax
add esp, 0x14
pop ebx
pop ebp
ret

Function at 0x401d64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov bl, 1
sub esp, 0xb0
mov esi, dword [ebp + 0xc]
cmp esi, 0x9f
jbe 0x401ddc
xor eax, eax
mov cl, byte [eax + 0x40cb20]
lea edx, [ebp - 0xa8]
xor ecx, ebx
mov byte [ebp + eax - 0xa8], cl
inc eax
cmp eax, 0xa0
jne 0x401d7e
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0xa0
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0040181b
cmp eax, 0xffffffff
je 0x401dd6
xor edx, edx
mov cl, byte [edx + 0x40cbc0]
mov esi, dword [ebp + 0x10]
xor ecx, ebx
mov byte [esi + edx], cl
inc edx
cmp edx, 0xa0
jne 0x401dbd
jmp 0x401ddf
inc ebx
cmp bl, 0xff
jne 0x401d7c
or eax, 0xffffffff
add esp, 0xb0
pop ebx
pop esi
pop ebp
ret