joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48dd78
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.0048dddc
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x48ddac
cmp dword [esp + 4], 5
ja 0x48ddb0
cmp dword [esp + 4], 5
jne 0x48ddac
cmp dword [esp + 8], 1
jae 0x48ddb0
xor eax, eax
jmp 0x48ddb2
mov al, 1
add esp, 0x94
ret

Function at 0x4a5d04
Capabilities:
Change the wallpaper

Disassembly:
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [0x5077bc], 0
jne 0x4a5d3b
cmp byte [eax + 4], 0
jne 0x4a5d3b
mov dword [esp], 0x14
push 3
lea eax, [esp + 4]
push eax
push 0x14
push 0x2c
call sub.user32.dll_SystemParametersInfoA
jmp 0x4a5d42
xor eax, eax
call fcn.004a2c2c
add esp, 0x14
pop edi
pop esi
ret

Function at 0x4a8a4c
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x10]
call fcn.00404f70
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x4a8c64
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
push 0x103
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.00404f70
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov eax, esi
mov edx, esp
mov ecx, 0x105
call fcn.00404d20
add esp, 0x108
pop esi
pop ebx
ret
Function at 0x4a91fc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 0xc]
mov eax, ebx
xor ecx, ecx
mov edx, 0x160
call fcn.00403608
mov eax, dword [ebp + 8]
push eax
push 0x160
push ebx
push edi
mov eax, esi
call fcn.00404f70
push eax
call sub.shell32.dll_SHGetFileInfoA
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4aff70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4aff9f
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4b001e
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004ae82c
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4affec
mov cx, word [esp]
sub cx, si
jmp 0x4affee
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4affd5
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4b0014
mov cx, word [esp]
sub cx, si
jmp 0x4b0016
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4afffd
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4b007b
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004afc44
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4b0066
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4b007b
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4aff7a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b64e8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x510bd0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4b650a
shr eax, 1
xor eax, 0xedb88320
jmp 0x4b650c
shr eax, 1
dec edx
jne 0x4b64f8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4b64f1
mov byte [0x510fd0], 1
pop esi
pop ebx
ret

Function at 0x4b6528
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x510fd0], 0
jne 0x4b653f
call fcn.004b64e8
mov eax, edi
dec eax
test eax, eax
jl 0x4b6568
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x510bd0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4b6549
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4b9084
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4b90b5
dec al
je 0x4b90f1
dec al
je 0x4b9135
dec al
je 0x4b91a0
jmp 0x4b922a
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4b922a
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4b90c5
jmp 0x4b922a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4b922a
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4b9101
jmp 0x4b922a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4b922a
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4b9163
xor ebp, ebp
jmp 0x4b9174
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4b917d
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4b9145
jmp 0x4b922a
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4b922a
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4b91f8
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004b6570
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4b91b4
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4dc9b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4dc9b8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4dcbaa
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4dcbc0
mov eax, esi
call fcn.004da838
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404b04
lea ecx, [ebp - 0x10]
mov edx, 0x4dcbd4
mov eax, esi
call fcn.004da838
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404b04
lea ecx, [ebp - 0x14]
mov edx, 0x4dcbec
mov eax, esi
call fcn.004da838
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404b04
lea ecx, [ebp - 0x18]
mov edx, 0x4dcc08
mov eax, esi
call fcn.004da838
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404b04
lea ecx, [ebp - 0x1c]
mov edx, 0x4dcc24
mov eax, esi
call fcn.004da838
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404b04
lea ecx, [ebp - 0x24]
mov edx, 0x4dcc3c
mov eax, esi
call fcn.004da838
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040ad64
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040b300
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4dcc54
mov eax, esi
call fcn.004da838
mov eax, dword [ebp - 0x28]
call fcn.004961e8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4dcc64
mov eax, esi
call fcn.004da838
mov eax, dword [ebp - 0x2c]
call fcn.004961e8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4dcc7c
mov eax, esi
call fcn.004da838
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040b300
inc eax
je 0x4dcb4d
lea ecx, [ebp - 0x34]
mov edx, 0x4dcc7c
mov eax, esi
call fcn.004da838
mov eax, dword [ebp - 0x34]
call fcn.0040b2c4
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040c9b8
fstp qword [ebp - 0x3c]
wait
call fcn.0040cd28
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4dcb68
lea ecx, [ebp - 0x40]
mov edx, 0x4dcc7c
mov eax, esi
call fcn.004da838
mov eax, dword [ebp - 0x40]
call fcn.004961e8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4dcc8c
mov eax, esi
call fcn.004da838
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404b04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dcbb1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404ad4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404ad4
ret
Function at 0x4e3df4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4e3e4e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004e3de4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00494b98
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00494798
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3e55
lea eax, [ebp - 4]
call fcn.00404ab0
ret

Function at 0x4e9330
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x4e9340
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4e9355
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x4e9458
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x14], 0
je 0x4e946d
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.004e93c4
mov esi, eax
mov eax, ebx
call fcn.00403c44
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4fac0c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404f60
xor eax, eax
push ebp
push 0x4fad91
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0040ad64
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x50c3c8]
mov edx, dword [edx]
call fcn.00404ebc
jne 0x4fac75
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.004032dc
mov eax, dword [ebp - 0x20]
call fcn.00404f70
mov dword [ebp - 0x18], eax
jmp 0x4fac80
mov eax, dword [ebp - 4]
call fcn.00404f70
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x4faca4
mov eax, ebx
mov edx, 0x4fada8
call fcn.00404b04
jmp 0x4fad6e
mov eax, esi
call fcn.00402e24
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push esi
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4fadac
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.0040b274
push dword [ebx]
push 0x4fadb8
mov eax, dword [edi + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040b274
push dword [ebp - 0x24]
mov eax, ebx
mov edx, 3
call fcn.00404e30
push dword [ebx]
push 0x4fadb8
mov eax, dword [edi + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.0040b274
push dword [ebp - 0x28]
mov eax, ebx
mov edx, 3
call fcn.00404e30
push dword [ebx]
push 0x4fadb8
mov eax, dword [edi + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.0040b274
push dword [ebp - 0x2c]
mov eax, ebx
mov edx, 3
call fcn.00404e30
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00402e54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fad98
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00404ad4
lea eax, [ebp - 4]
call fcn.00404ab0
ret
Function at 0x4fc634
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x3c]
mov edx, 0x3c
call fcn.00407eb4
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x440
mov eax, ebx
call fcn.00404f70
mov dword [ebp - 0x2c], eax
mov eax, edi
call fcn.00404f70
mov dword [ebp - 0x28], eax
cmp byte [ebp + 8], 0
je 0x4fc680
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x4fc687
mov dword [ebp - 0x20], 1
xor eax, eax
mov dword [esi], eax
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4fc6d8
cmp dword [ebp + 0xc], 0
jbe 0x4fc6cf
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x4fc6c5
xor ebx, ebx
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_TerminateProcess
push esi
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5025b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x110], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x502683
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404ab0
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
call fcn.00403340
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x104]
mov ecx, 0x104
call fcn.00404d20
push dword [ebp - 0x108]
call fcn.0040cd28
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x10c]
mov eax, 0x502698
call fcn.0040d9d0
push dword [ebp - 0x10c]
mov eax, 0x3e7
call fcn.00403628
lea edx, [ebp - 0x110]
call fcn.0040b188
push dword [ebp - 0x110]
push 0x5026b0
mov eax, ebx
mov edx, 4
call fcn.00404e30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50268a
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00404ad4
ret
Function at 0x1001b130
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi - 0x7ff80000]
cmp esi, 0x7ff80000
ja 0x1001b148
mov ebx, 0x10000
lea edi, [esi + 0x7ff80000]
cmp esi, 0x80000000
jb 0x1001b15b
mov edi, 0xfff80000
mov eax, dword [0x101ca9a4]
mov ecx, dword [0x101ca9b0]
test eax, eax
jne 0x1001b175
test ecx, ecx
je 0x1001b188
mov eax, ecx
mov dword [0x101ca9a4], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x1001b188
cmp edx, ebx
jb 0x1001b188
cmp edx, edi
jbe 0x1001b20e
mov eax, ecx
mov dword [0x101ca9a4], eax
test ecx, ecx
je 0x1001b1b2
test eax, eax
je 0x1001b1a6
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001b1a6
cmp ecx, ebx
jb 0x1001b1a6
cmp ecx, edi
jbe 0x1001b20e
mov eax, dword [eax + 4]
mov dword [0x101ca9a4], eax
test eax, eax
jne 0x1001b197
movzx eax, si
mov ecx, ebx
sub esi, eax
mov edx, esi
call fcn.1002fc50
test eax, eax
jne 0x1001b1d1
mov edx, edi
mov ecx, esi
call fcn.1002fc50
test eax, eax
je 0x1001b235
mov dword [eax], 0x52727464
xor edx, edx
mov dword [eax + 8], 0
mov esi, 0x2a7
mov ecx, dword [0x101ca9b0]
mov dword [eax + 4], ecx
lea ecx, [eax + 0xff60]
mov dword [0x101ca9a4], eax
mov dword [0x101ca9b0], eax
mov edi, edi
mov dword [ecx + 0x40], edx
mov edx, ecx
sub ecx, 0x60
dec esi
jne 0x1001b200
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, ebx
jb 0x1001b235
cmp esi, edi
ja 0x1001b235
mov ecx, dword [esi + 0x40]
push 0x60
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.1011e040
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1001b131
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi - 0x7ff80000]
cmp esi, 0x7ff80000
ja 0x1001b148
mov ebx, 0x10000
lea edi, [esi + 0x7ff80000]
cmp esi, 0x80000000
jb 0x1001b15b
mov edi, 0xfff80000
mov eax, dword [0x101ca9a4]
mov ecx, dword [0x101ca9b0]
test eax, eax
jne 0x1001b175
test ecx, ecx
je 0x1001b188
mov eax, ecx
mov dword [0x101ca9a4], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x1001b188
cmp edx, ebx
jb 0x1001b188
cmp edx, edi
jbe 0x1001b20e
mov eax, ecx
mov dword [0x101ca9a4], eax
test ecx, ecx
je 0x1001b1b2
test eax, eax
je 0x1001b1a6
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001b1a6
cmp ecx, ebx
jb 0x1001b1a6
cmp ecx, edi
jbe 0x1001b20e
mov eax, dword [eax + 4]
mov dword [0x101ca9a4], eax
test eax, eax
jne 0x1001b197
movzx eax, si
mov ecx, ebx
sub esi, eax
mov edx, esi
call fcn.1002fc50
test eax, eax
jne 0x1001b1d1
mov edx, edi
mov ecx, esi
call fcn.1002fc50
test eax, eax
je 0x1001b235
mov dword [eax], 0x52727464
xor edx, edx
mov dword [eax + 8], 0
mov esi, 0x2a7
mov ecx, dword [0x101ca9b0]
mov dword [eax + 4], ecx
lea ecx, [eax + 0xff60]
mov dword [0x101ca9a4], eax
mov dword [0x101ca9b0], eax
mov edi, edi
mov dword [ecx + 0x40], edx
mov edx, ecx
sub ecx, 0x60
dec esi
jne 0x1001b200
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, ebx
jb 0x1001b235
cmp esi, edi
ja 0x1001b235
mov ecx, dword [esi + 0x40]
push 0x60
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.1011e040
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x1001b270
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov ecx, dword [0x101ca9b0]
push ebx
mov ebx, 0x101ca9b0
test ecx, ecx
je 0x1001b2dc
push esi
push edi
cmp dword [ecx], 0x52727464
jne 0x1001b2d1
lea edi, [ecx + 0x10000]
xor edx, edx
lea esi, [ecx + 0xa0]
mov eax, dword [esi]
test eax, eax
je 0x1001b2a6
cmp eax, ecx
jb 0x1001b2d1
cmp eax, edi
jae 0x1001b2d1
inc edx
add esi, 0x60
cmp edx, 0x2a9
jb 0x1001b298
mov eax, dword [ecx + 4]
push 0x8000
push 0
push ecx
mov dword [ebx], eax
call dword [sym.imp.kernel32.dll_VirtualFree]
mov dword [0x101ca9a4], 0
jmp 0x1001b2d4
lea ebx, [ecx + 4]
mov ecx, dword [ebx]
test ecx, ecx
jne 0x1001b282
pop edi
pop esi
pop ebx
ret

Function at 0x1001b760
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x101ca9b8]
push edi
mov edi, ecx
test eax, eax
jne 0x1001b7d5
call dword [sym.imp.kernel32.dll_GetCurrentThread]
cmp edi, eax
jne 0x1001b77a
xor eax, eax
pop edi
ret
push esi
push 8
call fcn.1002fc50
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001b790
lea edi, [eax + 8]
jmp 0x1001b7ad
push edi
call dword [sym.imp.kernel32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1001b7c2
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edi, eax
call fcn.10115871
add esp, 4
pop esi
mov dword [0x101ca9b8], edi
mov eax, edi
mov dword [0x101ca99c], 0
pop edi
ret
mov eax, dword [0x101ca9a0]
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], edi
mov dword [0x101ca9a0], esi
pop esi
pop edi
ret
Function at 0x10022b50
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x101bb518]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x101cb288], 0
je 0x10022b95
mov eax, dword [0x101cb284]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10115876
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x11c
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.1011e040
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
xorps xmm0, xmm0
mov dword [ebp - 0x140], 0
lea eax, [ebp - 0x160]
movdqa xmmword [ebp - 0x160], xmm0
push eax
movdqa xmmword [ebp - 0x150], xmm0
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
push dword [ebp - 0x160]
mov edx, dword [ebp - 0x120]
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x124]
push dword [ebp - 0xe]
push dword [ebp - 0x118]
call fcn.1002fc50
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov dword [0x101cb284], eax
mov dword [0x101cb288], 1
call fcn.10115876
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x1002fc50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x1002fc5f
pop dword [ebp - 0x18]
mov eax, 0xf778f3d
add eax, 0x8b6d22
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x89133
push 0
mov eax, 0xe3f09788
add eax, 0x2c24bacc
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x3f6cb9a
add ecx, 0xfc098288
mov edi, eax
mov ebx, 0xec023fa8
add ebx, 0x241c7058
add ebx, dword [ebp - 0x18]
mov esi, 0x99f8c4bc
sub esi, 0x25746c9a
mov edx, dword [ebx]
xor dword [ebp - 0xc], edx
sub edx, esi
xor dword [ebp - 0xc], ebx
mov dword [edi], edx
xor dword [ebp - 0xc], esi
add edi, 0x624c404e
sub edi, 0x624c404a
add ebx, 0xda707a0d
sub ebx, 0xda707a09
loop 0x1002fcbe
add eax, 0x14388b5b
add eax, 0xebc8a000
xor ebx, ebx
add ebx, eax
add eax, 0x41a450c1
add eax, 0xbe5baf44
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x10036760
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x10036791
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10036780
pop edi
mov eax, esi
pop esi
pop ebp
ret 8