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

Disassembly:
push ecx
push ecx
mov edx, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xd4]
mov dword [esp + 4], eax
test edx, edx
je 0x49b33f
imul eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
neg eax
add ecx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push ebp
push edi
lea edi, [ecx + eax*4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0xcc]
mov ebp, edi
imul ecx, ebx
add ecx, dword [esi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x49b31f
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 4]
xor byte [ecx], al
add ecx, esi
dec edx
jne 0x49b2fa
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec edx
inc ebx
cmp dword [esi + 0xe8], 0
mov dword [esp + 0x3c], edx
jne 0x49b334
add edi, dword [esp + 0x14]
jmp 0x49b338
add edi, dword [esp + 0x24]
test edx, edx
jne 0x49b2d8
pop edi
pop ebp
pop ebx
pop esi
pop ecx
pop ecx
ret 0x24

Function at 0x49b64a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ecx
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], edx
test ebx, ebx
je 0x49b724
imul eax, dword [esp + 0x1c], 3
mov ecx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x24]
neg ecx
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
imul eax, dword [esp + 0x30]
push edi
imul edi, dword [esp + 0x30], 3
mov dword [esp + 0x10], ecx
add eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
mov esi, dword [eax + 0xcc]
imul esi, ebp
mov dword [esp + 0x34], edi
add esi, dword [eax + 0xc8]
add esi, dword [esp + 0x28]
test edx, edx
jle 0x49b6fa
mov ebp, dword [esp + 0x34]
mov ebx, 0xff
sub ebx, dword [esp + 0x40]
mov edi, edx
movzx eax, byte [esi]
movzx ecx, byte [ebp]
imul ecx, dword [esp + 0x40]
imul eax, ebx
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
inc ebp
mov byte [esi], al
inc esi
dec edi
jne 0x49b6c2
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
dec ebx
inc ebp
cmp dword [eax + 0xe8], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebp
jne 0x49b711
add edi, ecx
jmp 0x49b715
add edi, dword [esp + 0x24]
mov dword [esp + 0x38], edi
test ebx, ebx
jne 0x49b698
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 0x28
Function at 0x49bd44
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xd4]
mov dword [esp + 8], eax
test esi, esi
je 0x49bdf9
imul eax, dword [esp + 0x20]
imul edx, dword [esp + 0x28], 3
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
neg eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x34]
add eax, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0xcc]
mov ebp, edx
imul ecx, ebx
add ecx, dword [edi + 0xc8]
add ecx, eax
cmp dword [esp + 0x38], 0
jle 0x49bdda
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov al, byte [ebp + 2]
xor byte [ecx + 2], al
mov al, byte [ebp + 1]
xor byte [ecx + 1], al
mov al, byte [ebp]
lea ebp, [ebp + 3]
xor byte [ecx], al
add ecx, edi
dec esi
jne 0x49bdb5
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
dec esi
inc ebx
cmp dword [edi + 0xe8], 0
mov dword [esp + 0x3c], esi
jne 0x49bdef
add edx, dword [esp + 0x14]
jmp 0x49bdf3
add edx, dword [esp + 0x24]
test esi, esi
jne 0x49bd93
pop ebp
pop ebx
pop edi
pop esi
pop ecx
pop ecx
ret 0x24
Function at 0x4033ac
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x423924
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42392a
ret

