joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12e6570
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov edx, 1
push ebx
push esi
push edi
xor esi, esi
mov eax, edx
mov dword [ebp + esi*4 - 0x808], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x408], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x12e6583
mov esi, 1
mov edx, 0x12eda98
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x12edac0
jl 0x12e65c0
mov eax, 1
mov byte [0x12eb898], 0x63
mov byte [0x12ec9fb], 0
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x408]
lea eax, [ebp - 0x40c]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x12eb898], bl
mov byte [ebx + 0x12ec998], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x12e6600
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 8], ebx
movzx edx, byte [esi + 0x12eb898]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x12eb998], ecx
rol ecx, 8
mov dword [esi*4 + 0x12ebd98], ecx
rol ecx, 8
mov dword [esi*4 + 0x12ec198], ecx
rol ecx, 8
mov dword [esi*4 + 0x12ec598], ecx
movzx ecx, byte [esi + 0x12ec998]
test ecx, ecx
je 0x12e672f
mov ecx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 0x3d0]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e4]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x808]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d4]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x808]
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x808]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3dc]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x808]
jmp 0x12e6738
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 4]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x12eca98], eax
rol eax, 8
mov dword [esi*4 + 0x12ece98], eax
rol eax, 8
mov dword [esi*4 + 0x12ed298], eax
rol eax, 8
mov dword [esi*4 + 0x12ed698], eax
inc esi
cmp esi, 0x100
jl 0x12e6675
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x12e6790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x18
test al, 0xf
je 0x12e67a6
mov eax, 0xffffffde
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x12e68fa
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jne 0x12e6842
mov ebx, dword [ebp + 0x18]
lea edx, [ecx + 0xf]
dec eax
mov dword [ebp - 8], edx
mov edi, ecx
shr eax, 4
sub edi, esi
inc eax
mov dword [ebp + 0x10], eax
movups xmm0, xmmword [ebx]
push esi
push ebx
push dword [ebp + 8]
movups xmmword [ebp - 0x18], xmm0
call fcn.012e7ac0
add esp, 0xc
cmp esi, dword [ebp - 8]
ja 0x12e6813
lea eax, [esi + 0xf]
cmp eax, dword [ebp + 0x14]
jb 0x12e6813
mov ecx, esi
mov edx, 0x10
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x12e6800
mov eax, dword [ebp + 0x14]
jmp 0x12e6823
mov eax, dword [ebp + 0x14]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [ebp - 0x18]
add esi, 0x10
add ebx, 0x10
sub edi, 0x10
sub dword [ebp + 0x10], 1
movups xmmword [eax], xmm0
jne 0x12e67d6
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x18]
lea edx, [eax - 1]
mov ebx, ecx
shr edx, 4
sub ebx, edi
mov dword [ebp - 4], esi
inc edx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
nop dword [eax]
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x12e686e
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x12e687c
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x12e68ad
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x12e68ad
mov ebx, esi
mov ecx, edi
mov esi, dword [ebp + 0x10]
sub ebx, edi
mov edx, 0x10
nop word [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub edx, 1
jne 0x12e6890
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
jmp 0x12e68ba
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
cmp dword [ebp + 0xc], 1
push esi
push esi
push edx
jne 0x12e68ca
call fcn.012e8050
jmp 0x12e68cf
call fcn.012e7ac0
movups xmm0, xmmword [esi]
mov ecx, dword [ebp + 0x14]
sub ebx, 0x10
mov edx, dword [ebp + 8]
add esi, 0x10
add esp, 0xc
mov dword [ebp + 0x10], ebx
add edi, 0x10
mov dword [ebp - 4], esi
sub dword [ebp - 8], 1
movups xmmword [ecx], xmm0
jne 0x12e6860
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x12e6940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
push edi
push dword [ebp + 0x10]
xor eax, eax
lea edi, [ebp - 0x118]
push dword [ebp + 0xc]
mov ecx, 0x46
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
lea esi, [edi + 8]
mov dword [edi + 4], esi
call fcn.012e6b40
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jne 0x12e6b34
mov ecx, dword [ebp - 0x118]
mov dword [edi], ecx
shl ecx, 4
add ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [esi + 0xc], eax
add esi, 0x10
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x12e6b1b
push ebx
nop dword [eax]
movzx eax, byte [ecx + 3]
dec edi
movzx edx, byte [eax + 0x12eb898]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x12ed698]
movzx eax, byte [eax + 0x12eb898]
xor edx, dword [eax*4 + 0x12ed298]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x12eb898]
xor edx, dword [eax*4 + 0x12ece98]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x12eb898]
xor edx, dword [eax*4 + 0x12eca98]
mov dword [esi], edx
mov ebx, dword [ecx + 4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x12eb898]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x12ed298]
movzx eax, byte [eax + 0x12eb898]
xor edx, dword [eax*4 + 0x12ece98]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x12eb898]
xor edx, dword [eax*4 + 0x12ed698]
movzx eax, bl
movzx eax, byte [eax + 0x12eb898]
xor edx, dword [eax*4 + 0x12eca98]
mov dword [esi + 4], edx
mov ebx, dword [ecx + 8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x12eb898]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x12ed298]
movzx eax, byte [eax + 0x12eb898]
xor edx, dword [eax*4 + 0x12ece98]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x12eb898]
xor edx, dword [eax*4 + 0x12ed698]
movzx eax, bl
movzx eax, byte [eax + 0x12eb898]
xor edx, dword [eax*4 + 0x12eca98]
mov dword [esi + 8], edx
mov ebx, dword [ecx + 0xc]
mov eax, ebx
shr eax, 0x10
sub ecx, 0x10
movzx eax, al
movzx edx, byte [eax + 0x12eb898]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x12ed298]
movzx eax, byte [eax + 0x12eb898]
xor edx, dword [eax*4 + 0x12ece98]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x12eb898]
xor edx, dword [eax*4 + 0x12ed698]
movzx eax, bl
movzx eax, byte [eax + 0x12eb898]
xor edx, dword [eax*4 + 0x12eca98]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x12e69c0
pop ebx
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x12e8ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], 0xa438
mov eax, dword [ebp - 0x34]
xor eax, 0x64
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x34]
inc eax
xor eax, 0x62
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x34]
add eax, 2
xor eax, 0x67
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x34]
add eax, 3
xor eax, 0x68
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x34]
add eax, 4
xor eax, 0x65
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x34]
add eax, 5
xor eax, 0x6c
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x34]
add eax, 6
xor eax, 0x70
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x34]
add eax, 7
xor eax, 0x2e
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x34]
add eax, 8
xor eax, 0x64
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x34]
add eax, 9
xor eax, 0x6c
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x34]
add eax, 0xa
xor eax, 0x6c
mov word [ebp - 0x1c], ax
xor eax, eax
mov word [ebp - 0x1a], ax
xor edx, edx
mov ax, word [ebp - 0x30]
mov ax, word [ebp + edx*2 - 0x30]
mov ecx, dword [ebp - 0x34]
add ecx, edx
movzx eax, ax
xor ecx, eax
mov word [ebp + edx*2 - 0x30], cx
inc edx
cmp edx, 0xb
jb 0x12e8b53
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x69c]
call eax
mov esi, eax
test esi, esi
jne 0x12e8b95
pop edi
mov eax, 0xe0d00721
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0x63
xor edx, edx
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x13], 0xa
mov byte [ebp - 0x12], 0xd
mov byte [ebp - 0x11], 0xa
mov byte [ebp - 0x10], 0x27
mov byte [ebp - 0xf], 0x16
mov byte [ebp - 0xe], 0xe
mov byte [ebp - 0xd], 0x13
mov byte [ebp - 0xc], 0x34
mov byte [ebp - 0xb], 0x11
mov byte [ebp - 0xa], 0xa
mov byte [ebp - 9], 0x17
mov byte [ebp - 8], 6
mov byte [ebp - 7], 0x27
mov byte [ebp - 6], 0x16
mov byte [ebp - 5], 0xe
mov byte [ebp - 4], 0x13
mov al, byte [ebp - 0x14]
mov byte [ebp - 3], 0
nop dword [eax]
mov al, byte [ebp + edx - 0x14]
movsx ecx, byte [ebp - 0x18]
movsx eax, al
xor eax, ecx
mov byte [ebp + edx - 0x14], al
inc edx
cmp edx, 0x11
jb 0x12e8bf0
lea eax, [ebp - 0x14]
mov byte [ebp - 3], 0
push eax
mov eax, dword [edi + 0x6a4]
push esi
call eax
mov ecx, eax
test ecx, ecx
jne 0x12e8c29
pop edi
mov eax, 0xe0d00728
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
pop esi
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x12eaba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x20]
mov word [edi], cx
test eax, eax
je 0x12eadac
push ebx
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x12eadab
mov ecx, 0xd962
mov edx, 0xd977
nop word [eax + eax]
mov dword [ebp - 0x2c], 0xd947
mov eax, 0xd975
mov word [ebp - 0x28], cx
mov word [ebp - 0x26], dx
mov word [ebp - 0x24], ax
mov eax, 0xd91f
mov word [ebp - 0x22], ax
xor eax, eax
mov word [ebp - 0x20], ax
xor edx, edx
mov ax, word [ebp - 0x28]
nop dword [eax]
mov ax, word [ebp + edx*2 - 0x28]
movzx ecx, ax
movzx eax, word [ebp - 0x2c]
xor ecx, eax
mov word [ebp + edx*2 - 0x28], cx
inc edx
cmp edx, 4
jb 0x12eac10
xor eax, eax
mov word [ebp - 0x20], ax
movsx eax, byte [esi + ebx + 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [esi + 0x768]
call eax
add esp, 0xc
cmp word [edi], 0
jne 0x12eaca4
mov dword [ebp - 0x1c], 0x9ee5
mov eax, 0x9ec0
mov word [ebp - 0x18], ax
mov eax, 0x9e89
mov word [ebp - 0x16], ax
mov eax, 0x9e96
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
xor edx, edx
mov ax, word [ebp - 0x18]
nop dword [eax]
mov ax, word [ebp + edx*2 - 0x18]
movzx ecx, ax
movzx eax, word [ebp - 0x1c]
xor ecx, eax
mov word [ebp + edx*2 - 0x18], cx
inc edx
cmp edx, 3
jb 0x12eac80
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
jmp 0x12ead09
mov dword [ebp - 0x10], 0xe6d3
mov eax, dword [ebp - 0x10]
xor eax, 0x25
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x10]
inc eax
xor eax, 0x6c
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x10]
add eax, 2
xor eax, 0x73
mov word [ebp - 8], ax
mov eax, dword [ebp - 0x10]
add eax, 3
xor eax, 0x2d
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 4], ax
mov ax, word [ebp - 0xc]
xor eax, eax
mov cx, word [ebp + eax*2 - 0xc]
mov edx, dword [ebp - 0x10]
add edx, eax
movzx ecx, cx
xor edx, ecx
mov word [ebp + eax*2 - 0xc], dx
inc eax
cmp eax, 4
jb 0x12eace6
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x454]
push eax
mov eax, dword [esi + 0x768]
call eax
mov dword [ebp - 0x40], 0xfde4
mov eax, 0xfdc1
mov word [ebp - 0x3c], ax
mov ecx, 0xfd88
mov word [ebp - 0x3a], cx
mov edx, 0xfd97
mov word [ebp - 0x38], dx
add esp, 0xc
mov word [ebp - 0x36], ax
xor eax, eax
mov word [ebp - 0x34], cx
mov word [ebp - 0x32], dx
xor edx, edx
mov word [ebp - 0x30], ax
mov ax, word [ebp - 0x3c]
nop word [eax + eax]
mov ax, word [ebp + edx*2 - 0x3c]
movzx ecx, ax
movzx eax, word [ebp - 0x40]
xor ecx, eax
mov word [ebp + edx*2 - 0x3c], cx
inc edx
cmp edx, 6
jb 0x12ead60
xor eax, eax
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi + 0x768]
push edi
call eax
mov ecx, 0xd962
add esp, 0x10
lea edx, [ecx + 0x15]
sub ebx, 1
jne 0x12eabe0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001aeee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1001aefd
pop dword [ebp - 0x50]
mov eax, 0x679287a5
add eax, 0xa86f2758
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x6d77fadd
sub dword [ebp - 0x60], 0x1f25b592
mov dword [ebp - 0x5c], 0xaadc1628
sub dword [ebp - 0x5c], 0x78a8c9e3
mov dword [ebp - 0x58], 0x98a4207c
add dword [ebp - 0x58], 0xb3a823b2
mov dword [ebp - 0x54], 0xd2eac786
sub dword [ebp - 0x54], 0xd2eac786
lea eax, [ebp - 0x60]
push eax
mov eax, 0x9b86b3a3
add eax, 0x747b0cdd
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x1e68029c
add dword [ebp - 0x60], 0x560a66ba
mov dword [ebp - 0x5c], 0x3b32735d
add dword [ebp - 0x5c], 0x639ee18
mov dword [ebp - 0x58], 0xdbf36b6e
sub dword [ebp - 0x58], 0x7883ff02
mov dword [ebp - 0x54], 0xd7aedb9a
add dword [ebp - 0x54], 0x28512466
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3812a
push 0
call eax
mov ecx, 0xdb7be844
add ecx, 0x2484624f
mov edi, eax
mov edx, 0xa16c66c7
sub edx, 0x9169fec7
add edx, dword [ebp - 0x50]
mov esi, 0x39ae98a0
sub esi, 0x3aa085c2
xor dword [ebp - 0x40], edi
mov ebx, dword [edx]
xor dword [ebp - 0x24], 0xb3121b98
add ebx, esi
xor dword [ebp - 0x4c], ecx
mov dword [edi], ebx
sub dword [ebp - 0x1c], 0x21f23e5
add edi, 0x94f45884
sub edi, 0x94f45880
add edx, 0x489512de
add edx, 0xb76aed26
loop 0x1001b01a
add eax, 0x6c9b7b08
add eax, 0x9365a217
xor ebx, ebx
add ebx, eax
add eax, 0x47391e10
sub eax, 0x47391e0b
mov ecx, 0x30b4627a
sub ecx, 0x20b4627a
add ecx, dword [ebp - 0x50]
call ebx
Function at 0x40661c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x406643
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x406646
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004065f8
pop esi
leave
ret 8

Function at 0x4071a5
Capabilities:
Parse pe header

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

Function at 0x4034c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x4034d2
pop dword [ebp - 0x20]
mov eax, 0xa3d308c2
add eax, 0x5c6d2c10
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xc09c1827
add dword [ebp - 0x30], 0x8db62d24
mov dword [ebp - 0x2c], 0xf3617dc6
add dword [ebp - 0x2c], 0x3ed1ce7f
mov dword [ebp - 0x28], 0xb3131db8
sub dword [ebp - 0x28], 0x66c6d98a
mov dword [ebp - 0x24], 0x2b00285f
sub dword [ebp - 0x24], 0x2b00285f
lea eax, [ebp - 0x30]
push eax
mov eax, 0x58dbab7b
sub eax, 0x589b6b4b
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xfb7fd651
add dword [ebp - 0x30], 0x78f29305
mov dword [ebp - 0x2c], 0x8f006a48
sub dword [ebp - 0x2c], 0x4d9408d3
mov dword [ebp - 0x28], 0xd11da58a
sub dword [ebp - 0x28], 0x6dae391e
mov dword [ebp - 0x24], 0x596a38f0
sub dword [ebp - 0x24], 0x596a38f0
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x69f1798
add eax, 0xf9a128b8
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x361a8
push 0
call eax
mov ecx, 0x1f7d7ba5
sub ecx, 0x1f7d36cd
xor edx, edx
add edx, eax
mov esi, 0x996ff72d
sub esi, 0x992f732d
add esi, dword [ebp - 0x20]
mov ebx, 0x5d169944
add ebx, 0x69aefd79
mov edi, dword [esi]
xor edi, ebx
add dword [ebp - 0x1c], eax
mov dword [edx], edi
mov dword [ebp - 0x10], 0x91b56d23
add edx, 4
add esi, 0xdc67e4fe
add esi, 0x23981b06
loop 0x4035f6
add eax, 0x10633
mov ebx, eax
add eax, 0xe894863b
add eax, 0x176b79ca
mov ecx, 0x1b730896
add ecx, 0xe4ccf76a
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x543510
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4cc015
lea edi, [esi - 0xcb015]
mov dword [edi + 0x12d348], 0x88c2d3ee
push edi
or ebp, 0xffffffff
jmp 0x54353a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x543541
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543530
mov eax, 1
add ebx, ebx
jne 0x543553
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x543564
jne 0x543583
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543583
dec eax
add ebx, ebx
jne 0x543570
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x543548
add ebx, ebx
jne 0x54357f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5435d5
xor ecx, ecx
sub eax, 3
jb 0x54359b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54360a
sar eax, 1
mov ebp, eax
jmp 0x5435a6
add ebx, ebx
jne 0x5435a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543574
inc ecx
add ebx, ebx
jne 0x5435b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543574
add ebx, ebx
jne 0x5435c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5435b6
jne 0x5435d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5435b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5435f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5435e6
jmp 0x543536
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5435f4
add edi, ecx
jmp 0x543536
pop esi
mov edi, esi
mov ecx, 0x3a16
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x543612
cmp byte [edi], 0x2c
jne 0x543612
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 0x543617
lea edi, [esi + 0x13c000]
mov eax, dword [edi]
or eax, eax
je 0x543686
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1434ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14353c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x543644
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x143544]
or eax, eax
je 0x543680
mov dword [ebx], eax
add ebx, 4
jmp 0x543661
call dword [esi + 0x143540]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5436b7
cmp al, 0xef
ja 0x5436aa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x54368c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x543699
mov ebp, dword [esi + 0x143548]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x143712]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x543703
sub esp, 0xffffff80
jmp 0x4014c0
Function at 0x40d588
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a428]
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.00408d3c
mov dword [ebp - 0x14], eax
cmp dword [0x4366f8], esi
jne 0x40d67b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d608
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d75b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d75b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d75b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4366f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4366fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x436700], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x436708], eax
test eax, eax
je 0x40d678
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x436704], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6a0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d693
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d6b5
push 4
pop eax
jmp 0x40d75d
cmp dword [ebp - 0x14], esi
je 0x40d6b5
push dword [0x4366f8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d69a
mov eax, dword [0x436704]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d713
cmp dword [0x436708], edi
je 0x40d713
push eax
call ebx
push dword [0x436708]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d713
test eax, eax
je 0x40d713
call ecx
test eax, eax
je 0x40d708
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 0x40d708
test byte [ebp - 8], 1
jne 0x40d713
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d743
mov eax, dword [0x4366fc]
cmp eax, edi
je 0x40d740
push eax
call ebx
test eax, eax
je 0x40d740
call eax
mov esi, eax
test esi, esi
je 0x40d740
mov eax, dword [0x436700]
cmp eax, edi
je 0x40d740
push eax
call ebx
test eax, eax
je 0x40d740
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4366f8]
call ebx
test eax, eax
je 0x40d75b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d75d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040f0
mov esp, ebp
pop ebp
ret