joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001440
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090f58
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x100b70e8]
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 ebx, edx
mov dword [ebp - 0x25c], ecx
push 0x22c
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.1006a580
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100014a4
xor al, al
jmp 0x10001598
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1000158f
nop dword [eax]
nop dword [eax + eax]
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x28]
call fcn.10001810
mov ecx, dword [ebp - 0x25c]
lea esi, [ebp - 0x28]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
cmovae esi, dword [ebp - 0x28]
call fcn.10005450
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000153c
mov esi, dword [ebx]
lea eax, [ebp - 0x250]
push eax
push dword [esi + 4]
push esi
call fcn.10003560
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x100015b4
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10001579
mov eax, dword [ebp - 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x10001570
test al, 0x1f
jne 0x100015be
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x100015be
sub eax, ecx
cmp eax, 4
jb 0x100015be
cmp eax, 0x23
ja 0x100015be
mov eax, ecx
push eax
call fcn.1005205a
add esp, 4
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100014d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
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.100524d2
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.10019c57
call fcn.1006cec3
int3
Function at 0x10001bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091018
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100b70e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 0
push edx
push dword [ebp + 0x1c]
mov dword [ebp - 0x2c], 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001c79
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
cmp ecx, eax
ja 0x10001c43
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x10001c50
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10004d90
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp + 0x18]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
push edi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [esi + 0x14], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x10001c9e
xor ecx, ecx
jmp 0x10001cac
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001ca3
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.10005c10
lea ecx, [ebp - 0x28]
call fcn.10005690
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100524d2
mov esp, ebp
pop ebp
ret

Function at 0x10002a30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100911b6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100b70e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100524e3
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1008c06e
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10003780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10003795
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100037d6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100037d2
nop word [eax + eax]
cmp esi, edx
jae 0x100037d6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100037c0
cmp esi, edx
jb 0x100037db
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x10005e10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091498
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x100b70e8]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x138], eax
call fcn.100015d0
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push 0
push eax
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], 0
mov byte [ebp - 0x150], 0
call fcn.100057a0
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x12c]
cmp dword [ebp - 0x13c], 0x10
mov edx, 0x100
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
mov dword [ebp - 0x130], eax
xor eax, eax
nop word [eax + eax]
mov byte [ecx], al
lea ecx, [ecx + 1]
inc eax
cmp ax, dx
jl 0x10005ec0
xor dl, dl
mov word [ebp - 0x2c], 0
xor ebx, ebx
lea esi, [ebp - 0x12c]
mov edi, 0x100
mov eax, dword [ebp - 0x130]
lea esi, [esi + 1]
mov cl, byte [esi - 1]
movzx edx, dl
mov al, byte [edx + eax]
add al, bl
add al, cl
movzx ebx, al
movzx eax, byte [ebp + ebx - 0x12c]
mov byte [esi - 1], al
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x134]
mov byte [ebp + ebx - 0x12c], cl
sub edi, 1
jne 0x10005ee0
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
jle 0x10005f7a
movzx edx, byte [ebp - 0x2c]
movzx ebx, byte [ebp - 0x2b]
nop dword [eax + eax]
inc dl
movzx edx, dl
mov cl, byte [ebp + edx - 0x12c]
add bl, cl
movzx ebx, bl
movzx eax, byte [ebp + ebx - 0x12c]
mov byte [ebp + edx - 0x12c], al
mov byte [ebp + ebx - 0x12c], cl
movzx eax, byte [ebp + edx - 0x12c]
add al, cl
mov ecx, dword [ebp - 0x138]
movzx eax, al
movzx eax, byte [ebp + eax - 0x12c]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x10005f30
lea ecx, [ebp - 0x150]
call fcn.10005690
lea ecx, [ebp - 0x28]
call fcn.10005690
mov al, 1
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.100524d2
mov esp, ebp
pop ebp
ret 8
Function at 0x10005fb0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100914e7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100b70e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x100ab6fc
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
sub esp, 8
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov dword [ebp - 0x10], 1
push esi
call fcn.10002980
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.10002a30
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x48], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x3d], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x100baab4]
mov dword [esi + 0x40], eax
mov eax, dword [0x100baab8]
mov dword [esi + 0x44], eax
mov eax, edi
mov dword [esi + 0x4c], 0
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10006d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091018
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100b70e8]
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 edi, ecx
cmp dword [edi + 0x38], 0
je 0x10006ed2
cmp byte [edi + 0x3d], 0
je 0x10006ed2
push 0xffffffffffffffff
call fcn.10006720
cmp eax, 0xffffffff
sete al
test al, al
je 0x10006dd9
xor al, al
jmp 0x10006ed4
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
nop
mov eax, dword [edi + 0x38]
lea ebx, [ebp - 0x28]
cmp ecx, 0x10
lea esi, [ebp - 0x28]
cmovae ebx, edx
cmovae esi, edx
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
cmp eax, vtable.std::codecvt_char__char__struct__Mbstatet_.0
jne 0x10006e35
mov dword [ebp - 0x2c], esi
xor eax, eax
jmp 0x10006e56
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
push eax
push esi
lea eax, [edi + 0x40]
push eax
mov eax, dword [ebp - 0x30]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub eax, 0
je 0x10006e73
sub eax, 1
je 0x10006e77
sub eax, 2
je 0x10006ec4
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.10005690
mov al, bl
jmp 0x10006ed4
mov byte [edi + 0x3d], 0
cmp ecx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, edx
sub esi, eax
je 0x10006ea6
push dword [edi + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.100764a5
add esp, 0x10
cmp esi, eax
jne 0x10006e65
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [edi + 0x3d], 0
je 0x10006ec4
test esi, esi
jne 0x10006e10
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10004d90
jmp 0x10006e09
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.10005690
mov al, bl
jmp 0x10006ed4
mov al, 1
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.100524d2
mov esp, ebp
pop ebp
ret
Function at 0x10007430
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 8], ecx
push edi
mov edx, ecx
xor edi, edi
xor ecx, ecx
xor esi, esi
test ebx, ebx
jle 0x10007529
nop
mov al, byte [esi + edx]
cmp al, 0x3d
jne 0x1000745d
inc edi
cmp edi, 2
jg 0x100074a6
cmp al, 0x7f
ja 0x100074a6
movzx eax, al
mov al, byte [eax + 0x100ab710]
cmp al, 0x7f
je 0x100074a6
cmp al, 0x40
jae 0x10007476
test edi, edi
jne 0x100074a6
inc esi
inc ecx
cmp esi, ebx
jl 0x10007450
test ecx, ecx
je 0x10007529
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 0xc]
lea eax, [eax*2 + 7]
sar eax, 3
cmp dword [ecx], eax
jge 0x100074b2
pop edi
pop esi
mov dword [ecx], eax
mov eax, 0xfffffff0
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffee
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 4], ecx
mov edi, 3
test esi, esi
jle 0x10007521
movzx ecx, byte [edx]
mov dl, byte [ecx + 0x100ab710]
xor ecx, ecx
cmp dl, 0x40
sete cl
shl ebx, 6
sub edi, ecx
movzx ecx, dl
and ecx, 0x3f
or ebx, ecx
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 4
jne 0x10007515
xor ecx, ecx
mov dword [ebp - 4], ecx
test edi, edi
jle 0x10007500
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
inc eax
cmp edi, 1
jle 0x1000750d
mov ecx, ebx
shr ecx, 8
mov byte [eax], cl
inc eax
cmp edi, 2
jle 0x10007515
mov byte [eax], bl
inc eax
mov edx, dword [ebp - 8]
dec esi
inc edx
mov dword [ebp - 8], edx
test esi, esi
jg 0x100074c5
mov ecx, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x100b70e8]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x18], 0
call fcn.10008230
test al, al
je 0x100080a2
cmp dword [edi + 0x14], 0x10
jb 0x1000800e
mov eax, dword [edi]
jmp 0x10008010
mov eax, edi
lea ecx, [esp + 0xc]
push ecx
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100080a2
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x1000803f
cmp eax, 2
je 0x1000803f
cmp eax, 6
jne 0x100080a2
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100080a2
inc eax
push eax
call fcn.10052cf5
inc dword [esp + 0x10]
add esp, 4
cmp dword [edi + 0x14], 0x10
mov dword [esp + 0x14], eax
jb 0x10008061
mov edi, dword [edi]
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push 0
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push ecx
mov byte [ecx + eax], 0
lea ecx, [esp + 0x20]
call fcn.10005d10
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.100053d0
lea ecx, [esp + 0x1c]
call fcn.10005690
jmp 0x100080b3
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100524d2
mov esp, ebp
pop ebp
ret 8

Function at 0x100080d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.10008230
test al, al
jne 0x100080e4
pop esi
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
sub ecx, edx
cmp dword [eax + 0x14], 0x10
jb 0x100080f9
mov eax, dword [eax]
push ecx
push edx
push 3
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop esi
sete al
pop ebp
ret 8
Function at 0x1000a6e0
Capabilities:
Check for peb ntglobalflag flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091907
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100b70e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.1000cd30
mov dword [edi], eax
lea esi, [edi + 8]
mov dword [ebp - 4], 0
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x18]
mov byte [ebp - 4], 2
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x20]
mov byte [ebp - 4], 3
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x28]
mov byte [ebp - 4], 4
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x30]
mov byte [ebp - 4], 5
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x38]
mov byte [ebp - 4], 6
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x40]
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], esi
mov dword [esi], 0
push 0
push 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x48]
mov byte [ebp - 4], 8
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x50]
mov byte [ebp - 4], 9
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x58]
mov byte [ebp - 4], 0xa
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x60]
mov byte [ebp - 4], 0xb
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x68]
mov byte [ebp - 4], 0xc
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
lea esi, [edi + 0x70]
mov byte [ebp - 4], 0xd
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000cd30
mov dword [esi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000afa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100b70e8]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x1000b061
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop dword [eax + eax]
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x1000afdb
mov ecx, dword [ecx]
sub esp, 0x18
mov eax, esp
push ecx
push eax
call fcn.10001a40
add esp, 8
lea eax, [ebp - 0x20]
push eax
call fcn.1000dd80
add esp, 0x1c
lea eax, [ebp - 0x20]
cmp dword [ebp - 0xc], 8
cmovae eax, dword [ebp - 0x20]
push eax
call ebx
test eax, eax
mov eax, dword [ebp - 0xc]
je 0x1000b076
cmp eax, 8
jb 0x1000b057
mov ecx, dword [ebp - 0x20]
inc eax
cmp eax, 0x7fffffff
ja 0x1000b0c7
add eax, eax
cmp eax, 0x1000
jb 0x1000b04e
test cl, 0x1f
jne 0x1000b0c7
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000b0c7
sub ecx, eax
cmp ecx, 4
jb 0x1000b0c7
cmp ecx, 0x23
ja 0x1000b0c7
mov ecx, eax
push ecx
call fcn.1005205a
add esp, 4
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x1000afd0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100524d2
mov esp, ebp
pop ebp
ret 4
cmp eax, 8
jb 0x1000b0b2
mov ecx, dword [ebp - 0x20]
inc eax
cmp eax, 0x7fffffff
ja 0x1000b0c7
add eax, eax
cmp eax, 0x1000
jb 0x1000b0a9
test cl, 0x1f
jne 0x1000b0cc
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000b0d1
sub ecx, eax
cmp ecx, 4
jb 0x1000b0d6
cmp ecx, 0x23
ja 0x1000b0db
mov ecx, eax
push ecx
call fcn.1005205a
add esp, 4
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100524d2
mov esp, ebp
pop ebp
ret 4
call fcn.1006cec3
call fcn.1006cec3
call fcn.1006cec3
call fcn.1006cec3
call fcn.1006cec3
int3
Function at 0x1000b0f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100b70e8]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x1000b1b1
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop dword [eax + eax]
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
jb 0x1000b12b
mov ecx, dword [ecx]
sub esp, 0x18
mov eax, esp
push ecx
push eax
call fcn.10001a40
add esp, 8
lea eax, [ebp - 0x20]
push eax
call fcn.1000dd80
add esp, 0x1c
lea eax, [ebp - 0x20]
cmp dword [ebp - 0xc], 8
cmovae eax, dword [ebp - 0x20]
push eax
call ebx
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x1000b1c6
cmp eax, 8
jb 0x1000b1a7
mov ecx, dword [ebp - 0x20]
inc eax
cmp eax, 0x7fffffff
ja 0x1000b217
add eax, eax
cmp eax, 0x1000
jb 0x1000b19e
test cl, 0x1f
jne 0x1000b217
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000b217
sub ecx, eax
cmp ecx, 4
jb 0x1000b217
cmp ecx, 0x23
ja 0x1000b217
mov ecx, eax
push ecx
call fcn.1005205a
add esp, 4
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x1000b120
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100524d2
mov esp, ebp
pop ebp
ret 4
cmp eax, 8
jb 0x1000b202
mov ecx, dword [ebp - 0x20]
inc eax
cmp eax, 0x7fffffff
ja 0x1000b217
add eax, eax
cmp eax, 0x1000
jb 0x1000b1f9
test cl, 0x1f
jne 0x1000b21c
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000b221
sub ecx, eax
cmp ecx, 4
jb 0x1000b226
cmp ecx, 0x23
ja 0x1000b22b
mov ecx, eax
push ecx
call fcn.1005205a
add esp, 4
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100524d2
mov esp, ebp
pop ebp
ret 4
call fcn.1006cec3
call fcn.1006cec3
call fcn.1006cec3
call fcn.1006cec3
call fcn.1006cec3
int3
Function at 0x1000fb60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100b70e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x100ab690]
push edi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.1006a580
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1006a580
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp edi, eax
pop edi
jge 0x1000fc04
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100524d2
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.1006caff
mov ecx, dword [ebp - 4]
add esp, 0xc
test eax, eax
sete al
xor ecx, ebp
call fcn.100524d2
mov esp, ebp
pop ebp
ret