Function at 0x4324b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x432661
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404ef8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x432678
call fcn.00404b54
mov eax, ebx
call fcn.00421788
mov edi, eax
dec edi
test edi, edi
jl 0x432568
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0042175c
mov edx, dword [0x44add8]
call fcn.00403c84
test al, al
je 0x432564
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0042175c
lea edx, [ebp - 0x14]
call fcn.004599c0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404ef8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bc8
inc esi
dec edi
jne 0x432516
mov al, byte [0x43267c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x432688
mov eax, dword [ebp - 0xc]
call fcn.0040e1ac
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004048e0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004599c0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x432678
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.004599c0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x432678
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x432678
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x432694
call fcn.0040a1b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432668
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040486c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040486c
lea eax, [ebp - 0x14]
call fcn.00404848
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040486c
ret
Function at 0x490d6c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push esi
push edi
test dl, dl
je 0x490d80
add esp, 0xfffffff0
call fcn.00403e1c
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404cf8
xor eax, eax
push ebp
push 0x490e5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0048c3dc
lea ecx, [ebp - 0x14]
xor edx, edx
xor eax, eax
call fcn.004196c8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x24], edx
lea ecx, [ebp - 0x14]
xor edx, edx
xor eax, eax
call fcn.004196c8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x38], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x3c], edx
lea ecx, [ebp - 0x14]
xor edx, edx
xor eax, eax
call fcn.004196c8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x34], edx
lea ecx, [ebp - 0x14]
xor edx, edx
xor eax, eax
call fcn.004196c8
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x28], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x2c], edx
push 0
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.004196f0
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x24]
lea edi, [eax + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0xffffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x50], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490e64
lea eax, [ebp - 0xc]
call fcn.00404848
ret
Function at 0x496208
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x496338
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x496350
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.0040489c
push 0xffffffffffffffff
mov ecx, 0x496360
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov ecx, 0x49637c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
call fcn.0047e5b4
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x496398
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
call fcn.0047e498
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
lea edi, [eax + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4963ac
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
call fcn.0047e498
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
lea edi, [eax + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4963c4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
call fcn.0047e498
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
lea edi, [eax + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, 0x4963e0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
call fcn.0047e5b4
mov edx, dword [ebp - 4]
mov byte [edx + 0x44], al
mov ecx, 0x4963f4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
call fcn.0048c094
mov edx, dword [ebp - 4]
mov byte [edx + 0x45], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49633f
lea eax, [ebp - 0xc]
call fcn.00404848
ret
Function at 0x4b0008
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
call fcn.00404cf8
xor eax, eax
push ebp
push 0x4b0157
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x34]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.004196f0
push 0x400
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404b08
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404d08
push eax
mov eax, dword [ebp - 4]
call fcn.00425a48
push eax
call fcn.0040743c
lea eax, [ebp - 0x34]
call fcn.0047e184
add eax, 2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x34]
call fcn.0047e1a8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
sar eax, 1
jns 0x4b009c
adc eax, 0
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x20]
add edx, 2
sar edx, 1
jns 0x4b00ac
adc edx, 0
sub eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
sar eax, 1
jns 0x4b00bb
adc eax, 0
mov edx, dword [ebp - 0x1c]
sar edx, 1
jns 0x4b00c5
adc edx, 0
sub eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
sar eax, 1
jns 0x4b00e0
adc eax, 0
mov edx, dword [ebp - 0x24]
sar edx, 1
jns 0x4b00ea
adc edx, 0
sub eax, edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
push 1
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404b08
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404d08
push eax
mov eax, dword [ebp - 4]
call fcn.00425a48
push eax
call fcn.0040743c
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov al, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
call fcn.004674d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b015e
lea eax, [ebp + 0x14]
call fcn.00404848
ret
Function at 0x4e1fb8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4e1fe6
mov eax, ebx
call fcn.004e2a6c
cmp dword [ebx + 0x40], 0
je 0x4e1fdf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4e2057
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4e2049
cmp dword [ebx + 8], 0
je 0x4e2008
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4e201a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e2049
cmp dword [ebx + 8], 0
je 0x4e1ffb
cmp eax, 3
je 0x4e202d
dec eax
jne 0x4e1ffb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4e1ffb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4e1ffb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4e2075
cmp dword [ebx + 0x14], 0xcc
je 0x4e2075
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004e2080
pop ebx
ret
Function at 0x502c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jne 0x502c6f
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x502dde
xor dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc], 8
jb 0x502da3
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x562af8]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x562af8]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x562af8]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x562af8]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x562af8]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x562af8]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x562af8]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x562af8]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
sub dword [ebp - 0xc], 8
cmp dword [ebp - 0xc], 8
jae 0x502c7d
cmp dword [ebp - 0xc], 0
je 0x502dd5
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov eax, dword [eax*4 + 0x562af8]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x502da9
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x50a3e8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x50a416
mov eax, ebx
call fcn.0050ae8c
cmp dword [ebx + 0x3c], 0
je 0x50a40f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x50a487
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x50a479
cmp dword [ebx + 8], 0
je 0x50a438
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x50a44a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x50a479
cmp dword [ebx + 8], 0
je 0x50a42b
cmp eax, 3
je 0x50a45d
dec eax
jne 0x50a42b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x50a42b
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x50a42b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x50a4a5
cmp dword [ebx + 0x10], 0xcc
je 0x50a4a5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0050a4b0
pop ebx
ret
Function at 0x514920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jne 0x51493f
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x514ac6
cmp dword [0x566f38], 0
jne 0x51494d
call fcn.00514880
xor dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc], 8
jb 0x514a89
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x566f38]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x566f38]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x566f38]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x566f38]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x566f38]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x566f38]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x566f38]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x566f38]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
sub dword [ebp - 0xc], 8
cmp dword [ebp - 0xc], 8
jae 0x51495b
cmp dword [ebp - 0xc], 0
jbe 0x514abd
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov edx, dword [0x566f38]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
ja 0x514a8f
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x401520
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
lea edx, [ebp - 0x5c]
movups xmmword [edx + 0x34], xmm0
movups xmmword [edx + 0x24], xmm0
movups xmmword [edx + 0x14], xmm0
movups xmmword [edx + 4], xmm0
mov dword [edx], 0x44
lea esi, [ebp - 0x18]
movups xmmword [esi], xmm0
sub esp, 0x28
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
movaps xmm0, xmmword [0x455ff0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4015c1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40159e
xor ebx, ebx
jmp 0x4015b8
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4015b6
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
setne bl
jmp 0x4015b8
mov bl, 1
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add esp, 0x54
pop esi
pop ebx
pop ebp
ret

Function at 0x401740
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x220
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea esi, [ebp - 0x22a]
mov word [esi + 0x208], bx
mov word [esi], bx
push edi
push 0x104
push esi
call fcn.00402e50
add esp, 0xc
test al, al
je 0x4017e9
push 0x45604a
push 0x104
push esi
call fcn.00402e90
add esp, 0xc
test al, al
je 0x4017e7
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
lea ebx, [ebp - 0x20]
mov dword [ebx], edi
mov edi, dword [ebp + 0x10]
mov dword [ebx + 4], edi
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x10], eax
push ebx
push 0x4015d0
push 0x45605e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
test eax, eax
je 0x4017e7
push 0x104
push edi
call fcn.00402e20
add esp, 8
test eax, eax
je 0x4017e7
push 0x104
mov edi, dword [ebp + 0x14]
push edi
call fcn.00402e20
add esp, 8
test eax, eax
je 0x4017f6
xor ebx, ebx
mov eax, ebx
add esp, 0x220
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
push 0x4015d0
push 0x456064
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
test eax, eax
jne 0x40181b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
jne 0x4017e7
push 0x104
push edi
call fcn.00402e20
add esp, 8
test eax, eax
je 0x401862
push esi
push edi
call fcn.004025e0
add esp, 8
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test bl, bl
je 0x4017e7
mov bl, 1
push esi
push 0x104
push edi
call fcn.00402e50
add esp, 0xc
test al, al
jne 0x4017e9
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4017e7
push 0x104
push edi
call fcn.00402e20
add esp, 8
test eax, eax
setne bl
jmp 0x4017e9