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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
call fcn.61d99232

Function at 0x61d9ca35
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0x3020100
mov dword [ebp - 8], 0x7060504
mov dword [ebp - 4], 0xb0a0908
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movdqu xmm1, xmmword [ecx]
movdqu xmmword [edx], xmm1
movdqu xmm5, xmmword [ebp - 0x10]
add edx, 0x10
aeskeygenassist xmm2, xmm1, 1
call fcn.61d9cae5
aeskeygenassist xmm2, xmm1, 2
call fcn.61d9cae5
aeskeygenassist xmm2, xmm1, 4
call fcn.61d9cae5
aeskeygenassist xmm2, xmm1, 8
call fcn.61d9cae5
aeskeygenassist xmm2, xmm1, 0x10
call fcn.61d9cae5
aeskeygenassist xmm2, xmm1, 0x20
call fcn.61d9cae5
aeskeygenassist xmm2, xmm1, 0x40
call fcn.61d9cae5
aeskeygenassist xmm2, xmm1, 0x80
call fcn.61d9cae5
aeskeygenassist xmm2, xmm1, 0x1b
call fcn.61d9cae5
aeskeygenassist xmm2, xmm1, 0x36
call fcn.61d9cae5
leave
ret 8
Function at 0x61d9cb15
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
movdqu xmmword [ebp - 0x10], xmm6
movdqu xmmword [ebp - 0x20], xmm7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movq xmm7, qword [ecx + 0x10]
movq qword [edx + 0x10], xmm7
pshufd xmm4, xmm7, 0x4f
movdqu xmm1, xmmword [ecx]
movdqu xmmword [edx], xmm1
pxor xmm3, xmm3
pxor xmm6, xmm6
aeskeygenassist xmm2, xmm4, 1
pshufd xmm2, xmm2, 0xff
shufps xmm3, xmm1, 0x10
pxor xmm1, xmm3
shufps xmm3, xmm1, 0x8c
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqu xmmword [edx + 0x18], xmm1
movdqa xmm5, xmm4
pslldq xmm5, 4
shufps xmm6, xmm1, 0xf0
pxor xmm6, xmm5
pxor xmm4, xmm6
pshufd xmm7, xmm4, 0xe
movdqu xmmword [edx + 0x28], xmm7
aeskeygenassist xmm2, xmm4, 2
pshufd xmm2, xmm2, 0xff
shufps xmm3, xmm1, 0x10
pxor xmm1, xmm3
shufps xmm3, xmm1, 0x8c
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqu xmmword [edx + 0x30], xmm1
movdqa xmm5, xmm4
pslldq xmm5, 4
shufps xmm6, xmm1, 0xf0
pxor xmm6, xmm5
pxor xmm4, xmm6
pshufd xmm7, xmm4, 0xe
movdqu xmmword [edx + 0x40], xmm7
aeskeygenassist xmm2, xmm4, 4
pshufd xmm2, xmm2, 0xff
shufps xmm3, xmm1, 0x10
pxor xmm1, xmm3
shufps xmm3, xmm1, 0x8c
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqu xmmword [edx + 0x48], xmm1
movdqa xmm5, xmm4
pslldq xmm5, 4
shufps xmm6, xmm1, 0xf0
pxor xmm6, xmm5
pxor xmm4, xmm6
pshufd xmm7, xmm4, 0xe
movdqu xmmword [edx + 0x58], xmm7
aeskeygenassist xmm2, xmm4, 8
pshufd xmm2, xmm2, 0xff
shufps xmm3, xmm1, 0x10
pxor xmm1, xmm3
shufps xmm3, xmm1, 0x8c
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqu xmmword [edx + 0x60], xmm1
movdqa xmm5, xmm4
pslldq xmm5, 4
shufps xmm6, xmm1, 0xf0
pxor xmm6, xmm5
pxor xmm4, xmm6
pshufd xmm7, xmm4, 0xe
movdqu xmmword [edx + 0x70], xmm7
aeskeygenassist xmm2, xmm4, 0x10
pshufd xmm2, xmm2, 0xff
shufps xmm3, xmm1, 0x10
pxor xmm1, xmm3
shufps xmm3, xmm1, 0x8c
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqu xmmword [edx + 0x78], xmm1
movdqa xmm5, xmm4
pslldq xmm5, 4
shufps xmm6, xmm1, 0xf0
pxor xmm6, xmm5
pxor xmm4, xmm6
pshufd xmm7, xmm4, 0xe
movdqu xmmword [edx + 0x88], xmm7
aeskeygenassist xmm2, xmm4, 0x20
pshufd xmm2, xmm2, 0xff
shufps xmm3, xmm1, 0x10
pxor xmm1, xmm3
shufps xmm3, xmm1, 0x8c
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqu xmmword [edx + 0x90], xmm1
movdqa xmm5, xmm4
pslldq xmm5, 4
shufps xmm6, xmm1, 0xf0
pxor xmm6, xmm5
pxor xmm4, xmm6
pshufd xmm7, xmm4, 0xe
movdqu xmmword [edx + 0xa0], xmm7
aeskeygenassist xmm2, xmm4, 0x40
pshufd xmm2, xmm2, 0xff
shufps xmm3, xmm1, 0x10
pxor xmm1, xmm3
shufps xmm3, xmm1, 0x8c
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqu xmmword [edx + 0xa8], xmm1
movdqa xmm5, xmm4
pslldq xmm5, 4
shufps xmm6, xmm1, 0xf0
pxor xmm6, xmm5
pxor xmm4, xmm6
pshufd xmm7, xmm4, 0xe
movdqu xmmword [edx + 0xb8], xmm7
aeskeygenassist xmm2, xmm4, 0x80
pshufd xmm2, xmm2, 0xff
shufps xmm3, xmm1, 0x10
pxor xmm1, xmm3
shufps xmm3, xmm1, 0x8c
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqu xmmword [edx + 0xc0], xmm1
movdqu xmm6, xmmword [ebp - 0x10]
movdqu xmm7, xmmword [ebp - 0x20]
leave
ret 8
Function at 0x61d9cef5
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0x3020100
mov dword [ebp - 8], 0x7060504
mov dword [ebp - 4], 0xb0a0908
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movdqu xmm1, xmmword [ecx]
movdqu xmm3, xmmword [ecx + 0x10]
movdqu xmmword [edx], xmm1
movdqu xmmword [edx + 0x10], xmm3
add edx, 0x20
movdqu xmm5, xmmword [ebp - 0x10]
aeskeygenassist xmm2, xmm3, 1
call fcn.61d9cfb5
aeskeygenassist xmm2, xmm3, 2
call fcn.61d9cfb5
aeskeygenassist xmm2, xmm3, 4
call fcn.61d9cfb5
aeskeygenassist xmm2, xmm3, 8
call fcn.61d9cfb5
aeskeygenassist xmm2, xmm3, 0x10
call fcn.61d9cfb5
aeskeygenassist xmm2, xmm3, 0x20
call fcn.61d9cfb5
aeskeygenassist xmm2, xmm3, 0x40
pshufd xmm2, xmm2, 0xff
movdqu xmm4, xmm1
pshufb xmm4, xmm5
pxor xmm1, xmm4
pshufb xmm4, xmm5
pxor xmm1, xmm4
pshufb xmm4, xmm5
pxor xmm1, xmm4
pxor xmm1, xmm2
movdqu xmmword [edx], xmm1
leave
ret 8

Function at 0x61d9cfb5
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
pshufd xmm2, xmm2, 0xff
movdqu xmm4, xmm1
pshufb xmm4, xmm5
pxor xmm1, xmm4
pshufb xmm4, xmm5
pxor xmm1, xmm4
pshufb xmm4, xmm5
pxor xmm1, xmm4
pxor xmm1, xmm2
movdqu xmmword [edx], xmm1
add edx, 0x10
aeskeygenassist xmm4, xmm1, 0
pshufd xmm2, xmm4, 0xaa
movdqu xmm4, xmm3
pshufb xmm4, xmm5
pxor xmm3, xmm4
pshufb xmm4, xmm5
pxor xmm3, xmm4
pshufb xmm4, xmm5
pxor xmm3, xmm4
pxor xmm3, xmm2
movdqu xmmword [edx], xmm3
add edx, 0x10
ret
Function at 0x61d9e3f5
Capabilities:
Decrypt data using aes via x86 extensions
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push esi
push edi
mov eax, dword [ebp + 0x14]
movdqu xmm5, xmmword [eax]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub edi, esi
test eax, eax
je 0x61d9e6da
cmp eax, 4
jl 0x61d9e645
test ecx, 0xf
je 0x61d9e4c5
lea edx, [ebp - 0x101]
and edx, 0xfffffff0
movdqu xmm4, xmmword [ecx]
movdqa xmmword [edx], xmm4
movdqu xmm4, xmmword [ecx + 0x10]
movdqa xmmword [edx + 0x10], xmm4
movdqu xmm4, xmmword [ecx + 0x20]
movdqa xmmword [edx + 0x20], xmm4
movdqu xmm4, xmmword [ecx + 0x30]
movdqa xmmword [edx + 0x30], xmm4
movdqu xmm4, xmmword [ecx + 0x40]
movdqa xmmword [edx + 0x40], xmm4
movdqu xmm4, xmmword [ecx + 0x50]
movdqa xmmword [edx + 0x50], xmm4
movdqu xmm4, xmmword [ecx + 0x60]
movdqa xmmword [edx + 0x60], xmm4
movdqu xmm4, xmmword [ecx + 0x70]
movdqa xmmword [edx + 0x70], xmm4
movdqu xmm4, xmmword [ecx + 0x80]
movdqa xmmword [edx + 0x80], xmm4
movdqu xmm4, xmmword [ecx + 0x90]
movdqa xmmword [edx + 0x90], xmm4
movdqu xmm4, xmmword [ecx + 0xa0]
movdqa xmmword [edx + 0xa0], xmm4
mov ecx, edx
lea esp, [esp]
lea ecx, [ecx]
Function at 0x61d9f885
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push esi
push edi
mov eax, dword [ebp + 0x14]
movdqu xmm1, xmmword [eax]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub edi, esi
test ecx, 0xf
je 0x61d9f945
lea edx, [ebp - 0x101]
and edx, 0xfffffff0
movdqu xmm4, xmmword [ecx]
movdqa xmmword [edx], xmm4
movdqu xmm4, xmmword [ecx + 0x10]
movdqa xmmword [edx + 0x10], xmm4
movdqu xmm4, xmmword [ecx + 0x20]
movdqa xmmword [edx + 0x20], xmm4
movdqu xmm4, xmmword [ecx + 0x30]
movdqa xmmword [edx + 0x30], xmm4
movdqu xmm4, xmmword [ecx + 0x40]
movdqa xmmword [edx + 0x40], xmm4
movdqu xmm4, xmmword [ecx + 0x50]
movdqa xmmword [edx + 0x50], xmm4
movdqu xmm4, xmmword [ecx + 0x60]
movdqa xmmword [edx + 0x60], xmm4
movdqu xmm4, xmmword [ecx + 0x70]
movdqa xmmword [edx + 0x70], xmm4
movdqu xmm4, xmmword [ecx + 0x80]
movdqa xmmword [edx + 0x80], xmm4
movdqu xmm4, xmmword [ecx + 0x90]
movdqa xmmword [edx + 0x90], xmm4
movdqu xmm4, xmmword [ecx + 0xa0]
movdqa xmmword [edx + 0xa0], xmm4
mov ecx, edx
lea esp, [esp]
lea esp, [esp]
movdqu xmm0, xmmword [esi]
add esi, 0x10
pxor xmm0, xmm1
movdqu xmm4, xmmword [ecx]
pxor xmm0, xmm4
aesenc xmm0, xmmword [ecx + 0x10]
aesenc xmm0, xmmword [ecx + 0x20]
aesenc xmm0, xmmword [ecx + 0x30]
aesenc xmm0, xmmword [ecx + 0x40]
aesenc xmm0, xmmword [ecx + 0x50]
aesenc xmm0, xmmword [ecx + 0x60]
aesenc xmm0, xmmword [ecx + 0x70]
aesenc xmm0, xmmword [ecx + 0x80]
aesenc xmm0, xmmword [ecx + 0x90]
aesenclast xmm0, xmmword [ecx + 0xa0]
movdqu xmmword [esi + edi - 0x10], xmm0
movdqa xmm1, xmm0
dec eax
jne 0x61d9f945
pop edi
pop esi
leave
ret 0x14
Function at 0x61d9f9b5
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push esi
push edi
mov eax, dword [ebp + 0x14]
movdqu xmm1, xmmword [eax]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub edi, esi
test ecx, 0xf
je 0x61d9fa95
lea edx, [ebp - 0x101]
and edx, 0xfffffff0
movdqu xmm4, xmmword [ecx]
movdqa xmmword [edx], xmm4
movdqu xmm4, xmmword [ecx + 0x10]
movdqa xmmword [edx + 0x10], xmm4
movdqu xmm4, xmmword [ecx + 0x20]
movdqa xmmword [edx + 0x20], xmm4
movdqu xmm4, xmmword [ecx + 0x30]
movdqa xmmword [edx + 0x30], xmm4
movdqu xmm4, xmmword [ecx + 0x40]
movdqa xmmword [edx + 0x40], xmm4
movdqu xmm4, xmmword [ecx + 0x50]
movdqa xmmword [edx + 0x50], xmm4
movdqu xmm4, xmmword [ecx + 0x60]
movdqa xmmword [edx + 0x60], xmm4
movdqu xmm4, xmmword [ecx + 0x70]
movdqa xmmword [edx + 0x70], xmm4
movdqu xmm4, xmmword [ecx + 0x80]
movdqa xmmword [edx + 0x80], xmm4
movdqu xmm4, xmmword [ecx + 0x90]
movdqa xmmword [edx + 0x90], xmm4
movdqu xmm4, xmmword [ecx + 0xa0]
movdqa xmmword [edx + 0xa0], xmm4
movdqu xmm4, xmmword [ecx + 0xb0]
movdqa xmmword [edx + 0xb0], xmm4
movdqu xmm4, xmmword [ecx + 0xc0]
movdqa xmmword [edx + 0xc0], xmm4
mov ecx, edx
lea esp, [esp]
lea esp, [esp]
movdqu xmm0, xmmword [esi]
add esi, 0x10
pxor xmm0, xmm1
movdqu xmm4, xmmword [ecx]
pxor xmm0, xmm4
aesenc xmm0, xmmword [ecx + 0x10]
aesenc xmm0, xmmword [ecx + 0x20]
aesenc xmm0, xmmword [ecx + 0x30]
aesenc xmm0, xmmword [ecx + 0x40]
aesenc xmm0, xmmword [ecx + 0x50]
aesenc xmm0, xmmword [ecx + 0x60]
aesenc xmm0, xmmword [ecx + 0x70]
aesenc xmm0, xmmword [ecx + 0x80]
aesenc xmm0, xmmword [ecx + 0x90]
aesenc xmm0, xmmword [ecx + 0xa0]
aesenc xmm0, xmmword [ecx + 0xb0]
aesenclast xmm0, xmmword [ecx + 0xc0]
movdqu xmmword [esi + edi - 0x10], xmm0
movdqa xmm1, xmm0
dec eax
jne 0x61d9fa95
pop edi
pop esi
leave
ret 0x14
Function at 0x61d9fb15
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push esi
push edi
mov eax, dword [ebp + 0x14]
movdqu xmm1, xmmword [eax]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub edi, esi
test ecx, 0xf
je 0x61d9fc15
lea edx, [ebp - 0x101]
and edx, 0xfffffff0
movdqu xmm4, xmmword [ecx]
movdqa xmmword [edx], xmm4
movdqu xmm4, xmmword [ecx + 0x10]
movdqa xmmword [edx + 0x10], xmm4
movdqu xmm4, xmmword [ecx + 0x20]
movdqa xmmword [edx + 0x20], xmm4
movdqu xmm4, xmmword [ecx + 0x30]
movdqa xmmword [edx + 0x30], xmm4
movdqu xmm4, xmmword [ecx + 0x40]
movdqa xmmword [edx + 0x40], xmm4
movdqu xmm4, xmmword [ecx + 0x50]
movdqa xmmword [edx + 0x50], xmm4
movdqu xmm4, xmmword [ecx + 0x60]
movdqa xmmword [edx + 0x60], xmm4
movdqu xmm4, xmmword [ecx + 0x70]
movdqa xmmword [edx + 0x70], xmm4
movdqu xmm4, xmmword [ecx + 0x80]
movdqa xmmword [edx + 0x80], xmm4
movdqu xmm4, xmmword [ecx + 0x90]
movdqa xmmword [edx + 0x90], xmm4
movdqu xmm4, xmmword [ecx + 0xa0]
movdqa xmmword [edx + 0xa0], xmm4
movdqu xmm4, xmmword [ecx + 0xb0]
movdqa xmmword [edx + 0xb0], xmm4
movdqu xmm4, xmmword [ecx + 0xc0]
movdqa xmmword [edx + 0xc0], xmm4
movdqu xmm4, xmmword [ecx + 0xd0]
movdqa xmmword [edx + 0xd0], xmm4
movdqu xmm4, xmmword [ecx + 0xe0]
movdqa xmmword [edx + 0xe0], xmm4
mov ecx, edx
lea esp, [esp]
lea esp, [esp]
movdqu xmm0, xmmword [esi]
add esi, 0x10
pxor xmm0, xmm1
movdqu xmm4, xmmword [ecx]
pxor xmm0, xmm4
aesenc xmm0, xmmword [ecx + 0x10]
aesenc xmm0, xmmword [ecx + 0x20]
aesenc xmm0, xmmword [ecx + 0x30]
aesenc xmm0, xmmword [ecx + 0x40]
aesenc xmm0, xmmword [ecx + 0x50]
aesenc xmm0, xmmword [ecx + 0x60]
aesenc xmm0, xmmword [ecx + 0x70]
aesenc xmm0, xmmword [ecx + 0x80]
aesenc xmm0, xmmword [ecx + 0x90]
aesenc xmm0, xmmword [ecx + 0xa0]
aesenc xmm0, xmmword [ecx + 0xb0]
aesenc xmm0, xmmword [ecx + 0xc0]
aesenc xmm0, xmmword [ecx + 0xd0]
aesenclast xmm0, xmmword [ecx + 0xe0]
movdqu xmmword [esi + edi - 0x10], xmm0
movdqa xmm1, xmm0
dec eax
jne 0x61d9fc15
pop edi
pop esi
leave
ret 0x14
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0xddce6c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xddce76
pushal
call 0xddce7c
pop ebp
sub ebp, 0x10
sub ebp, 0x9dce6c
jmp 0xddce92
mov eax, 0x9dce6c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c1
mov edx, 0xe79e0445
xor byte [eax], dl
inc eax
dec ecx
jne 0xddcea9
jmp 0xddcebc
into
mov dh, cl
int3
Function at 0x402e7c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402ed5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402d18
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402d18
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402ebf
inc ebx
jmp 0x402ea8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402edc
lea eax, [ebp - 8]
call fcn.00404e4c
ret

Function at 0x402ee4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404e4c
test esi, esi
jne 0x402f1b
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404f3c
jmp 0x402f3c
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d18
mov dword [esp], eax
test esi, esi
je 0x402f3c
cmp dword [ebx], 0
je 0x402f3c
dec esi
jmp 0x402f23
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403528
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4b7008], 0x8088405
inc edx
mov dword [ebx + 0x4b7008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403dbc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4b7024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403e54
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403e34
xor eax, eax
push ebp
push 0x403e2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403e70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403e34
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4b7024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4b7024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404ca8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b904c], 0
je 0x404d09
cmp word [0x4b9220], 0xd7b2
jne 0x404cd1
cmp dword [0x4b9228], 0
jbe 0x404cd1
mov eax, 0x4b921c
call dword [0x4b9238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b707c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404d30
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b7034], 0
jne 0x404d25
push 0
push 0x4b7074
push 0x4b707c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x407210
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x407276
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004050cc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403714
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x407260
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40727d
lea eax, [ebp - 0x10]
call fcn.00404e4c
ret
Function at 0x4096d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0xc], eax
lea esi, [ebp - 8]
xor eax, eax
push ebp
push 0x409879
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0x34
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x409890
lea eax, [ebp - 0x114]
mov edx, ebx
call fcn.00405034
push dword [ebp - 0x114]
push 0x4098b4
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.004051dc
mov eax, dword [ebp - 0x110]
call fcn.0040531c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x409849
mov dword [esi], 0xff
push esi
lea eax, [ebp - 0x10b]
push eax
push esi
push 0
push 0x4098b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x409840
lea eax, [ebp - 0xc]
call fcn.00404e4c
mov dword [esi], 1
jmp 0x4097cc
lea eax, [ebp - 0x118]
mov edx, dword [esi]
mov dl, byte [ebp + edx - 0x10c]
call fcn.00405034
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0xc]
call fcn.00405124
inc dword [esi]
mov eax, dword [esi]
cmp byte [ebp + eax - 0x10c], 0
jne 0x4097a8
push 0x4098c8
push dword [ebp - 0xc]
push 0x4098d4
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.004051dc
mov eax, dword [ebp - 0x11c]
push eax
lea eax, [ebp - 0x120]
mov ecx, 0x4098f0
mov edx, dword [ebp - 0xc]
call fcn.00405168
mov eax, dword [ebp - 0x120]
push eax
push dword [ebp - 0xc]
push 0x409908
push 0x40992c
lea eax, [ebp - 0x124]
mov edx, 3
call fcn.004051dc
mov eax, dword [ebp - 0x124]
pop edx
pop ecx
call fcn.004091f8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
inc ebx
cmp bl, 0x38
jne 0x40971b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409880
lea eax, [ebp - 0x124]
mov edx, 6
call fcn.00404e70
lea eax, [ebp - 0xc]
call fcn.00404e4c
ret

Function at 0x40e354
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40e38d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404f3c
jmp 0x40e396
mov eax, ebx
mov edx, esi
call fcn.00404ea0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e3a0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40e3c1
mov al, byte [esp]
jmp 0x40e3c3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret