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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
lea eax, [ebp - 0xd8]
push eax
call fcn.0069a170
pop ecx
lea edx, [ebp - 0xd8]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0069a187
add esp, 0xc
push 0xa0
lea ecx, [ebp - 0xd8]
push ecx
lea eax, [ebp - 0x178]
push eax
call fcn.006986b0
add esp, 0xc
lea edx, [ebp - 0x178]
push edx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0069a222
add esp, 0xc
mov eax, dword [ebp + 0x20]
dec eax
mov ecx, 0x14
xor edx, edx
div ecx
inc eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x69b9e8
push 0x14
push 0
lea ecx, [ebp - 0x38]
push ecx
call fcn.0069869c
add esp, 0xc
push 0xa0
lea eax, [ebp - 0x178]
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.006986b0
add esp, 0xc
mov ecx, dword [ebp - 4]
inc ecx
shr ecx, 0x18
mov byte [ebp - 0x24], cl
mov eax, dword [ebp - 4]
inc eax
shr eax, 0x10
mov byte [ebp - 0x23], al
mov edx, dword [ebp - 4]
inc edx
shr edx, 8
mov byte [ebp - 0x22], dl
mov cl, byte [ebp - 4]
inc ecx
mov byte [ebp - 0x21], cl
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 4
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x18]
jae 0x69b9a2
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.0069a222
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x14
lea ecx, [ebp - 0x24]
push ecx
call fcn.0069a2ee
add esp, 0xc
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov cl, byte [ebp + edx - 0x24]
mov eax, dword [ebp - 0xc]
xor byte [ebp + eax - 0x38], cl
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x14
jb 0x69b965
push 0xa0
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x218]
push ecx
call fcn.006986b0
add esp, 0xc
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x18]
jb 0x69b935
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 4]
shl ecx, 2
lea ecx, [ecx + ecx*4]
mov dword [ebp - 0xc], ecx
jmp 0x69b9cb
mov eax, dword [ebp - 8]
mov dl, byte [ebp + eax - 0x38]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0xc]
mov byte [ecx + eax], dl
inc dword [ebp - 8]
inc dword [ebp - 0xc]
cmp dword [ebp - 8], 0x14
jae 0x69b9d9
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x20]
jb 0x69b9b5
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x69b8d1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x180]
mov edx, ebx
mov eax, edi
call fcn.006a396c
mov esi, eax
mov dword [edi + 0x180], esi
and esi, 0xff
add dword [edi + 0x184], esi
imul esi, dword [edi + 0x184], 0x8088405
inc esi
mov dword [edi + 0x184], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x188]
mov eax, edi
call fcn.006a396c
mov dword [edi + 0x188], eax
pop edi
pop esi
pop ebx
ret
Function at 0x6a3784
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [esi + 0x120]
cmp byte [eax + 0x4c], 0
jne 0x6a37b8
mov edi, ecx
dec edi
test edi, edi
jl 0x6a37c9
inc edi
mov eax, esi
call fcn.006a3764
xor byte [ebx], al
movzx edx, byte [ebx]
mov eax, esi
call fcn.006a370c
inc ebx
dec edi
jne 0x6a379f
jmp 0x6a37c9
lea eax, [esi + 0x3cc]
push eax
push ecx
push ebx
call fcn.00698e30
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x6a3860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.0040a2b8
xor eax, eax
push ebp
push 0x6a38d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.006a37d0
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.006a3764
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.006a370c
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x6a38a0
movzx ebx, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a38dd
lea eax, [ebp - 4]
call fcn.0040a1e8
ret
Function at 0x6a4720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6a4911
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x6a48cd
mov eax, dword [ebp - 4]
call fcn.006a611c
cmp ebx, eax
jge 0x6a48cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x128]
mov edx, ebx
call fcn.00685e1c
mov edx, dword [0x686ab0]
call fcn.004086cc
mov esi, eax
mov eax, esi
call fcn.00689528
test al, al
je 0x6a48c3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x6a47a2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x6a48b6
xor eax, eax
push ebp
push 0x6a48af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.006a4d54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
call fcn.004678fc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x28]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x28]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, esi
call fcn.0040ac20
mov eax, dword [ebp - 8]
call fcn.0040a784
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
movzx eax, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006a4aa0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x168]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a48fb
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x6a48ae
mov eax, dword [ebp - 4]
call fcn.006a4ddc
ret
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x50]
call fcn.0040a640
jmp 0x6a48fb
mov eax, dword [ebp - 8]
call fcn.0040a1e8
jmp 0x6a48fb
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00423f6c
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x41c7e0]
call fcn.0042a518
call fcn.004098c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a4918
lea eax, [ebp - 0x54]
call fcn.0040a1c4
ret
Function at 0x6b1cf0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040a2a8
mov eax, dword [ebp - 8]
call fcn.0040a2a8
xor eax, eax
push ebp
push 0x6b1eae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x6b1ec8
call fcn.00425654
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00424544
test al, al
jne 0x6b1e86
cmp byte [ebp + 8], 0
je 0x6b1d88
mov eax, 0x6b1f04
call fcn.006ade80
mov eax, dword [eax + 0x3e4]
mov dword [ebp - 0x10], eax
jmp 0x6b1d99
xor ecx, ecx
mov dl, 1
mov eax, dword [0x664b08]
call fcn.006093bc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x6b1e7f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x6f10bc]
mov eax, dword [eax]
call fcn.005d5ca0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x6b1f18
call fcn.00425654
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
mov ecx, 0x6b1f54
mov edx, dword [ebp - 0xc]
call fcn.0040b120
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00669764
test al, al
je 0x6b1e57
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040aeb8
push eax
lea eax, [ebp - 0x2c]
mov ecx, 0x6b1f54
mov edx, dword [ebp - 0xc]
call fcn.0040b120
mov eax, dword [ebp - 0x2c]
call fcn.0040aeb8
push eax
call sub.kernel32.dll_CopyFileW
lea eax, [ebp - 0x34]
mov ecx, 0x6b1f54
mov edx, dword [ebp - 0xc]
call fcn.0040b120
mov eax, dword [ebp - 0x34]
call fcn.0040aeb8
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040af1c
mov eax, dword [ebp - 0x30]
call fcn.00424b58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b1e86
cmp byte [ebp + 8], 0
je 0x6b1e71
call fcn.006adf78
jmp 0x6b1e7e
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x10], edx
call fcn.00408430
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b1eb5
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.0040a224
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a224
ret
Function at 0x6b3764
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcc0
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
lea edi, [ebp - 0x2ec]
mov ecx, 0xb8
rep movsd dword es:[edi], dword [esi]
xor eax, eax
push ebp
push 0x6b38aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
lea edx, [ebp - 0x253]
mov ecx, 0xff
push 0
call fcn.0040a98c
lea eax, [ebp - 8]
lea edx, [ebp - 0x154]
mov ecx, 0xff
push 0
call fcn.0040a98c
lea eax, [ebp - 0x340]
xor ecx, ecx
mov edx, 0x10
call fcn.00407a68
lea eax, [ebp - 0x330]
xor ecx, ecx
mov edx, 0x44
call fcn.00407a68
mov dword [ebp - 0x330], 0x44
mov dword [ebp - 0x304], 1
mov word [ebp - 0x300], 5
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040a688
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x330]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040ac0c
push eax
mov eax, dword [ebp - 4]
call fcn.0040ac0c
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x6b3877
jmp 0x6b3860
mov eax, dword [0x6f10bc]
mov eax, dword [eax]
call fcn.005d5ca0
mov eax, dword [0x6f10bc]
mov eax, dword [eax]
cmp byte [eax + 0xbc], 0
jne 0x6b388f
push 0x64
mov eax, dword [ebp - 0x340]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x6b3844
jmp 0x6b388f
push 0x30
mov ecx, 0x6b38b8
mov edx, 0x6b38c4
mov eax, dword [0x6f10bc]
mov eax, dword [eax]
call fcn.005d6168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b38b1
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a254
ret
Function at 0x6b9108
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6b9136
mov eax, ebx
call fcn.006b9bc4
cmp dword [ebx + 0x40], 0
je 0x6b912f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x6b91a7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x6b9199
cmp dword [ebx + 8], 0
je 0x6b9158
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 0x6b916a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x6b9199
cmp dword [ebx + 8], 0
je 0x6b914b
cmp eax, 3
je 0x6b917d
dec eax
jne 0x6b914b
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 0x6b914b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x6b914b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6b91c5
cmp dword [ebx + 0x14], 0xcc
je 0x6b91c5
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.006b91d0
pop ebx
ret

Function at 0x6cb304
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x4d0]
mov dl, 1
call fcn.00424544
test al, al
je 0x6cb3de
push 0x6cb3e4
push 0
call sub.user32.dll_FindWindowW
mov ebx, eax
test ebx, ebx
jne 0x6cb3de
xor edx, edx
mov eax, 0x6cb418
call fcn.006c9928
xor eax, eax
push ebp
push 0x6cb3d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x4d0]
mov cl, 1
xor edx, edx
call fcn.0066a35c
call sub.kernel32.dll_GetTickCount
mov esi, eax
push 0x6cb3e4
push 0
call sub.user32.dll_FindWindowW
mov ebx, eax
test ebx, ebx
jne 0x6cb3a4
push 0x6cb3e4
push 0
call sub.user32.dll_FindWindowW
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 0x1388
ja 0x6cb3a4
mov eax, dword [0x6f10bc]
mov eax, dword [eax]
call fcn.005d5ca0
test ebx, ebx
je 0x6cb378
test ebx, ebx
je 0x6cb3ba
push 0
push 0xf020
push 0x112
push ebx
call sub.user32.dll_PostMessageW
mov eax, 0x1388
call fcn.0066a47c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cb3de
call fcn.006c99c8
ret
pop esi
pop ebx
pop ebp
ret
Function at 0x10004377
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100070dd
push ebx
push esi
call fcn.10007009
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10006f9d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000708a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100070dc
push edi
push eax
call fcn.10007ffb
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100070aa
call fcn.10005ae4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100070db
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10006f9d
add esp, 0x20
test eax, eax
jne 0x100070c9
push edi
call fcn.10005ae4
jmp 0x100070d1
push ebx
call fcn.10005ae4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000734a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e4e8
push 0x1000e4e0
push str.FlsAlloc
push 0x1f
call fcn.10007266
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000737e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d110]
call esi
jmp 0x10007384
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100073c8
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e4f8
push 0x1000e4f0
push str.FlsGetValue
push 0x21
call fcn.10007266
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100073ff
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d110]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10007407
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e500
push 0x1000e4f8
push str.FlsSetValue
push 0x22
call fcn.10007266
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007441
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000d110]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000cac0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000caed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000caed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x7c5058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x7c51a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x7c507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7c506a
add dl, dl
jne 0x7c5089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7c50dc
xor eax, eax
add dl, dl
jne 0x7c5096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7c517d
add dl, dl
jne 0x7c50a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7c50b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7c50bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7c50c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7c50d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7c5075
mov eax, 1
add dl, dl
jne 0x7c50ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7c50f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7c50e1
sub eax, ebx
mov ebx, 1
jne 0x7c5128
mov ecx, 1
add dl, dl
jne 0x7c510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7c5119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7c5105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7c5075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7c513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7c514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7c5136
cmp eax, 0x7d00
jae 0x7c516d
cmp eax, 0x500
jb 0x7c5168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7c5075
cmp eax, 0x7f
ja 0x7c5170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7c5075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7c519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x7c5075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10004d1f
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006416a
call fcn.10063a98
sub esp, 0x10
push ebx
push esi
mov dword [ebp - 0x18], 0x59b2
cmp dword [ebp - 0x18], 0x5d99
push edi
mov dword [ebp - 0x10], esp
jle 0x10004d69
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x100812f8
xor eax, esi
cdq
push edx
push eax
call fcn.10001ee2
inc edi
cmp edi, 0x1902
jl 0x10004d46
inc esi
cmp esi, 0x5d2f
jl 0x10004d44
cmp byte [ebp + 8], 0
je 0x10004d77
call dword [sym.imp.USER32.dll_CreateMenu]
jmp 0x10004d95
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x10004d95
push ecx
push 0x3ae1
mov dl, 1
mov ecx, 0x3d65
call fcn.10004867
pop ecx
pop ecx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0x58f6
jge 0x10004db4
mov edx, str.avymu_keqgxds_ivyg
mov ecx, 0x100812f8
call fcn.1000395e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100071e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp byte [ebp + 0x18], 0
push ebx
push esi
mov esi, edx
mov byte [ebp - 8], cl
push edi
mov dword [ebp - 0x10], esi
je 0x100072e6
cmp byte [ebp + 0x10], 0
je 0x100072ba
mov dword [ebp - 0xc], 0x3667
cmp dword [ebp - 0xc], 0x3709
push 0
pop edi
jle 0x10007286
push edi
push 0x24be
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ebx, edi
mov dword [ebp + 0x18], edi
mov esi, ebx
mov ebx, 0x457d
mov eax, esi
lea ecx, [ebp - 0x28]
cdq
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10007250
mov eax, dword [eax]
push eax
call fcn.1004b616
pop ecx
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.1000230b
dec esi
dec ebx
jne 0x10007239
mov ebx, dword [ebp + 0x18]
inc ebx
mov dword [ebp + 0x18], ebx
cmp ebx, 0x4184
jl 0x10007232
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_RemovePropA]
mov esi, dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
call fcn.1000f2d7
cmp dword [ebp - 0xc], 0x328a
mov eax, dword [esi]
mov dword [eax + 4], eax
mov eax, dword [esi]
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
mov dword [esi + 4], edi
jge 0x1000737b
push str.hfd_yhrg_uqirls_guynbz_mgdjs_wsme_ykbltdy_hzoykacf_cicbkw_mckwwfzl_dlu_iazvvdfwo_fqsbrnj_jnz
jmp 0x10007375
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
cmp dword [edx], 4
jge 0x1000737b
mov esi, dword [ebp + 0x14]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 1
inc dword [edx]
cmp dword [edx], 4
jl 0x100072cf
jmp 0x1000737b
mov dword [ebp - 0xc], 0x4b4c
cmp dword [ebp - 0xc], 0x4eda
push 0
pop edi
jle 0x1000734f
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
call esi
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov esi, edi
mov ebx, edi
mov dword [ebp + 0x18], 0x1a52
mov eax, ebx
lea ecx, [ebp - 0x40]
cdq
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000732d
mov eax, dword [eax]
push eax
call fcn.1004b616
pop ecx
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.1000230b
add ebx, esi
dec dword [ebp + 0x18]
jne 0x10007316
inc esi
cmp esi, 0x145d
jl 0x1000730d
cmp byte [ebp - 8], 0
je 0x1000735e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x10007367
mov eax, dword [ebp + 8]
mov dword [eax], 0x6673e7ed
cmp dword [ebp - 0xc], 0x4893
jge 0x1000737b
push str.gbogrgx_aqi_amphxf_eprhnacjn_obdqigdm_igxpuvpo_rxsgnivca_mlkfa_wqxi_jiicpybz_fbdzpxqvf_xxhcf_qqxurex_wsu
call fcn.1004b616
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007382
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 4], 0x1a97
mov ebx, edx
cmp dword [ebp - 4], 0x1ba9
push 0
pop edi
jle 0x100073fc
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_FlashWindow]
mov esi, edi
mov eax, edi
lea ecx, [ebp - 0x1c]
or eax, esi
cdq
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100073c9
mov eax, dword [eax]
push eax
call fcn.1004b616
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.1000230b
inc edi
cmp edi, 0x4a3
jl 0x100073b0
inc esi
push 0
pop edi
cmp esi, 0x1ccd
jl 0x100073b0
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
push edi
push ebx
push ecx
push ecx
push dword [ebp + 0xc]
mov edx, 0x7280
push dword [ebp + 0x10]
call fcn.1000742e
add esp, 0x18
cmp dword [ebp - 4], 0x16b2
jge 0x10007427
push str.pubazlcdg_oiaj_bkocte_sqxp_cxzys_lyxbqz_lekpmmhnr_qfwlukkoc
call fcn.1004b616
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007af7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp byte [ebp + 8], 0
je 0x10007b08
add dword [ecx], 0xfffffffe
jmp 0x10007b18
xor eax, eax
push eax
push 0x1e3a
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esp, ebp
pop ebp
ret