joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7eee90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push ebx
push esi
mov esi, dword [0xacdb20]
call fcn.007ecc40
test esi, esi
mov ebx, eax
jne 0x7eef86
push ebx
push 0x64736f63
push 0xf6c
call fcn.007e5323
mov esi, eax
add esp, 0xc
test esi, esi
je 0x7eef86
push edi
xor eax, eax
mov ecx, 0x3db
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esi + 0xf4c], ebx
mov ebx, dword [ebp + 8]
push ebx
mov dword [0xacdb20], esi
call fcn.007ea7c0
push esi
push fcn.007eeaf0
call fcn.007f4e90
xor eax, eax
mov ecx, 0x64
lea edi, [ebp - 0x194]
add esp, 0xc
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x194]
push eax
push 2
call fcn.00831d20
mov ax, word [ebp - 0x194]
movzx ecx, ah
push 0
mov ch, al
push 0
push 0
push 0
mov dword [esi + 0xf50], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x7eecd0
push 0
push 0
mov dword [esi + 0xf60], eax
mov dword [esi + 0xf58], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xf58], eax
pop edi
je 0x7eef86
mov eax, dword [esi + 0xf58]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 0xf58]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x7efbd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jge 0x7efbde
xor eax, eax
pop ebp
ret
mov eax, dword [0xacdb20]
mov ecx, dword [eax + 0xf4c]
push ebx
push esi
push edi
push ecx
push 0x64736f63
push 0x5c
call fcn.007e5323
mov edx, dword [ebp + 8]
mov ebx, eax
xor eax, eax
mov ecx, 0x17
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [ebx + 8], 0x7efb00
mov dword [ebx + 0xc], 0x7efb10
mov al, byte [edx]
add esp, 0xc
test al, al
mov ecx, edx
je 0x7efc38
cmp al, 0x2e
je 0x7efc2e
cmp al, 0x30
jl 0x7efc38
cmp al, 0x39
jg 0x7efc38
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x7efc22
jmp 0x7efc41
cmp byte [ecx], 0
jne 0x7efcc0
xor esi, esi
xor eax, eax
mov al, byte [edx]
xor ecx, ecx
cmp al, 0x30
jl 0x7efc64
lea ecx, [ecx]
cmp al, 0x39
jg 0x7efc64
and eax, 0xf
lea ecx, [ecx + ecx*4]
inc edx
lea ecx, [eax + ecx*2]
mov al, byte [edx]
cmp al, 0x30
jge 0x7efc50
movsx edi, byte [edx]
xor eax, eax
cmp esi, 3
setge al
dec eax
and eax, 0x2e
cmp edi, eax
jne 0x7efca5
cmp ecx, 0xff
jg 0x7efca5
mov eax, dword [ebx + 4]
shl eax, 8
or eax, ecx
inc edx
inc esi
cmp esi, 4
mov dword [ebx + 4], eax
mov dword [ebx], 1
jl 0x7efc43
pop edi
pop esi
mov dword [ebx + 0x54], 1
mov eax, ebx
pop ebx
pop ebp
ret
pop edi
pop esi
mov dword [ebx], 0xfffffffe
mov dword [ebx + 4], 0
mov dword [ebx + 0x54], 1
mov eax, ebx
pop ebx
pop ebp
ret
mov esi, edx
lea edi, [ebx + 0x10]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0xc]
push ecx
push 0
push ebx
push 0x7efb50
push 0
push 0
mov byte [ebx + 0x4f], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x7efcf1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x7f2800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
xor dl, dl
test esi, esi
push edi
je 0x7f28f4
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x7f28f4
mov al, byte [edi]
test al, al
mov byte [ebp + 0xb], al
je 0x7f28f4
mov eax, edi
push ebx
mov edi, edi
mov cl, byte [esi]
test cl, cl
je 0x7f286b
movzx ebx, byte [eax]
mov bl, byte [ebx + 0x89a618]
movzx ecx, cl
xor bl, byte [ecx + 0x89a618]
mov cl, byte [eax + 1]
or dl, bl
inc esi
inc eax
test cl, cl
jne 0x7f2830
sub eax, edi
test dl, dl
mov dword [ebp - 4], eax
jne 0x7f2874
cmp byte [esi], 0x3d
jne 0x7f2874
pop ebx
pop edi
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x7f286b
mov dl, byte [esi + 1]
inc esi
test dl, dl
je 0x7f286b
mov ebx, dword [ebp + 0xc]
mov edi, eax
mov ecx, esi
sub edi, esi
sub ecx, eax
add edi, ebx
mov bl, 0x20
cmp dl, 0x3d
jne 0x7f28e1
cmp byte [eax + ecx - 1], bl
jbe 0x7f286b
cmp byte [ecx - 1], bl
mov edx, ecx
ja 0x7f28e1
movzx ebx, byte [ecx]
movzx eax, byte [ebp + 0xb]
mov bl, byte [ebx + 0x89a618]
cmp bl, byte [eax + 0x89a618]
jne 0x7f28d8
jmp 0x7f28c0
movzx ebx, byte [edx + 1]
movzx eax, byte [edi + edx + 1]
mov bl, byte [ebx + 0x89a618]
inc edx
cmp bl, byte [eax + 0x89a618]
je 0x7f28c0
cmp edx, esi
je 0x7f2861
mov eax, dword [ebp - 4]
mov bl, 0x20
mov dl, byte [esi + 1]
inc esi
dec edi
inc ecx
test dl, dl
jne 0x7f2890
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x7f8930
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0x1a4
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
test esi, esi
je 0x7f8a6f
push edi
mov ecx, 0x69
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esi], fcn.007f8930
mov dword [esi + 4], 0x7f83e0
mov dword [esi + 8], fcn.007f8470
mov dword [esi + 0xc], 0x7f8660
mov dword [esi + 0x10], 0x7f8670
mov dword [esi + 0x14], 0x7f8720
mov dword [esi + 0x18], 0x7f8740
mov dword [esi + 0x1c], 0x7f87f0
mov dword [esi + 0x20], 0x7f8460
mov dword [esi + 0x24], 0x7f8840
mov dword [esi + 0x28], 0x7f88a0
mov dword [esi + 0x2c], 0x7f88b0
mov dword [esi + 0x30], 0x7f88d0
mov dword [esi + 0x34], 0x7f8900
mov ecx, dword [str.TAPI]
lea eax, [esi + 0x50]
mov dword [eax], ecx
mov dl, byte [0x89acc0]
mov byte [eax + 4], dl
lea eax, [esi + 0x1a0]
push eax
push 0
push esi
push 0x7f8330
push 0
push 0
mov dword [esi + 0x98], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x98]
test eax, eax
jne 0x7f8a1e
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
mov eax, dword [esi + 0x98]
test eax, eax
je 0x7f8a10
cmp dword [esi + 0x98], 1
pop edi
jne 0x7f8a3a
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.007fe590
mov dword [esi + 0x80], eax
add esp, 0xc
or eax, 0xffffffff
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], 2
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x7fa630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x23
push eax
call fcn.0081e400
add esp, 8
test eax, eax
je 0x7fa671
mov dl, byte [eax]
xor ecx, ecx
test dl, dl
je 0x7fa668
push esi
jmp 0x7fa650
mov esi, ecx
shl ecx, 5
sar esi, 0x1b
xor esi, ecx
movsx ecx, dl
mov dl, byte [eax + 1]
xor ecx, esi
inc eax
test dl, dl
jne 0x7fa650
pop esi
mov edx, dword [ebp + 8]
mov dword [edx + 0x9c], ecx
pop ebp
ret
Function at 0x7fc220
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0x14]
cmp ecx, 1
jge 0x7fc233
mov ecx, 1
push esi
mov esi, dword [ebp + 8]
push edi
mov byte [esi + 0x100], 0
mov byte [esi + 0x101], 0
xor eax, eax
jmp 0x7fc250
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jb 0x7fc250
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x7fc365
push ebx
xor bl, bl
test ecx, ecx
jle 0x7fc364
mov eax, 1
sub eax, esi
mov dword [ebp - 4], eax
mov eax, 2
sub eax, esi
mov dword [ebp - 8], eax
mov eax, 3
sub eax, esi
mov dword [ebp - 0xc], eax
mov dword [ebp + 0x10], ecx
xor eax, eax
mov dword [ebp + 8], eax
mov ecx, esi
lea esp, [esp]
mov dl, byte [ecx]
mov byte [ebp + 0x17], dl
xor edx, edx
div edi
mov eax, dword [ebp + 0xc]
mov dl, byte [edx + eax]
add dl, byte [ebp + 0x17]
add bl, dl
movzx eax, bl
mov dl, byte [eax + esi]
add eax, esi
mov byte [ecx], dl
mov dl, byte [ebp + 0x17]
mov byte [eax], dl
mov al, byte [ecx + 1]
mov edx, dword [ebp - 4]
mov byte [ebp + 0x17], al
lea eax, [edx + ecx]
xor edx, edx
div edi
mov eax, dword [ebp + 0xc]
mov dl, byte [edx + eax]
add dl, byte [ebp + 0x17]
add bl, dl
movzx eax, bl
mov dl, byte [eax + esi]
add eax, esi
mov byte [ecx + 1], dl
mov dl, byte [ebp + 0x17]
mov byte [eax], dl
mov al, byte [ecx + 2]
mov edx, dword [ebp - 8]
mov byte [ebp + 0x17], al
lea eax, [edx + ecx]
xor edx, edx
div edi
mov eax, dword [ebp + 0xc]
mov dl, byte [edx + eax]
add dl, byte [ebp + 0x17]
add bl, dl
movzx eax, bl
mov dl, byte [eax + esi]
add eax, esi
mov byte [ecx + 2], dl
mov dl, byte [ebp + 0x17]
mov byte [eax], dl
mov al, byte [ecx + 3]
mov edx, dword [ebp - 0xc]
mov byte [ebp + 0x17], al
lea eax, [edx + ecx]
xor edx, edx
div edi
mov eax, dword [ebp + 0xc]
add ecx, 4
mov dl, byte [edx + eax]
add dl, byte [ebp + 0x17]
add bl, dl
movzx eax, bl
mov dl, byte [eax + esi]
add eax, esi
mov byte [ecx - 1], dl
mov dl, byte [ebp + 0x17]
mov byte [eax], dl
mov eax, dword [ebp + 8]
add eax, 4
cmp eax, 0x100
mov dword [ebp + 8], eax
jb 0x7fc2a0
dec dword [ebp + 0x10]
jne 0x7fc292
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x7fc370
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 0x101]
movzx ecx, byte [eax + 0x100]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
mov dword [ebp - 4], edx
jle 0x7fc403
push ebx
mov dword [ebp + 0x10], esi
mov esi, dword [ebp + 0xc]
push edi
lea ebx, [ebx]
mov edi, dword [ebp - 4]
inc ecx
and ecx, 0xff
movzx edx, byte [ecx + eax]
add edi, edx
mov dword [ebp + 8], edx
and edi, 0xff
movzx edx, byte [edi + eax]
mov byte [ecx + eax], dl
mov dword [ebp - 8], edx
mov dl, byte [ebp + 8]
mov byte [edi + eax], dl
mov edx, dword [ebp - 8]
mov bl, byte [esi]
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
add edx, edi
and edx, 0xff
mov dl, byte [edx + eax]
xor bl, dl
mov edx, dword [ebp + 0x10]
mov byte [esi], bl
inc esi
dec edx
mov dword [ebp + 0x10], edx
jne 0x7fc3a0
pop edi
mov byte [eax + 0x100], cl
mov cl, byte [ebp - 4]
pop ebx
mov byte [eax + 0x101], cl
pop esi
mov esp, ebp
pop ebp
ret
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x7fc6c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret

Function at 0x7fcfb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
call fcn.007ea620
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x400]
xor esi, esi
test ecx, ecx
jle 0x7fcfef
lea esp, [esp]
mov ecx, esi
and ecx, 0x1f
mov edi, 1
shl edi, cl
test eax, edi
setne cl
mov byte [esi + edx], cl
mov ecx, dword [edx + 0x400]
inc esi
cmp esi, ecx
jl 0x7fcfd0
mov ecx, dword [edx + 0x400]
xor esi, esi
test ecx, ecx
jle 0x7fd01c
jmp 0x7fd000
mov cl, byte [esi + edx]
inc eax
imul eax, eax, 0x10dcd
xor cl, al
je 0x7fd003
mov byte [esi + edx], cl
mov ecx, dword [edx + 0x400]
inc esi
cmp esi, ecx
jl 0x7fd000
mov eax, dword [edx + 0x400]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
sub eax, ecx
mov byte [edx], 0
mov byte [edx + 1], 2
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
mov byte [edi - 1], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
ret
Function at 0x7fd390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
test esi, esi
push edi
je 0x7fd46f
mov edi, dword [esi]
mov eax, dword [ebx + 0x1918]
mov ecx, dword [ebx + 0x1914]
add edi, 8
sub ecx, eax
lea edx, [edi + 8]
cmp ecx, edx
mov dword [ebp - 4], edi
jge 0x7fd3c6
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x191c]
shl ecx, 0xb
add ecx, eax
lea eax, [ecx + ebx + 0x914]
mov byte [eax], 0x47
mov byte [eax + 1], 0x53
mov dl, byte [esi]
mov byte [eax + 2], dl
mov cl, byte [esi]
not cl
mov byte [eax + 3], cl
mov ecx, edi
lea edx, [eax + 4]
mov edi, edx
mov edx, ecx
shr ecx, 2
add esi, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
lea ecx, [eax + 4]
mov edx, ecx
xor ecx, ecx
test esi, esi
jle 0x7fd427
mov dword [ebp - 4], esi
movzx di, byte [edx]
imul ecx, ecx, 0xd
add ecx, edi
mov edi, dword [ebp - 4]
inc edx
dec edi
mov dword [ebp - 4], edi
jne 0x7fd414
mov byte [eax + esi + 4], cl
mov byte [eax + esi + 5], ch
mov byte [eax + esi + 6], 0xd
mov byte [eax + esi + 7], 0xa
mov eax, dword [ebx + 0x1918]
test eax, eax
jne 0x7fd452
mov eax, dword [ebx + 0x84]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetCommMask]
mov eax, dword [ebx + 0x1918]
add esi, 8
add eax, esi
mov dword [ebx + 0x1918], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x1920], eax
mov eax, dword [ebx + 0x1918]
test eax, eax
je 0x7fd4d3
mov ecx, dword [ebx + 0xc0]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x7fd4d3
mov ecx, dword [ebx + 0x1918]
lea edx, [ebx + 0xb0]
push edx
mov edx, dword [ebx + 0x191c]
lea eax, [ebx + 0xcc]
push eax
push ecx
mov ecx, dword [ebx + 0x84]
shl edx, 0xb
lea eax, [edx + ebx + 0x914]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor dword [ebx + 0x191c], 1
mov dword [ebx + 0x1918], 0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x7fd5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
mov ebx, eax
mov eax, dword [ebx + 0xd8]
test eax, eax
jne 0x7fd5df
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ecx]
call esi
xor eax, ebx
test eax, eax
mov dword [ebx + 0xd8], eax
je 0x7fd5d0
pop esi
mov eax, dword [ebx + 0xd8]
mov dword [ebp - 0x804], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x810], 0
mov dword [ebp - 0x808], 1
call fcn.007fd390
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7fe590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
call fcn.007ecc40
push eax
push 0x63736572
push 0x194c
mov dword [ebp - 4], eax
call fcn.007e5323
mov esi, eax
xor ebx, ebx
add esp, 0xc
xor eax, eax
cmp esi, ebx
je 0x7fe759
push edi
mov ecx, 0x653
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x40], eax
mov dword [esi], fcn.007fe590
mov dword [esi + 4], fcn.007fdbd0
mov dword [esi + 8], 0x7fdcc0
mov dword [esi + 0xc], 0x7fddf0
mov dword [esi + 0x10], fcn.007fe1b0
mov dword [esi + 0x14], fcn.007fe210
mov dword [esi + 0x18], fcn.007fe2a0
mov dword [esi + 0x1c], fcn.007fe300
mov dword [esi + 0x20], 0x7fdcb0
mov dword [esi + 0x24], fcn.007fe310
mov dword [esi + 0x28], 0x7fe360
mov dword [esi + 0x2c], fcn.007fe370
mov dword [esi + 0x30], fcn.007fe4c0
mov dword [esi + 0x34], fcn.007fe540
mov edx, dword [str.SERIAL]
lea ecx, [esi + 0x50]
mov dword [ecx], edx
mov ax, word [0x89ad28]
mov word [ecx + 4], ax
mov dl, byte [0x89ad2a]
lea eax, [esi + 0x1928]
push eax
mov byte [ecx + 6], dl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x40]
add edi, 0x10
mov eax, edi
imul eax, dword [ebp + 0xc]
push ecx
push 0x63736572
push eax
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], eax
call fcn.007e5323
mov edx, dword [esi + 0x40]
mov dword [esi + 0xf4], edi
imul edi, dword [ebp + 0x10]
push edx
push 0x63736572
push edi
mov dword [esi + 0xec], eax
mov dword [esi + 0xf8], edi
call fcn.007e5323
add esp, 0x18
mov dword [esi + 0x108], eax
mov dword [esi + 0x910], ebx
mov dword [esi + 0x191c], ebx
mov dword [esi + 0x1918], ebx
mov dword [esi + 0x1914], 0x800
mov dword [esi + 0xd4], 1
mov dword [esi + 0xd8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push 1
push 1
push ebx
mov dword [esi + 0xd0], eax
mov dword [esi + 0x84], 0xffffffff
call edi
push ebx
push 1
push 1
push ebx
mov dword [esi + 0x98], eax
call edi
push ebx
push 1
push 1
push ebx
mov dword [esi + 0xac], eax
call edi
mov dword [esi + 0xc0], eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
push 0x7fd8c0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
jne 0x7fe746
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x801334
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x8013d7
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 8]
push eax
call fcn.00801317
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
pop ecx
call esi
lea ebx, [eax + 5]
jmp 0x801376
call esi
cmp eax, ebx
jb 0x801374
lea eax, [ebp - 0x18]
push eax
call edi
lea eax, [ebp - 4]
push eax
call fcn.00801317
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 8]
pop ecx
test eax, eax
mov dword [ebp - 8], eax
fild dword [ebp - 8]
jge 0x8013a0
fadd qword [0x898038]
mov eax, dword [ebp - 0x10]
fild dword [ebp - 0x10]
test eax, eax
jge 0x8013b0
fadd qword [0x898038]
mov eax, dword [ebp - 0x18]
fmulp st(1)
sub eax, dword [ebp - 0x20]
test eax, eax
mov dword [ebp - 8], eax
fild dword [ebp - 8]
jge 0x8013c8
fadd qword [0x898038]
fdivp st(1)
fmul qword [0x863968]
call fcn.0081cba0
mov esi, eax
xor edx, edx
mov ecx, 0xc8
lea eax, [esi + esi*2 + 0x64]
div ecx
xor edx, edx
push 3
pop ecx
push 0x32
imul eax, eax, 0xc8
div ecx
xor edx, edx
pop ecx
mov edi, eax
lea eax, [esi + 0x19]
div ecx
mov ecx, eax
imul ecx, ecx, 0x32
mov eax, ecx
sub eax, esi
cdq
mov ebx, eax
xor ebx, edx
mov eax, edi
sub eax, esi
sub ebx, edx
cdq
xor eax, edx
sub eax, edx
cmp ebx, eax
jae 0x80141e
mov eax, ecx
jmp 0x801429
cmp edi, 0x29a
mov eax, edi
jne 0x801429
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x81f2c3
Capabilities:
Terminate process

Disassembly:
push 8
push 0x89d2c8
call fcn.008221f0
push 8
call fcn.00825ce3
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0xacff24], esi
jne 0x81f2f7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0xacff20], esi
mov al, byte [ebp + 0x10]
mov byte [0xacff1c], al
cmp dword [ebp + 0xc], edi
jne 0x81f341
cmp dword [0xad23b0], edi
je 0x81f331
mov eax, dword [0xad23ac]
sub eax, 4
mov dword [0xad23ac], eax
cmp eax, dword [0xad23b0]
jb 0x81f331
mov eax, dword [eax]
cmp eax, edi
je 0x81f312
call eax
jmp 0x81f312
push 0x8a8548
mov eax, 0x8a853c
call fcn.0081f241
pop ecx
push 0x8a8554
mov eax, 0x8a854c
call fcn.0081f241
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x81f372
cmp dword [ebp + 0x10], edi
jne 0x81f380
mov dword [0xacff24], esi
push dword [ebp + 8]
call fcn.0081f1ff
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x81f37f
push 8
call fcn.00825c2e
pop ecx
ret
call fcn.0082222b
ret
Function at 0x81f4e7
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0081cf10
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x81f582
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0xacfee4]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x81f582
cmp eax, 1
je 0x81f5a3
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x81f582
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x81f54f
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x81f57e
xor eax, eax
inc eax
jmp 0x81f5c2
cmp edi, eax
jae 0x81f586
xor eax, eax
jmp 0x81f5c2
cmp eax, esi
jae 0x81f58d
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0xacfee4]
jmp 0x81f5a6
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x81fa63
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
call fcn.0072a59e
mov dword [eax], eax
call fcn.008221f0
mov edi, 0x94
mov eax, edi
call fcn.0081cf10
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0xacfee4], ecx
mov eax, dword [esi + 4]
mov dword [0xacfef0], eax
mov edx, dword [esi + 8]
mov dword [0xacfef4], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0xacfee8], esi
cmp ecx, 2
je 0x81fac3
or esi, 0x8000
mov dword [0xacfee8], esi
shl eax, 8
add eax, edx
mov dword [0xacfeec], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x81fafe
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x81fafe
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x81fb16
cmp eax, 0x20b
je 0x81fb03
mov dword [ebp - 0x1c], esi
jmp 0x81fb2a
cmp dword [ecx + 0x84], 0xe
jbe 0x81fafe
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x81fb24
cmp dword [ecx + 0x74], 0xe
jbe 0x81fafe
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00825b3f
pop ecx
test eax, eax
jne 0x81fb3e
push 0x1c
call fcn.0081fa3f
pop ecx
call fcn.0082361e
test eax, eax
jne 0x81fb4f
push 0x10
call fcn.0081fa3f
pop ecx
call fcn.008282e2
mov dword [ebp - 4], esi
call fcn.00828003
test eax, eax
jge 0x81fb68
push 0x1b
call fcn.0081fa1a
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0xad23a4], eax
call fcn.00829bbc
mov dword [0xacff28], eax
call fcn.00829b1a
test eax, eax
jge 0x81fb8e
push 8
call fcn.0081fa1a
pop ecx
call fcn.008298e7
test eax, eax
jge 0x81fb9f
push 9
call fcn.0081fa1a
pop ecx
push 1
call fcn.0081f259
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x81fbb5
push eax
call fcn.0081fa1a
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0082988a
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x81fbd6
movzx eax, word [ebp - 0x40]
jmp 0x81fbd9
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.005e6300
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x81fbf7
push edi
call fcn.0081f386
call fcn.0081f3a8
jmp 0x81fc29
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0082222b
ret

Function at 0x820b56
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x820b64
xor ecx, ecx
jmp 0x820b82
cmp eax, 0x1a
jbe 0x820b6e
push 0x57
pop eax
pop ebp
ret
add al, 0x40
lea ecx, [ebp + 8]
mov byte [ebp + 8], al
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
mov eax, dword [ebp + 0xc]
push eax
lea edx, [eax + 4]
push edx
lea edx, [eax + 0xc]
push edx
add eax, 8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x820ba4
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop ebp
ret