joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4031d6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x403201
mov ecx, dword [0x42a2b8]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.004032de
cmp eax, esi
jl 0x4032d8
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00405f61
test eax, eax
je 0x4032c8
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.004032de
mov ebx, eax
cmp ebx, esi
jl 0x4032d6
cmp dword [ebp + 0x10], esi
jne 0x4032a4
cmp dword [ebp + 8], esi
jle 0x4032d6
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x403266
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00405f61
test eax, eax
je 0x4032c8
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00405f90
test eax, eax
je 0x4032a0
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x403255
jmp 0x4032d6
push 0xfffffffffffffffe
jmp 0x4032ca
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x4032af
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4032cd
push 0xfffffffffffffffd
pop eax
jmp 0x4032d8
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x40591f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x4083f0
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083e0
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405970
xor eax, eax
jmp 0x405997
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405997
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x40596c
call esi
pop esi
leave
ret 4

Function at 0x4059d1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x426730], 0x44
push eax
xor eax, eax
push 0x426730
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405a10
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405a14
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405ab2
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405eb9
mov edi, eax
cmp edi, 0xffffffff
je 0x405af3
test byte [esp + 0x10], 1
push esi
je 0x405ad5
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405adb
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405ae4
xor eax, eax
inc eax
jmp 0x405af5
test byte [esp + 0x10], 4
jne 0x405af3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x405afa
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405dc5
test bl, 8
mov dword [ebp - 8], eax
je 0x405b39
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x42a2e8], eax
jmp 0x405cb6
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405b53
test eax, eax
je 0x405c64
test bl, 2
je 0x405c64
mov esi, 0x425730
push edi
push esi
call fcn.004063e8
cmp dword [ebp + 8], 0
je 0x405b72
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x405b78
push edi
call fcn.00405d09
cmp word [edi], 0
jne 0x405b88
cmp word [0x425730], 0x5c
jne 0x405b93
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405c59
cmp word [ebp - 0x22c], 0x2e
jne 0x405bdd
cmp word [ebp - 0x22a], 0
je 0x405c3c
cmp word [ebp - 0x22a], 0x2e
jne 0x405bdd
cmp word [ebp - 0x228], 0
je 0x405c3c
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.004063e8
test byte [ebp - 0x258], 0x10
je 0x405c08
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405c3c
push dword [ebp + 0xc]
push edi
call fcn.00405afa
jmp 0x405c3c
push dword [ebp - 4]
push edi
call fcn.00405ab2
test eax, eax
jne 0x405c34
cmp dword [ebp - 4], eax
je 0x405c2c
push edi
push 0xfffffffffffffff1
call fcn.00405450
push 0
push edi
call fcn.004061ae
jmp 0x405c3c
inc dword [0x42a2e8]
jmp 0x405c3c
push edi
push 0xfffffffffffffff2
call fcn.00405450
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405bb5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405c64
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405cb6
cmp dword [ebp - 8], esi
jne 0x405c78
inc dword [0x42a2e8]
jmp 0x405cb6
push edi
call fcn.0040672b
test eax, eax
je 0x405cb6
push edi
call fcn.00405cbd
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405ab2
test eax, eax
jne 0x405cae
cmp dword [ebp - 4], esi
je 0x405c70
push edi
push 0xfffffffffffffff1
call fcn.00405450
push esi
push edi
call fcn.004061ae
jmp 0x405cb6
push edi
push 0xffffffffffffffe5
call fcn.00405450
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405dc5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.004063e8
push esi
call fcn.00405d68
mov edi, eax
test edi, edi
jne 0x405de6
xor eax, eax
jmp 0x405e3e
push edi
call fcn.0040667c
test byte [0x42a25c], 0x80
je 0x405e03
mov ax, word [edi]
test ax, ax
je 0x405de2
cmp ax, 0x5c
je 0x405de2
sub edi, esi
sar edi, 1
jmp 0x405e1d
call fcn.0040672b
test eax, eax
je 0x405e17
test byte [eax], 0x10
je 0x405de2
push esi
call fcn.00405d09
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405e09
call fcn.00405cbd
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405eb9
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405ed8
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405ede
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x405f0d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a588]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40a58c]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405f5d
test edi, edi
jne 0x405f1a
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x405f57
Function at 0x406034
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x426dc8], 0x55004e
mov dword [0x426dcc], 0x4c
mov edi, 0x400
mov ebp, 0x426dc8
je 0x40608a
push 1
push 0
push esi
call fcn.00405ede
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4061a9
cmp eax, edi
jg 0x4061a9
mov esi, 0x4275c8
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4061a9
cmp eax, edi
jg 0x4061a9
push esi
push ebp
push str._ls_ls_r_n
push 0x4269c8
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x42a254]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.0040640a
push 4
push 0xc0000000
push esi
call fcn.00405ede
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x4061a9
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4061a2
push edi
push esi
push ebp
call fcn.00405f61
test eax, eax
je 0x4061a2
push str._Rename__r_n
push esi
call fcn.00405e43
test eax, eax
jne 0x406140
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x406175
add eax, 0xa
push 0x40a590
push eax
call fcn.00405e43
mov ebp, eax
test ebp, ebp
je 0x406171
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x406162
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x40615c
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x406177
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x4269c8
push eax
call fcn.00405e99
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00405f90
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4061ae
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4061d1
push dword [esp + 8]
push dword [esp + 8]
call fcn.00406034
pop ecx
pop ecx
inc dword [0x42a2f0]
ret 8
Function at 0x4062b6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x800
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406255
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x406326
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and word [esi + 0x7fe], 0
test edi, edi
pop edi
jne 0x406326
cmp dword [ebp + 0xc], 1
je 0x40632a
cmp dword [ebp + 0xc], 2
je 0x40632a
and word [esi], 0
pop esi
leave
ret 0x14
Function at 0x406752
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406776
xor eax, eax
test eax, eax
je 0x406789
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406789
xor ecx, ecx
jmp 0x40678c
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4068b5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4068ec
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4068c6
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40691d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4068ff
pop edi
not eax
pop esi
ret 0xc
Function at 0x100014dd
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
push ebx
push esi
push edi
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x670], ax
lea eax, [ebp - 0x66e]
push eax
mov edi, ecx
call fcn.10010900
add esp, 0xc
xor eax, eax
push 0x2a
mov word [ebp - 0x10], ax
pop eax
push 0x2e
pop ebx
push 0x5c
mov word [ebp - 0x12], ax
mov word [ebp - 0x16], ax
pop eax
push 0x25
mov word [ebp - 0x18], ax
pop eax
push 0x73
mov word [ebp - 0x1c], ax
pop eax
mov word [ebp - 0x1a], ax
push edi
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x670]
push 0x200
push eax
mov word [ebp - 0x14], bx
call fcn.1000f26c
add esp, 0x14
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x670]
push eax
call dword [0x1006cac0]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001605
test byte [ebp - 0x270], 0x10
je 0x100015e8
cmp word [ebp - 0x244], bx
je 0x100015e8
cmp word [ebp - 0x242], bx
je 0x100015e8
push 0x73
pop eax
push 0x25
mov word [ebp - 0xa], ax
mov word [ebp - 4], ax
pop eax
mov word [ebp - 0xc], ax
mov word [ebp - 6], ax
xor eax, eax
push 0x5c
mov word [ebp - 2], ax
pop eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x244]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x670]
push 0x200
push eax
call fcn.1000f26c
add esp, 0x18
lea ecx, [ebp - 0x670]
call fcn.10001345
lea eax, [ebp - 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x270]
push eax
push esi
call dword [0x1006cabc]
test eax, eax
jne 0x10001570
push esi
call dword [0x1006cab8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100023de
Capabilities:
Get file size

Disassembly:
mov eax, 0x1003ce3a
call fcn.1003baf8
sub esp, 0x64
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x20
pop eax
sub esp, 0x18
mov ebx, ecx
mov ecx, esp
push edi
mov word [ebp - 0x17], 0x4143
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x15], 0x4e
mov byte [ebp - 0x14], al
mov byte [ebp - 0x18], 0x53
call fcn.10008b06
lea ecx, [ebp - 0x6c]
call fcn.1000160a
add esp, 0x18
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x54]
call fcn.10008a7e
push esi
mov edx, eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.1000a0ff
pop ecx
lea ecx, [ebp - 0x54]
call fcn.10008ae5
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.10008ae5
push 0x4f
pop eax
push 0x20
mov word [ebp - 0x20], ax
pop eax
push 0x3a
mov word [ebp - 0x22], ax
pop eax
mov word [ebp - 0x24], ax
xor eax, eax
cmp dword [edi + 0x14], 8
push 0x4b
mov word [ebp - 0x1c], ax
pop eax
mov word [ebp - 0x1e], ax
jb 0x10002483
mov ecx, dword [edi]
jmp 0x10002485
mov ecx, edi
push ecx
push 0x80
push 3
push ecx
push 1
mov edx, 0x80000000
call fcn.1000b4cc
mov esi, eax
add esp, 0x14
cmp esi, 0xffffffff
je 0x10002513
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x80000
ja 0x100024ee
cmp dword [ebp + 8], 0
jne 0x100024ee
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
mov ecx, ebx
call fcn.100025d0
test al, al
je 0x1000250a
mov ecx, ebx
mov byte [ebx + 0x415c], 1
call fcn.10002608
mov byte [ebx + 0x415c], 0
jmp 0x1000250a
lea ecx, [ebp - 0x24]
call fcn.1000102f
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.10009176
push edi
mov ecx, ebx
call fcn.10002bf3
mov ecx, esi
call fcn.1000b40a
jmp 0x1000252f
lea ecx, [ebp - 0x24]
call fcn.1000102f
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.10009176
push edi
mov ecx, ebx
call fcn.10002bf3
lea ecx, [ebp - 0x3c]
call fcn.10008ae5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x10002548
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], 0x2e373231
push dword [edi + 0x78]
mov dword [ebp - 7], 0x312e302e
mov byte [ebp - 8], 0x30
mov byte [ebp - 3], 0
call dword [0x1006ca84]
push 6
push 1
push 2
pop ebx
push ebx
call dword [0x1006ca80]
mov dword [edi + 0x78], eax
lea eax, [ebp - 0xc]
lea esi, [edi + 0x40c0]
push eax
mov word [esi], bx
call dword [0x1006ca7c]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [0x1006ca78]
mov word [edi + 0x40c2], ax
push 0x10
push esi
push dword [edi + 0x78]
call dword [0x1006ca74]
pop edi
cmp eax, 0xffffffff
pop esi
setne al
pop ebx
leave
ret
Function at 0x10002d7b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
lea eax, [ebp - 0x1a8]
push ebx
push esi
push edi
push eax
push 0x101
mov edi, ecx
call dword [0x1006ca68]
push 6
push 1
push 2
pop ebx
push ebx
call dword [0x1006ca80]
mov dword [edi + 0x78], eax
cmp eax, 0xffffffff
jne 0x10002dbe
call dword [0x1006ca64]
xor al, al
jmp 0x10002e4d
lea eax, [ebp - 0x14]
lea esi, [edi + 0x40c0]
push eax
mov dword [ebp - 7], 0x474e49
mov byte [ebp - 8], 0x50
mov word [esi], bx
mov word [ebp - 0xf], 0x302e
mov dword [ebp - 0x14], 0x2e373231
mov word [ebp - 0xc], 0x31
mov byte [ebp - 0x10], 0x30
mov byte [ebp - 0xd], 0x2e
call dword [0x1006ca7c]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [0x1006ca78]
mov word [edi + 0x40c2], ax
push 0x10
push esi
push dword [edi + 0x78]
call dword [0x1006ca74]
cmp eax, 0xffffffff
jne 0x10002e39
push dword [edi + 0x78]
call dword [0x1006ca84]
jmp 0x10002db1
lea ecx, [ebp - 8]
push ecx
mov ecx, edi
call fcn.100025d0
mov ecx, edi
call fcn.10002608
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000772f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x1006cad4]
push edi
push 0x44
xor ebx, ebx
lea eax, [esi + 0x40e0]
push ebx
push eax
mov dword [ebp - 0xc], esi
call fcn.10010900
add esp, 0xc
call fcn.100011f6
lea ecx, [esi + 0x407c]
mov byte [esi + 0x40dd], bl
mov byte [esi + 0x40da], bl
mov byte [esi + 0x29], bl
call fcn.100096cc
lea ecx, [esi + 0x4130]
mov dword [esi + 0x40a4], ebx
mov dword [esi + 0x416c], ebx
call fcn.10008d0f
lea eax, [esi + 0x413c]
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.10008d0f
mov edi, dword [ebp + 8]
mov byte [esi + 0x40dc], 1
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ecx
cdq
mov dword [ebp + 8], 0x18
idiv dword [ebp + 8]
test eax, eax
je 0x100077e1
mov esi, ebx
lea eax, [ebx + ecx]
mov ecx, dword [ebp - 8]
push eax
call fcn.10008c7b
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ecx
cdq
idiv dword [ebp + 8]
add ebx, dword [ebp + 8]
inc esi
cmp esi, eax
jb 0x100077bd
mov esi, dword [ebp - 0xc]
xor ebx, ebx
mov eax, dword [edi + 4]
sub eax, dword [edi]
push ebx
cdq
idiv dword [ebp + 8]
push ebx
push esi
push 0x10001fb3
push ebx
push ebx
mov dword [esi + 0x40fc], eax
call fcn.1000f8b5
add esp, 0x18
mov dword [esi + 0x416c], eax
call fcn.1000120d
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10007814
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x1006cad4]
push edi
push 0x44
xor ebx, ebx
lea eax, [esi + 0x40e0]
push ebx
push eax
mov dword [ebp - 0xc], esi
call fcn.10010900
add esp, 0xc
call fcn.100011f6
lea ecx, [esi + 0x407c]
mov byte [esi + 0x40dd], bl
mov byte [esi + 0x40da], bl
mov byte [esi + 0x29], bl
call fcn.100096cc
lea eax, [esi + 0x4130]
mov ecx, eax
mov dword [esi + 0x40a4], ebx
mov dword [esi + 0x416c], ebx
mov dword [ebp - 8], eax
call fcn.10008d0f
lea ecx, [esi + 0x413c]
call fcn.10008d0f
mov ebx, dword [ebp + 8]
mov byte [esi + 0x40dc], 1
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
mov dword [ebp + 8], edi
test eax, eax
je 0x100078c6
xor edi, edi
mov esi, edi
lea eax, [edi + ecx]
mov ecx, dword [ebp - 8]
push eax
call fcn.10008c7b
mov ecx, dword [ebx]
push 0x18
pop eax
add edi, eax
mov eax, dword [ebx + 4]
sub eax, ecx
cdq
idiv dword [ebp + 8]
inc esi
cmp esi, eax
jb 0x100078a2
mov esi, dword [ebp - 0xc]
xor eax, eax
push eax
push eax
push esi
push 0x10001fb3
push eax
push eax
call fcn.1000f8b5
add esp, 0x18
mov dword [esi + 0x416c], eax
call fcn.1000120d
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10008732
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
cmp byte [0x1004e6b2], 0
push esi
push edi
mov esi, ecx
je 0x100087eb
push 0x70
pop eax
push 0x55
mov word [esp + 0x12], ax
pop eax
push 0x6d
mov word [esp + 0x10], ax
pop eax
push 0x54
mov word [esp + 0x18], ax
pop eax
push 0x64
mov word [esp + 0x16], ax
pop eax
mov word [esp + 0x10], ax
xor eax, eax
mov word [esp + 0x16], ax
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.10008251
test eax, eax
je 0x100087eb
push ecx
mov ecx, esi
call fcn.100087f1
test eax, eax
je 0x100087eb
push str.GlobalNoblePCAPUpdMutex
xor edi, edi
push edi
push 0x100000
call dword [0x1006ca2c]
test eax, eax
je 0x100087b6
mov ecx, eax
call fcn.1000b40a
jmp 0x100087eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x100087eb
cmp dword [0x1006c9ec], edi
je 0x100087d4
mov ecx, dword [0x1006c9ec]
call fcn.1000b40a
push edi
push edi
push esi
push 0x10003077
push edi
push edi
call fcn.1000f8b5
add esp, 0x18
mov dword [0x1006c9ec], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000a803
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push 0x2e
pop eax
push 0x6e
mov word [ebp - 0x20], ax
pop eax
push 0x65
mov word [ebp - 0x2a], ax
mov esi, edx
pop edx
push 0x32
pop eax
push 0x6c
mov word [ebp - 0x22], ax
pop eax
push 0x64
pop ecx
push 0x72
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], ax
mov word [ebp - 0x26], ax
pop eax
push 0x33
mov word [ebp - 0x2c], ax
pop eax
mov word [ebp - 0x24], ax
push 0x4b
pop eax
mov word [ebp - 0x30], ax
xor eax, eax
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
xor ebx, ebx
mov word [ebp - 0x2e], dx
mov word [ebp - 0x28], dx
mov word [ebp - 0x1e], cx
mov word [ebp - 0xe], 0x6c75
mov byte [ebp - 0x13], dl
mov byte [ebp - 0xc], dl
mov byte [ebp - 8], dl
mov word [ebp - 0x11], 0x6f4d
mov word [ebp - 0xa], 0x6c69
mov byte [ebp - 4], dl
mov word [ebp - 3], 0x57
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xb], 0x46
mov word [ebp - 6], 0x6d61
mov byte [ebp - 7], 0x4e
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x12], 0x74
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000a8c1
push 0x104
push esi
push ebx
call eax
mov ebx, eax
pop esi
mov eax, ebx
pop ebx
leave
ret