joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100fea80
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x101e42fc]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100fead1
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x100feae2
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 4]
push 0
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp]
test eax, eax
je 0x100feacb
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
mov al, 1
xor ecx, esp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
Function at 0x10101190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10184de7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101e42fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
lea edi, [ebx + 0x34]
mov byte [ebp - 4], 3
lea ecx, [edi + 4]
mov dword [ebp - 0x14], edi
call fcn.101282e0
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 2
mov dword [edi + 8], 2
call fcn.1012bcb0
mov ecx, 8
call fcn.10130970
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
lea edi, [ebx + 0x48]
mov byte [ebp - 4], 4
lea ecx, [edi + 4]
mov dword [ebp - 0x14], edi
call fcn.101282e0
mov dword [edi], vtable.CryptoPP::Integer.0
mov ecx, 2
mov dword [edi + 8], 2
call fcn.1012bcb0
mov ecx, 8
call fcn.10130970
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, ebx
mov byte [ebx + 0x5c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10101c80
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10184edb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0xcc], ecx
mov esi, dword [ebx + 0x10]
push 0x11
mov dword [esi], 0x10
call fcn.1014d543
add esp, 4
mov dword [edi], eax
mov ecx, dword [esi]
inc ecx
push ecx
push 0
push eax
call fcn.10150b00
add esp, 0xc
lea eax, [ebp - 0xc8]
push 0xb0
push 0
push eax
call fcn.10150b00
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x6c], eax
add esp, 0xc
lea eax, [ebp - 0x68]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x70], 0x10
mov byte [ebp - 0x77], 1
mov dword [ebp - 0x20], 0x10
mov byte [ebp - 0x27], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x68], 0x67452301
mov dword [ebp - 0x64], 0xefcdab89
mov dword [ebp - 0x60], 0x98badcfe
mov dword [ebp - 0x5c], 0x10325476
mov dword [ebp - 0xc8], vtable.CryptoPP::Weak1::MD5.0
push dword [ebx + 8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc8]
push dword [ebp - 0xcc]
mov esi, dword [edi]
call fcn.10131a40
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
push esi
mov eax, dword [eax + 0x14]
call eax
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x68]
cmp edi, eax
jne 0x10101da2
mov ecx, dword [ebp - 0x20]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x6c]
lea eax, [ebp - 0xb8]
cmp edi, eax
jne 0x10101db6
mov ecx, dword [ebp - 0x70]
xor eax, eax
rep stosd dword es:[edi], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10103010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x101030f6
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x101030e5
jg 0x10103050
test edx, edx
je 0x101030e5
nop dword [eax]
call fcn.100e7e30
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x101030a4
jg 0x10103067
test esi, esi
je 0x101030a4
cmp ebx, eax
jg 0x10103077
jl 0x10103071
cmp edi, esi
jae 0x10103077
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.1014ffa0
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x101030c9
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x101030df
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x10103050
jl 0x101030df
test edi, edi
jne 0x10103050
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x10103118
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x1010311a
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x10103198
jg 0x1010312d
test esi, esi
je 0x10103198
test eax, eax
jl 0x10103172
jg 0x10103137
test ebx, ebx
je 0x10103172
cmp edi, eax
jg 0x10103147
jl 0x10103141
cmp esi, ebx
jae 0x10103147
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.1014ffa0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x10103175
mov edx, dword [ebp + 8]
test edi, edi
jl 0x10103198
jg 0x1010317f
test esi, esi
je 0x10103198
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x10103198
push eax
push esi
push 1
push edx
call fcn.10164e22
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10103710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10103740
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1010377c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1010377c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x10103863
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x101037a4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x101037d7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.10164662
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x10103863
cmp eax, 1
jle 0x10103836
cmp eax, 3
jne 0x10103863
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.10164662
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10103853
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10164e22
add esp, 0x10
cmp edi, eax
jne 0x10103863
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x10103767
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 4
Function at 0x10104900
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
call fcn.10101190
mov byte [esi + 0xb1], 1
lea eax, [esi + 0x70]
mov dword [eax + 0x48], 0x10
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [eax + 0x4c], eax
lea eax, [esi + 0xc0]
mov byte [eax + 0x41], 1
mov dword [eax + 0x48], 0x10
mov dword [eax + 0x4c], eax
mov eax, dword [esi + 0x10c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov eax, esi
mov dword [esi + 0x60], vtable.CryptoPP::SHA1.0
mov dword [esi], vtable.CryptoPP::PK_MessageAccumulatorImpl_class_CryptoPP::SHA1_.0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10105500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x101055ba
cmp byte [esi + 0x3d], 0
je 0x101055ba
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x101055a8
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10105570
sub eax, 1
je 0x10105574
sub eax, 2
jne 0x101055a8
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10105591
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10164e22
add esp, 0x10
cmp edi, eax
jne 0x101055a8
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
Function at 0x10106f50
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
test esi, esi
je 0x10106fb3
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x10106fb3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10106f82
pop edi
shr eax, 4
pop esi
and al, 1
pop ebx
pop ebp
ret 4
push esi
call fcn.10165232
mov edi, eax
push 0x5c
push edi
call fcn.1015126b
add esp, 0xc
push edi
test eax, eax
je 0x10106fda
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
call fcn.10106f50
push edi
test al, al
jne 0x10106fbc
call fcn.101586be
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
call fcn.101586be
add esp, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10106fe2
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
call fcn.101586be
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4

Function at 0x10106ff0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x101e42fc]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x1010703a
xor al, al
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, 1
sete bl
jne 0x10107071
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x101070a9
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, 1
sete bl
jne 0x101070a9
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp eax, 1
sete bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x34]
mov al, bl
pop esi
pop ebx
xor ecx, esp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 8
Function at 0x10107810
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.1014e7b0
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, edx
mov edi, ecx
mov ecx, esi
call fcn.100fb8e0
test eax, eax
je 0x10107861
cmp eax, 2
je 0x1010784f
push 0
mov dl, 1
mov ecx, esi
call fcn.100e3030
add esp, 4
test al, al
jne 0x10107861
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
cmp dword [edi + 0x14], 8
jb 0x1010786c
mov edi, dword [edi]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esi + 0x14], 8
mov edi, eax
jb 0x1010788f
mov esi, dword [esi]
push 0
push 0x200080
push 4
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x101078d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x2008]
push eax
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1010790f
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x10107917
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [ebp - 0x2008], 0x1000
je 0x101078d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
test ebx, ebx
pop ebx
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret
Function at 0x1010d640
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x1010d64b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.1010d660
Function at 0x10111e80
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x14c]
lea esi, [edi + 0x14c]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.1000bbc0
push 0x40
push dword [esi]
call fcn.1014d535
add esp, 8
lea ecx, [edi + 0x118]
call fcn.10001bc0
lea ecx, [edi + 0x100]
call fcn.10001bc0
lea ecx, [edi + 0xe8]
call fcn.10001bc0
lea ecx, [edi + 0xd0]
call fcn.10001bc0
lea ecx, [edi + 0xa8]
call fcn.10001bc0
lea ecx, [edi + 0x90]
call fcn.10001bc0
lea ecx, [edi + 0x78]
call fcn.10001bc0
lea ecx, [edi + 0x60]
call fcn.10001bc0
lea ecx, [edi + 0x48]
call fcn.10001bc0
lea ecx, [edi + 0x30]
call fcn.10001bc0
lea ecx, [edi + 0x18]
call fcn.10001bc0
mov ecx, edi
pop edi
pop esi
jmp fcn.10001bc0

Function at 0x10112b00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 8
mov edi, ecx
call fcn.1014d1eb
add esp, 4
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 4], esi
push 0
push 0
push esi
push 0x10134f60
push 0
movq qword [esi], xmm0
push 0
mov dword [esi], 0x101131f0
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x10112b57
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.1014d535
add esp, 8
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x26c], eax
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x101165b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101865b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101e42fc]
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 [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x101165f0
mov eax, dword [edi]
push 0x101c8d50
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
call fcn.1015dc80
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [esi + 0x30], eax
test eax, eax
jne 0x10116647
call fcn.1010dbe0
cmp dword [eax], 0
je 0x1011664e
call fcn.1010dbe0
cmp dword [edi + 0x14], 8
mov ecx, dword [eax]
jb 0x1011662c
mov edi, dword [edi]
mov eax, dword [ecx]
push edi
push str.Data_file_could_not_be_opened_at_path__s
push str.Validator
push ecx
call dword [eax + 0x1c]
add esp, 0x10
xor al, al
jmp 0x10116716
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10116655
xor al, al
jmp 0x10116716
push eax
mov bl, 1
mov dword [esi + 4], eax
call fcn.1014d543
add esp, 4
mov dword [ebp - 0x14], 0
mov edi, eax
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x30]
test eax, eax
je 0x101166e2
push eax
push dword [esi + 4]
push 1
push edi
call fcn.1015e60c
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x101166e2
mov eax, dword [esi]
lea edx, [ebp - 0x2c]
push edx
push ecx
mov dword [esi + 8], ecx
mov ecx, esi
mov eax, dword [eax + 0x10]
push edi
call eax
neg al
lea ecx, [esi + 0x10]
sbb al, al
and bl, al
lea eax, [ebp - 0x14]
push eax
call fcn.101170e0
lea ecx, [ebp - 0x2c]
cmp eax, ecx
je 0x101166dd
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.10001c20
inc dword [ebp - 0x14]
jmp 0x10116683
test bl, bl
je 0x101166f4
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x34]
mov eax, dword [eax + 0x28]
call eax
mov bl, al
push edi
call fcn.1014d1e6
push dword [esi + 0x30]
call fcn.1015da8f
add esp, 8
test eax, eax
jne 0x1011670c
mov dword [esi + 0x30], eax
lea ecx, [ebp - 0x2c]
call fcn.10001bc0
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.1014d1d5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10116d40
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10186678
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101e42fc]
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 [ebp + 8]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x10116d7a
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10116e51
cmp dword [esi + 4], 0
je 0x10116e51
cmp dword [edi + 0x14], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
mov eax, edi
jb 0x10116da5
mov eax, dword [edi]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10116ddc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x10116de5
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
cmp dword [ebp - 0x2c], eax
jne 0x10116e51
cmp ebx, edx
jne 0x10116e51
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10116e01
mov eax, dword [edi]
push 0x101c8d50
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
call fcn.1015dc80
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov dword [esi + 0x30], eax
test eax, eax
jne 0x10116e71
call fcn.1010dbe0
cmp dword [eax], 0
je 0x10116e51
call fcn.1010dbe0
cmp dword [edi + 0x14], 8
mov ecx, dword [eax]
jb 0x10116e3d
mov edi, dword [edi]
mov eax, dword [ecx]
push edi
push str.Data_file_could_not_be_opened_at_path__s
push str.Validator
push ecx
call dword [eax + 0x1c]
add esp, 0x10
xor al, al
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.1014d1d5
mov esp, ebp
pop ebp
ret 4
push dword [esi + 4]
mov byte [ebp - 0x31], 1
call fcn.1014d543
xor edi, edi
mov dword [ebp - 0x14], 7
add esp, 4
mov dword [ebp - 0x18], edi
mov ebx, eax
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10116eca
push eax
push dword [esi + 4]
push 1
push ebx
call fcn.1015e60c
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x10116eca
mov eax, dword [esi]
push edi
push ecx
push ebx
mov eax, dword [eax + 0xc]
mov ecx, esi
call eax
test al, al
je 0x10116ec6
inc edi
jmp 0x10116e97
mov byte [ebp - 0x31], 0
push ebx
call fcn.1014d1e6
push dword [esi + 0x30]
call fcn.1015da8f
add esp, 8
test eax, eax
jne 0x10116ee2
mov dword [esi + 0x30], eax
lea ecx, [ebp - 0x28]
call fcn.10001bc0
mov al, byte [ebp - 0x31]
jmp 0x10116e53