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

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
push 0x40
mov dword [esp + 0x18], esi
call fcn.10106ef2
lea edi, [esi + 0x6c]
mov dword [edi], eax
push 0x40
call fcn.10106ef2
push 0x40
push 0
push dword [edi]
lea ebx, [esi + 0x70]
mov dword [ebx], eax
call fcn.1012de20
push 0x40
push 0
push dword [ebx]
call fcn.1012de20
mov ebp, dword [esp + 0x40]
add esp, 0x20
cmp ebp, 0x40
jbe 0x100679a1
mov eax, dword [esi + 4]
add esi, 4
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
push ebp
push dword [esp + 0x14]
call dword [eax + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov esi, dword [edi]
mov edx, 0x40
mov ebp, dword [ebx]
mov dword [esp + 0x10], eax
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x100679ba
mov eax, edx
dec edx
test eax, eax
jle 0x100679ba
movzx eax, byte [ecx]
mov byte [esi], al
inc esi
movzx eax, byte [ecx]
inc ecx
mov byte [ebp], al
inc ebp
mov eax, dword [esp + 0x10]
cmp ecx, dword [eax + 4]
jne 0x10067981
jmp 0x100679ba
mov esi, dword [esp + 0x10]
push ebp
push esi
push dword [edi]
call fcn.1012d8a0
push ebp
push esi
push dword [ebx]
call fcn.1012d8a0
add esp, 0x18
mov eax, dword [edi]
xor ecx, ecx
mov edx, dword [ebx]
lea ebp, [eax + 0x3f]
lea esi, [edx + 0x3f]
cmp edx, ebp
ja 0x100679ce
cmp esi, eax
jae 0x100679f0
cmp edx, edi
ja 0x100679d6
cmp esi, edi
jae 0x100679f0
cmp edx, ebx
ja 0x100679de
cmp esi, ebx
jae 0x100679f0
cmp eax, edi
ja 0x100679e6
cmp ebp, edi
jae 0x100679f0
cmp eax, ebx
ja 0x10067a15
cmp ebp, ebx
jb 0x10067a15
nop
mov eax, dword [edi]
xor byte [eax + ecx], 0x36
mov eax, dword [ebx]
xor byte [eax + ecx], 0x5c
inc ecx
cmp ecx, 0x40
jl 0x100679f0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
movups xmm0, xmmword [eax]
mov ecx, dword [esp + 0x14]
movaps xmm2, xmmword [0x102af020]
movaps xmm3, xmmword [0x102af040]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [edx]
movaps xmm1, xmm2
xorps xmm0, xmm3
movups xmmword [edx], xmm0
movups xmm0, xmmword [eax + 0x10]
xorps xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [edx + 0x10]
movaps xmm1, xmm3
xorps xmm1, xmm0
movups xmmword [edx + 0x10], xmm1
movups xmm0, xmmword [eax + 0x20]
xorps xmm0, xmm2
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [edx + 0x20]
xorps xmm0, xmm3
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
xorps xmm2, xmm0
movups xmmword [eax + 0x30], xmm2
movups xmm0, xmmword [edx + 0x30]
xorps xmm3, xmm0
movups xmmword [edx + 0x30], xmm3
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x1006b940
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021829d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x102c6100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 8]
test edi, edi
jne 0x1006b97b
xor al, al
jmp 0x1006ba59
xorps xmm0, xmm0
add edi, 0x20
movlpd qword [ebp - 0x18], xmm0
push edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], 0
call fcn.101038b1
add esp, 4
test eax, eax
jne 0x1006baa3
mov eax, dword [edi + 0x2c]
cmp eax, 0x7fffffff
je 0x1006baaa
mov byte [ebp - 0x14], 1
mov dword [ebp - 4], 0
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x1006ba45
lea ebx, [esi + 4]
mov eax, 1
lock xadd dword [ebx], eax
mov eax, dword [esi + 8]
add eax, 0xc
push eax
push 4
push esi
push 0x1006b5e0
push 0
push 0
call fcn.1014819d
mov ecx, dword [esi + 8]
add esp, 0x18
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 8]
cmp dword [eax + 0x10], 0
jne 0x1006ba75
or eax, 0xffffffff
lock xadd dword [ebx], eax
sub eax, 1
jne 0x1006ba0d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esi + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x1006ba28
push eax
call ebx
mov dword [esi + 0x10], 0xffffffff
mov eax, dword [esi + 0x14]
cmp eax, 0xffffffff
je 0x1006ba3a
push eax
call ebx
mov dword [esi + 0x14], 0xffffffff
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.101038c2
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101064d2
mov esp, ebp
pop ebp
ret
mov byte [eax + 8], 1
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x1006ba8a
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 8]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1006b9fa
mov bl, 1
jmp 0x1006ba47
push 5
call fcn.10103860
dec eax
push 6
mov dword [edi + 0x2c], eax
call fcn.10103860
int3

Function at 0x1006bad0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x1006bb38
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
je 0x1006bb38
push ebx
push esi
push 0
push 0x100001
xor bl, bl
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1006bb33
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, esi
jne 0x1006bb0e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test eax, eax
je 0x1006bb2c
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
ret
xor al, al
pop esi
ret
Function at 0x1006c110
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x102c6100]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, dword [esp + 0x214]
lea eax, [esp + 4]
push 0x208
push 0
push eax
call fcn.1012de20
add esp, 0xc
lea eax, [esp + 4]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1006c16d
xor al, al
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.101064d2
add esp, 0x20c
ret
lea eax, [esp + 4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1006c174
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [esp + 8]
push eax
call fcn.10058070
mov ecx, dword [esp + 0x20c]
mov al, 1
pop esi
xor ecx, esp
call fcn.101064d2
add esp, 0x20c
ret
Function at 0x1006f580
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x102c6100]
xor eax, esp
mov dword [esp + 0x400], eax
push 0x400
lea eax, [esp + 4]
push 0
push eax
call fcn.1012de20
add esp, 0xc
lea eax, [esp + 0x40c]
push eax
push 0
push dword [esp + 0x410]
lea eax, [esp + 0xc]
push 0x200
push eax
call fcn.1005ee20
push dword [eax + 4]
push dword [eax]
call fcn.1013d0ee
add esp, 0x1c
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.101064d2
add esp, 0x404
ret
Function at 0x10072c00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push 0x3c
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.1012de20
add esp, 0xc
mov dword [ebp - 0x44], 0x3c
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x40], ecx
cmp dword [ebp + 0x20], 0
je 0x10072c31
mov edx, dword [ebp + 0x20]
mov dword [ebp - 4], edx
jmp 0x10072c3a
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10072c90
cmp dword [ebp - 0x24], 0x20
jbe 0x10072c82
mov dword [ebp - 8], 1
jmp 0x10072c89
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
jmp 0x10072ca3
cmp dword [ebp + 0x18], 0
je 0x10072ca1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x10072cb0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x102c6100]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x102c6010], 0
jne 0x10072d1b
push 0x20a
lea eax, [esp + 0xc]
push 0
push eax
call fcn.1012de20
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, section..data
mov word [esp + 0x20e], ax
lea eax, [esp + 8]
push eax
call fcn.10058040
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.101064d2
add esp, 0x214
ret
Function at 0x100732c0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x218
mov eax, dword [0x102c6100]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [0x102cb5cc]
push edi
mov edi, ecx
test eax, eax
jle 0x100732fe
inc eax
mov dword [0x102cb5cc], eax
mov al, 1
pop edi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.101064d2
add esp, 0x218
ret
push ebx
push esi
lea eax, [esp + 0x10]
mov byte [esp + 0xf], 0
push eax
mov dword [esp + 0x14], 0
call fcn.10072dd0
test al, al
je 0x100733bc
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100733bc
push str.ImpersonateLoggedOnUser
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x10]
push esi
call eax
test eax, eax
je 0x100733b3
inc dword [0x102cb5cc]
mov eax, dword [edi]
test eax, eax
je 0x1007335e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], esi
xor esi, esi
mov byte [esp + 0xf], 1
cmp dword [0x102c6028], esi
jne 0x100733b3
push 0x20a
lea eax, [esp + 0x18]
push esi
push eax
call fcn.1012de20
add esp, 0xc
mov dword [esp + 0x10], 0x104
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, 0x102c6018
mov word [esp + 0x21a], ax
lea eax, [esp + 0x14]
push eax
call fcn.10058040
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100733c0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x100733cb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x220]
mov al, byte [esp + 0xf]
pop esi
pop ebx
pop edi
xor ecx, esp
call fcn.101064d2
add esp, 0x218
ret
Function at 0x10077810
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x10077831
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x10077849
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x10077861
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x10077877
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x1007788f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1007ed40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xa8]
je 0x1007ed7e
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x1007ed7e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x108]
jne 0x1007ed91
jmp 0x1007eeed
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x1007ee17
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x17
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x138]
call edx
push 0
push 0
push 0
push str.killfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1007e670
mov edx, dword [ebp - 4]
mov dword [edx + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x1007ee22
jmp 0x1007eeed
cmp dword [ebp + 8], 0
je 0x1007eeed
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x1007eeed
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xf8]
call eax
movzx ecx, al
test ecx, ecx
je 0x1007eeed
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x104]
call edx
movzx eax, al
test eax, eax
je 0x1007eeed
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x108], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x18
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x138]
call edx
push 0
push 0
push 0
push str.setfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1007e670
mov esp, ebp
pop ebp
ret 4
Function at 0x10080a80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
push 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10080b5a
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x10080b5a
cmp dword [ebp - 0x24], 0x10
jne 0x10080b26
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 4]
jne 0x10080b26
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x28]
push edx
call fcn.1007f810
add esp, 4
movzx eax, al
test eax, eax
jne 0x10080b4d
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x24], 0x12
jne 0x10080b55
jmp 0x10080b5a
jmp 0x10080ad4
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x24], 0x12
jne 0x10080b80
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x1008a820
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x102c6100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x1008a854
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1008a854
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x1008a863
jmp 0x1008a9cc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
movzx ecx, word [eax]
test ecx, ecx
je 0x1008a8be
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x1008a8a1
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x1008a8ad
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x1008a878
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x1008a94e
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.1012d8a0
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 0x208
jae 0x1008a917
jmp 0x1008a91c
call fcn.1010708a
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [ebp + eax - 0x414], dx
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1008a820
add esp, 8
mov eax, dword [ebp - 0x424]
add eax, 2
mov dword [ebp - 0x424], eax
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x428], edx
cmp dword [ebp - 0x428], 0x208
jae 0x1008a96a
jmp 0x1008a96f
call fcn.1010708a
xor eax, eax
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx - 0x20c], ax
cmp dword [ebp + 8], 0
je 0x1008a998
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.1013ff52
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.1013ff21
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1008a9cc
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101064d2
mov esp, ebp
pop ebp
ret
Function at 0x1008b710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1008b72a
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x1008b734
mov eax, 0x1000000
jmp 0x1008b81e
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0xc]
add eax, 0x244
push eax
call fcn.10140096
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x1008b792
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x1008b792
push 0x102ad234
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.1013ff21
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x1008b7d6
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x1008b7ba
mov dword [ebp - 0x10], 1
jmp 0x1008b7c1
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x1008b7d6
mov eax, 0x2000000
jmp 0x1008b81e
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10090890
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1008b7fc
mov eax, dword [ebp - 0x1c]
jmp 0x1008b81e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10091580
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x1008b81c
mov eax, 0x200
jmp 0x1008b81e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008c120
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x102248b0]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x102248b0]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x10090a20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x10090a6f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10090a65
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x10090ac9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x10090a8f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.1012d8a0
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret