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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x511f5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00405194
mov dword [ebp - 0x18], 0x8f2b
cmp byte [ebp - 5], 0
je 0x511e9b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x511e2c
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x511f44
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x18]
shr edx, 8
xor al, dl
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x28]
xor eax, eax
mov al, byte [ebp - 0x11]
mov edx, 2
call fcn.00409d74
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0xddc
add eax, 0x116d
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x511e41
jmp 0x511f44
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x511eb2
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sar eax, 1
jns 0x511ebc
adc eax, 0
test eax, eax
jle 0x511f44
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
dec eax
mov edx, eax
add edx, edx
inc edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.0040568c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x511f74
call fcn.004054ac
mov eax, dword [ebp - 0x2c]
call fcn.00409d9c
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x34]
mov dl, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x18]
shr ecx, 8
xor dl, cl
call fcn.0040537c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0xddc
add eax, 0x116d
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x511ece
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x511f66
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.004051b8
ret
Function at 0x511f78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x512107
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00405194
mov dword [ebp - 0x18], 0xb95
cmp byte [ebp - 5], 0
je 0x512043
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x511fd4
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x5120ec
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x18]
shr edx, 8
xor al, dl
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x28]
xor eax, eax
mov al, byte [ebp - 0x11]
mov edx, 2
call fcn.00409d74
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0x9628
add eax, 0xf0e5
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x511fe9
jmp 0x5120ec
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x51205a
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sar eax, 1
jns 0x512064
adc eax, 0
test eax, eax
jle 0x5120ec
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
dec eax
mov edx, eax
add edx, edx
inc edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.0040568c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x51211c
call fcn.004054ac
mov eax, dword [ebp - 0x2c]
call fcn.00409d9c
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x34]
mov dl, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x18]
shr ecx, 8
xor dl, cl
call fcn.0040537c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0x9628
add eax, 0xf0e5
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x512076
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51210e
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.004051b8
ret
Function at 0x512120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5122af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00405194
mov dword [ebp - 0x18], 0xbe8c
cmp byte [ebp - 5], 0
je 0x5121eb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x51217c
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x512294
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x18]
shr edx, 8
xor al, dl
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x28]
xor eax, eax
mov al, byte [ebp - 0x11]
mov edx, 2
call fcn.00409d74
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0x4d7c
add eax, 0x75ed
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x512191
jmp 0x512294
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x512202
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sar eax, 1
jns 0x51220c
adc eax, 0
test eax, eax
jle 0x512294
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
dec eax
mov edx, eax
add edx, edx
inc edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.0040568c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x5122c4
call fcn.004054ac
mov eax, dword [ebp - 0x2c]
call fcn.00409d9c
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x34]
mov dl, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x18]
shr ecx, 8
xor dl, cl
call fcn.0040537c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0x4d7c
add eax, 0x75ed
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x51221e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5122b6
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.004051b8
ret
Function at 0x5122c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x512457
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00405194
mov dword [ebp - 0x18], 0x1cb
cmp byte [ebp - 5], 0
je 0x512393
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x512324
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x51243c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x18]
shr edx, 8
xor al, dl
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x28]
xor eax, eax
mov al, byte [ebp - 0x11]
mov edx, 2
call fcn.00409d74
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0x7d8
add eax, 0x928b
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x512339
jmp 0x51243c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5123aa
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sar eax, 1
jns 0x5123b4
adc eax, 0
test eax, eax
jle 0x51243c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
dec eax
mov edx, eax
add edx, edx
inc edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.0040568c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x51246c
call fcn.004054ac
mov eax, dword [ebp - 0x2c]
call fcn.00409d9c
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x34]
mov dl, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x18]
shr ecx, 8
xor dl, cl
call fcn.0040537c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0x7d8
add eax, 0x928b
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x5123c6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51245e
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.004051b8
ret
Function at 0x512470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5125ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00405194
mov dword [ebp - 0x18], 0x1e3
cmp byte [ebp - 5], 0
je 0x51253b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5124cc
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x5125e4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x18]
shr edx, 8
xor al, dl
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x28]
xor eax, eax
mov al, byte [ebp - 0x11]
mov edx, 2
call fcn.00409d74
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0xa19
add eax, 0xd362
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x5124e1
jmp 0x5125e4
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x512552
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sar eax, 1
jns 0x51255c
adc eax, 0
test eax, eax
jle 0x5125e4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
dec eax
mov edx, eax
add edx, edx
inc edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.0040568c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x512614
call fcn.004054ac
mov eax, dword [ebp - 0x2c]
call fcn.00409d9c
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x34]
mov dl, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x18]
shr ecx, 8
xor dl, cl
call fcn.0040537c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0xa19
add eax, 0xd362
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x51256e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512606
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.004051b8
ret
Function at 0x512618
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5127a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00405194
mov dword [ebp - 0x18], 0xc7d2
cmp byte [ebp - 5], 0
je 0x5126e3
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x512674
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x51278c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x18]
shr edx, 8
xor al, dl
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x28]
xor eax, eax
mov al, byte [ebp - 0x11]
mov edx, 2
call fcn.00409d74
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0x7140
add eax, 0x2fd
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x512689
jmp 0x51278c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5126fa
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sar eax, 1
jns 0x512704
adc eax, 0
test eax, eax
jle 0x51278c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
dec eax
mov edx, eax
add edx, edx
inc edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.0040568c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x5127bc
call fcn.004054ac
mov eax, dword [ebp - 0x2c]
call fcn.00409d9c
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x34]
mov dl, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x18]
shr ecx, 8
xor dl, cl
call fcn.0040537c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0x7140
add eax, 0x2fd
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x512716
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5127ae
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.004051b8
ret
Function at 0x5127c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51294f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00405194
mov dword [ebp - 0x18], 0x1758
cmp byte [ebp - 5], 0
je 0x51288b
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x51281c
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jle 0x512934
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x18]
shr edx, 8
xor al, dl
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x28]
xor eax, eax
mov al, byte [ebp - 0x11]
mov edx, 2
call fcn.00409d74
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0x4026
add eax, 0x6e02
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x512831
jmp 0x512934
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5128a2
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sar eax, 1
jns 0x5128ac
adc eax, 0
test eax, eax
jle 0x512934
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
dec eax
mov edx, eax
add edx, edx
inc edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.0040568c
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x512964
call fcn.004054ac
mov eax, dword [ebp - 0x2c]
call fcn.00409d9c
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x34]
mov dl, byte [ebp - 0x11]
mov ecx, dword [ebp - 0x18]
shr ecx, 8
xor dl, cl
call fcn.0040537c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00405460
mov eax, dword [ebp - 0xc]
xor eax, eax
mov al, byte [ebp - 0x11]
add eax, 0x173
imul eax, eax, 0x4026
add eax, 0x6e02
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x5128be
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512956
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.004051b8
ret

Function at 0x519da8
Capabilities:
Encode data using xor

Disassembly:
push ebx
dec ecx
test ecx, ecx
jb 0x519db9
inc ecx
movzx ebx, byte [edx]
xor byte [eax], bl
inc eax
inc edx
dec ecx
jne 0x519daf
pop ebx
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0xa65370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xa6538e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xa8e074
push ecx
mov edi, eax
call fcn.00a79198
mov esi, eax
add esp, 8
test esi, esi
jne 0xa653cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00a7902e
push esi
call fcn.00a78fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xa68850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xa688ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xa93720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xa688ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00a791e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xa688ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xa93720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xa6892a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00a7a082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xa68957
mov word [eax], si
add eax, 2
push eax
call fcn.00a7a030
add esp, 4
jmp 0xa68959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xa688ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xa688b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xa68ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret