joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007cf70
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
jne 0x1007cf91
push 0x57
mov dword [0x101f9ad0], 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call edi
test eax, eax
jne 0x1007cfc2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1007cfc2
test al, 0x10
jne 0x1007cfc2
test al, 1
je 0x1007cf8c
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call edi
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x1007ef00
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x10c]
test ebx, ebx
jne 0x1007ef1c
xor eax, eax
pop ebx
add esp, 0x104
ret
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push ebx
push eax
mov ebp, 1
call fcn.10054640
lea ecx, [esp + 0x1c]
push 0x5c
push ecx
call fcn.10056460
mov esi, eax
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jbe 0x1007efa0
cmp byte [esp + 0x10], 0x5c
jne 0x1007efa0
cmp byte [esp + 0x11], 0x5c
jne 0x1007efa0
lea edx, [esp + 0x12]
push 0x5c
push edx
call fcn.10056460
add esp, 8
test eax, eax
je 0x1007f01e
inc eax
push 0x5c
push eax
call fcn.10056460
add esp, 8
mov esi, eax
test esi, esi
je 0x1007f01e
lea eax, [esp + 0x10]
mov byte [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
mov edi, ebx
and edi, 0x10
jne 0x1007efe2
test bl, 1
je 0x1007efd1
mov ecx, ebx
lea edx, [esp + 0x10]
and ecx, 0xfffffffe
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, eax
test ebp, ebp
je 0x1007f054
cmp ebx, 0xffffffff
je 0x1007efeb
test edi, edi
jne 0x1007effa
lea ecx, [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, eax
test ebp, ebp
je 0x1007f054
mov byte [esi], 0x5c
inc esi
push 0x5c
push esi
call fcn.10056460
mov esi, eax
add esp, 8
test esi, esi
jne 0x1007efa4
test ebp, ebp
je 0x1007f054
mov ebx, dword [esp + 0x118]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1007f049
test al, 0x10
jne 0x1007f054
test al, 1
je 0x1007f03c
and al, 0xfe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, eax
test ebp, ebp
je 0x1007f054
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x1007f070
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
test ebx, ebx
jne 0x1007f08c
xor eax, eax
pop ebx
add esp, 0x208
ret
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push ebx
push eax
mov ebp, 1
call fcn.10054a00
mov edi, 0x5c
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.10055d05
lea edx, [esp + 0x24]
mov esi, eax
push edx
call fcn.100547f0
add esp, 0x18
cmp eax, 2
jbe 0x1007f111
cmp word [esp + 0x10], di
jne 0x1007f111
cmp word [esp + 0x12], di
jne 0x1007f111
lea eax, [esp + 0x14]
push edi
push eax
call fcn.10055d05
add esp, 8
test eax, eax
je 0x1007f199
add eax, 2
push edi
push eax
call fcn.10055d05
add esp, 8
mov esi, eax
test esi, esi
je 0x1007f199
lea ecx, [esp + 0x10]
mov word [esi], 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov edi, ebx
and edi, 0x10
jne 0x1007f159
test bl, 1
je 0x1007f148
mov edx, ebx
lea eax, [esp + 0x10]
and edx, 0xfffffffe
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, eax
test ebp, ebp
je 0x1007f1cf
cmp ebx, 0xffffffff
je 0x1007f162
test edi, edi
jne 0x1007f171
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, eax
test ebp, ebp
je 0x1007f1cf
mov word [esi], 0x5c
add esi, 2
push 0x5c
push esi
call fcn.10055d05
mov esi, eax
add esp, 8
test esi, esi
jne 0x1007f119
test ebp, ebp
je 0x1007f1cf
mov ebx, dword [esp + 0x21c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1007f1c4
test al, 0x10
jne 0x1007f1cf
test al, 1
je 0x1007f1b7
and al, 0xfe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, eax
test ebp, ebp
je 0x1007f1cf
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x1007f5c0
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
push ebp
push esi
test ebx, ebx
push edi
jne 0x1007f5f4
push 0x57
mov dword [0x101f9ad0], 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x208
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1007f61b
test al, 0x10
jne 0x1007f78d
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1007f78d
mov ecx, 0x81
lea edi, [esp + 0x12]
mov word [esp + 0x10], ax
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push ebx
push eax
mov ebp, 1
call fcn.10054a00
mov edi, 0x5c
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.10055d05
lea edx, [esp + 0x24]
mov esi, eax
push edx
call fcn.100547f0
add esp, 0x18
cmp eax, 2
jbe 0x1007f6aa
cmp word [esp + 0x10], di
jne 0x1007f6aa
cmp word [esp + 0x12], di
jne 0x1007f6aa
lea eax, [esp + 0x14]
push edi
push eax
call fcn.10055d05
add esp, 8
test eax, eax
je 0x1007f732
add eax, 2
push edi
push eax
call fcn.10055d05
add esp, 8
mov esi, eax
test esi, esi
je 0x1007f732
lea ecx, [esp + 0x10]
mov word [esi], 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov edi, ebx
and edi, 0x10
jne 0x1007f6f2
test bl, 1
je 0x1007f6e1
mov edx, ebx
lea eax, [esp + 0x10]
and edx, 0xfffffffe
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, eax
test ebp, ebp
je 0x1007f76a
cmp ebx, 0xffffffff
je 0x1007f6fb
test edi, edi
jne 0x1007f70a
lea edx, [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, eax
test ebp, ebp
je 0x1007f76a
mov word [esi], 0x5c
add esi, 2
push 0x5c
push esi
call fcn.10055d05
mov esi, eax
add esp, 8
test esi, esi
jne 0x1007f6b2
test ebp, ebp
je 0x1007f76a
mov ebx, dword [esp + 0x21c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1007f75b
test al, 0x10
jne 0x1007f766
test al, 1
je 0x1007f750
and al, 0xfe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1007f76a
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebp, eax
test ebp, ebp
jne 0x1007f78d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov dword [0x101f9ad0], eax
je 0x1007f780
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x208
ret
mov eax, dword [esp + 0x220]
test eax, eax
je 0x1007f7a0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x208
ret
Function at 0x10082c80
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018b9f8
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, dword [esi + 0x20]
xor edi, edi
xor ebp, ebp
cmp eax, ebx
je 0x10082cb2
call fcn.10069d80
mov ebp, eax
mov eax, dword [esi + 0x18]
mov ecx, 0xc0000000
cmp eax, ebx
je 0x10082cc3
mov ecx, closesocket
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
cmp dword [eax - 8], ebx
je 0x10082d18
push ebx
push 0x80
push 3
push ebp
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x10082cfe
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp dword [esi + 4], 0xffffffff
je 0x10082e44
cmp dword [esp + 0x18], ebx
jne 0x10082d18
cmp dword [esp + 0x14], ebx
je 0x10082e44
mov eax, dword [esi + 0x18]
mov edi, 4
cmp eax, ebx
je 0x10082d29
mov edi, 2
lea ebx, [esi + 0x28]
lea ecx, [esp + 0x10]
push ebx
call fcn.1002d9b0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x24], 0
test eax, eax
je 0x10082d6f
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
je 0x10082d6f
call fcn.1006d060
test eax, eax
je 0x10082d6f
push str.Global_
lea ecx, [esp + 0x14]
call fcn.1002e640
push ebx
lea ecx, [esp + 0x14]
call fcn.1002f050
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esi + 0x10]
push eax
push 0
push edi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 8], eax
je 0x10082e1e
mov edx, dword [esi + 0x18]
mov ecx, 6
test edx, edx
je 0x10082dab
mov ecx, 4
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0xc], eax
je 0x10082e1e
mov eax, dword [esi + 0x10]
mov ebp, 1
test eax, eax
jne 0x10082df9
mov eax, dword [esi + 4]
or ebx, 0xffffffff
cmp eax, ebx
je 0x10082dfc
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x18]
xor edi, edi
sub ecx, edx
sbb eax, edi
test eax, eax
jle 0x10082df4
mov dword [esi + 0x10], ebx
jmp 0x10082dfc
mov dword [esi + 0x10], ecx
jmp 0x10082dfc
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call fcn.1002e3e0
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.1002e3e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x100833c2
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ebp, [esi + 0x42c]
lea edi, [esi + 0x2c]
mov ecx, 0x100
xor eax, eax
push ebx
mov dword [esi], ebx
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [ebp], ebx
push 0x80
push 3
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
push ebx
lea edi, [esi + 0xc]
push 7
push closesocket
push eax
mov dword [esi + 8], ebx
mov dword [edi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x10083452
cmp eax, ebx
je 0x10083452
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
push ebx
push ebp
lea eax, [esi + 0x2c]
push 0x400
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1008345a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x10083605
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10083757
xor edx, edx
cmp eax, edx
je 0x10083757
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
lea eax, [ebx + ecx]
cmp eax, ebx
jb 0x1008363a
cmp eax, ecx
jb 0x1008363a
xor ecx, ecx
jmp 0x1008363f
mov ecx, 1
mov edi, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
cmp ecx, edi
jl 0x10083659
jg 0x10083757
cmp eax, dword [esi + 8]
ja 0x10083757
cmp ecx, edx
jne 0x10083673
cmp eax, dword [esi + 0x42c]
ja 0x10083673
lea eax, [ebx + esi + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov ebp, dword [esi + 0x1c]
cmp ebp, edx
je 0x100836b8
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0x24]
lea edi, [edx + ecx]
cmp edi, ecx
jb 0x10083693
cmp edi, edx
jb 0x10083693
xor edx, edx
jmp 0x10083698
mov edx, 1
cmp ecx, ebx
ja 0x100836b8
cmp dword [esp + 0x14], edx
jg 0x100836b8
jl 0x100836a8
cmp eax, edi
ja 0x100836b8
mov eax, ebp
pop edi
sub eax, ecx
pop esi
add eax, ebx
pop ebp
pop ebx
add esp, 0x10
ret 8
mov eax, dword [esp + 0x28]
mov ecx, esi
push eax
call fcn.10083770
test eax, eax
je 0x10083757
cmp ebx, 0x7fffffff
push 0
push 0
jbe 0x10083706
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push closesocket
push ecx
call edi
cmp eax, 0xffffffff
je 0x10083747
mov eax, dword [esi + 4]
push 1
lea edx, [ebx - 0x7fffffff]
push 0
push edx
push eax
call edi
cmp eax, 0xffffffff
je 0x10083747
jmp 0x10083716
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x10083747
mov ebp, dword [esp + 0x28]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 4]
lea edi, [esi + 0x24]
push 0
push edi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10083747
cmp dword [edi], ebp
jne 0x10083747
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x28], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 8
Function at 0x100913e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1018c32a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebp
push esi
push edi
push 8
xor esi, esi
xor ebp, ebp
call fcn.1005473e
add esp, 4
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x128]
cmp eax, esi
mov dword [esp + 0x120], esi
je 0x1009142c
push edi
mov ecx, eax
call fcn.1008f950
mov esi, eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x120], 0xffffffff
test eax, eax
je 0x1009144e
push str._Bold
mov ecx, esi
call fcn.1008fec0
mov eax, dword [esp + 0x130]
test eax, eax
je 0x10091465
push str._Italic
mov ecx, esi
call fcn.1008fec0
push 0x101c33c4
mov ecx, esi
call fcn.1008fec0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
mov dword [esp + 0x14], 0x104
mov eax, dword [esi + 4]
push edx
push 0
push 0
push eax
mov eax, dword [esp + 0x148]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100914ef
push 8
call fcn.1005473e
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x120], 1
je 0x100914cb
mov ecx, dword [esp + 0x138]
push ecx
mov ecx, eax
call fcn.1008f800
jmp 0x100914cd
xor eax, eax
lea edx, [esp + 0x14]
mov ecx, eax
push edx
push 0x5c
mov dword [esp + 0x128], 0xffffffff
mov ebp, eax
call fcn.1008fc60
mov ecx, eax
call fcn.1008fec0
test esi, esi
je 0x10091503
mov ecx, esi
call fcn.1008fbb0
push esi
call fcn.10054626
add esp, 4
test ebp, ebp
jne 0x10091535
test edi, edi
je 0x1009151b
mov ecx, edi
call fcn.1008fbb0
push edi
call fcn.10054626
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x118
ret
mov eax, dword [edi]
xor esi, esi
test eax, eax
jle 0x10091560
mov eax, dword [edi + 4]
mov al, byte [eax + esi]
cmp al, 0x20
je 0x10091552
cmp al, 0x2c
je 0x10091552
cmp al, 0x2d
je 0x10091552
inc esi
jmp 0x1009155c
push 1
push esi
mov ecx, edi
call fcn.10090f90
cmp esi, dword [edi]
jl 0x1009153d
push 0x18
call fcn.1005473e
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x120], 2
je 0x1009151b
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x12c]
push ebp
push ecx
push edx
push edi
mov ecx, eax
call fcn.100915a0
jmp 0x1009151d
Function at 0x1009ba90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1018cb21
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp eax, edi
mov dword [esi + 0x28], edi
mov dword [esi], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
jne 0x1009baf8
lea ebx, [esi + 0x3c]
mov ebp, 4
push 0x14
call fcn.1005473e
add esp, 4
cmp eax, edi
je 0x1009baee
mov ecx, eax
call fcn.100997a0
jmp 0x1009baf0
xor eax, eax
mov dword [ebx], eax
add ebx, 4
dec ebp
jne 0x1009bad7
push 0x10
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
call fcn.1005473e
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov dword [esp + 0x18], edi
je 0x1009bb23
mov ecx, eax
call fcn.100afa60
jmp 0x1009bb25
xor eax, eax
or ebx, 0xffffffff
mov dword [esi + 0x78], edi
mov dword [esi + 0x70], edi
push 0x10
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x68], eax
mov dword [esi + 0x7c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x80], edi
call fcn.1005473e
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov dword [esp + 0x18], 1
je 0x1009bb64
mov ecx, eax
call fcn.100afa60
jmp 0x1009bb66
xor eax, eax
push 0x10
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x84], eax
call fcn.1005473e
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov dword [esp + 0x18], 2
je 0x1009bb99
mov ecx, eax
call fcn.100afa60
mov dword [esi + 0x88], eax
jmp 0x1009bb9f
mov dword [esi + 0x88], edi
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x100a3640
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1018cde8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.100a19f0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, 1
mov dword [esp + 0x14], edi
mov dword [esi], 0x101936dc
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x18], eax
jge 0x100a369c
mov dword [esi + 0x18], 1
mov ecx, dword [esi + 0x18]
add ecx, 4
test ecx, ecx
jg 0x100a36ad
mov dword [esi + 0x18], accept
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x1c], edx
mov edx, dword [esi + 0x18]
push 2
add edx, 3
mov dword [esi + 0x20], eax
push edx
mov dword [esi + 0x24], ecx
call fcn.100af8e0
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x18]
add eax, 2
push 2
push eax
call fcn.100af8e0
mov edx, dword [esi + 0xc]
add esp, 0x10
xor ecx, ecx
cmp edx, edi
setl cl
mov dword [esi + 0x44], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], edi
mov word [eax], di
mov edx, dword [esi + 0x3c]
mov ax, word [esi + 0x18]
pop edi
mov word [edx + 4], ax
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x44]
mov ax, word [ecx + 4]
mov ecx, dword [esp + 8]
mov word [edx + 2], ax
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20

Function at 0x100a9420
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1018d016
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 8
call fcn.1005473e
add esp, 4
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], esi
je 0x100a9461
push ebx
mov ecx, eax
call fcn.1008f800
jmp 0x100a9463
xor eax, eax
mov dword [edi], eax
mov eax, dword [esp + 0x28]
cmp eax, esi
mov dword [esp + 0x18], 0xffffffff
mov dword [edi + 4], esi
je 0x100a94e5
push 8
call fcn.1005473e
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, esi
mov dword [esp + 0x18], 1
je 0x100a94a0
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call fcn.1008f800
mov esi, eax
push ebx
push esi
mov dword [esp + 0x20], 0xffffffff
call fcn.100a8d10
mov eax, dword [esi + 4]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100a94cc
test al, 0x10
je 0x100a94cc
mov eax, 1
jmp 0x100a94ce
xor eax, eax
test esi, esi
mov dword [edi + 4], eax
je 0x100a94e5
mov ecx, esi
call fcn.1008fbb0
push esi
call fcn.10054626
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x100a9a20
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1018d076
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 0x10
mov dword [esp + 0x1c], 0xd
call fcn.1005473e
add esp, 4
mov dword [esp + 0x10], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x30], ebp
je 0x100a9a65
mov ecx, eax
call fcn.100afa60
mov ebp, eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
cmp dword [esi], 9
jne 0x100a9b2c
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x18]
push eax
push ebx
mov ecx, esi
call fcn.10098660
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 7
sete cl
mov eax, ecx
test eax, eax
je 0x100a9b23
push 0x48
call fcn.1005473e
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x30], 1
je 0x100a9ace
mov edx, dword [esp + 0x20]
push ebx
push edx
mov ecx, eax
call fcn.100a9820
mov ebx, eax
jmp 0x100a9ad0
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.100986a0
push ebx
mov ecx, ebp
call fcn.100afad0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], edx
cmp eax, ecx
jne 0x100a9b12
mov esi, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov eax, edx
mov dword [esp + 0x10], ecx
cmp esi, eax
je 0x100a9b2c
mov eax, dword [ebx + 0x30]
lea esi, [ebx + 0x30]
cmp eax, 9
je 0x100a9a7e
jmp 0x100a9b2c
lea ecx, [esp + 0x18]
call fcn.100986a0
mov ecx, dword [esp + 0x28]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret