joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006f730
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100a81dd
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov eax, esi
call fcn.1006f890
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea edi, [esi + 0x14]
mov dword [esi], vtable.RC::RCOnlineFavManger.0
mov dword [esi + 4], vtable.RC::RCOnlineFavManger.1.0
mov dword [esi + 8], vtable.RC::RCOnlineFavManger.2.0
mov dword [esi + 0xc], vtable.RC::RCOnlineFavManger.3.0
mov dword [esi + 0x10], vtable.RC::RCOnlineFavManger.4.0
mov dword [edi], vtable.RC::RCOnlineFavManger.5.0
mov dword [esi + 0x18], vtable.RC::RCOnlineFavManger.6.0
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esp + 0x18], 5
push 0x18
mov dword [esi + 0x34], 2
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
push eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, 7
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov word [esi + 0x60], bx
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], ebx
mov word [esi + 0x7c], bx
mov dword [esi + 0xac], eax
mov dword [esi + 0xa8], ebx
mov word [esi + 0x98], bx
mov dword [esi + 0xb4], ebx
mov byte [esp + 0x18], 9
push 0xc
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x1006f833
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [eax + 8], bl
mov byte [eax + 9], bl
jmp 0x1006f835
xor eax, eax
mov dword [esi + 0xb0], eax
mov dword [eax], edi
mov byte [esi + 0xc0], bl
mov byte [esi + 0xc1], bl
mov byte [esi + 0xc2], bl
mov byte [esi + 0xc3], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x10074a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100a8073
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push edi
mov ecx, esi
mov byte [esi + 4], 0
call fcn.100021d0
mov dword [esp + 0x14], 0
mov al, byte [edi + 0x1c]
lea edx, [esi + 0x20]
lea ecx, [edi + 0x20]
push edx
mov byte [esi + 0x1c], al
call fcn.10075cf0
add edi, 0x30
push edi
lea eax, [esi + 0x30]
push eax
mov byte [esp + 0x1c], 1
call fcn.10075e00
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x10078940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100a7fb5
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi + 4], vtable.RC::IOnlineDataDownLoadEvent.0
mov dword [esi + 8], vtable.RC::ISimpleDownloadCallback.0
xor ebx, ebx
mov dword [esi + 0xc], vtable.RC::RCRefCounted.0
mov dword [esi + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esi], vtable.RC::RCOnlineDataFrameManger.0
mov dword [esi + 4], vtable.RC::RCOnlineDataFrameManger.1.0
mov dword [esi + 8], vtable.RC::RCOnlineDataFrameManger.2.0
mov dword [esi + 0xc], vtable.RC::RCOnlineDataFrameManger.3.0
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
push 0x18
mov byte [esp + 0x18], 6
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
push eax
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x14], 7
call fcn.1007a1d0
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov eax, 7
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], ebx
mov word [esi + 0x48], bx
mov dword [esi + 0x78], eax
mov dword [esi + 0x74], ebx
mov word [esi + 0x64], bx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x100798c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100abdb0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea esi, [edi + 0x30]
test esi, esi
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], esi
je 0x10079903
mov eax, dword [esi]
test eax, eax
je 0x10079903
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [edi + 0x34]
lea eax, [esp + 0x20]
mov byte [esp + 0x18], 1
call fcn.1007a130
test esi, esi
je 0x10079925
mov esi, dword [esi]
test esi, esi
je 0x10079925
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x1007993d
mov eax, dword [esp + 0x44]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], 0
jb 0x10079967
mov ecx, dword [esp + 0x28]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x3c
Function at 0x1007a920
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x1007a933
push 0x80004005
call fcn.1007a4d0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x1007a940
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x1007a980
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x234]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x1007a9ee
test ecx, ecx
je 0x1007a9e0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], ecx
je 0x1007a9fc
test ecx, ecx
je 0x1007aaa1
push ecx
jmp 0x1007aa9b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x3c]
push edx
push 0
push ecx
mov dword [esp + 0x34], 0x100
call esi
test eax, eax
jne 0x1007aa6e
jmp 0x1007aa30
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.1007a980
mov edi, eax
test edi, edi
jne 0x1007aabd
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x34], 0x100
call esi
test eax, eax
je 0x1007aa30
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1007aa85
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1007aaa1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.100a4489
add esp, 0x224
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1007aacc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1007aaa3
Function at 0x1007afc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x100aec70
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100d3020]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x414]
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x14], eax
call dword [0x100d3030]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x410]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x1007b049
call fcn.1007a650
mov esi, eax
jmp 0x1007b12f
mov edx, dword [ebp - 0x14]
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1007b065
call fcn.1007a650
jmp 0x1007b126
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x1007b07e
call fcn.1007a650
jmp 0x1007b126
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
jae 0x1007b0b4
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1007b0a2
lea eax, [ebp]
call fcn.1007ce40
lea esi, [ebp - 0x1c]
call fcn.1007cc80
mov eax, 0x8007000e
jmp 0x1007b142
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.1007cd70
mov dword [ebp - 4], 1
jmp 0x1007b0dc
mov esi, dword [ebp]
test esi, esi
jne 0x1007b0ea
mov esi, 0x8007000e
jmp 0x1007b128
call dword [0x100d3030]
mov ecx, dword [ebp - 0x20]
push ebx
push esi
push ebx
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1007b10b
call fcn.1007a650
jmp 0x1007b126
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.1007bd10
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x1007b140
lea eax, [ebp]
call fcn.1007ce40
nop
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.100a4489
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1007d000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100abc9e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
push eax
mov dword [edi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [edi + 0x24], ebx
mov byte [edi + 0x28], bl
mov eax, 7
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], ebx
mov word [edi + 0x30], bx
mov byte [esp + 0x34], 1
push ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
push 0x100b6894
lea esi, [esp + 0x18]
mov byte [edi + 8], bl
mov dword [edi + 0x18], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x1c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
call fcn.10002660
mov byte [esp + 0x34], 2
cmp dword [edi + 0x24], ebx
lea esi, [ebx + 8]
jne 0x1007d0ec
cmp dword [esp + 0x24], ebx
jne 0x1007d0b0
xor eax, eax
jmp 0x1007d0be
cmp dword [esp + 0x28], esi
mov eax, dword [esp + 0x14]
jae 0x1007d0be
lea eax, [esp + 0x14]
push eax
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
push 0xffffffffffffffff
mov byte [edi + 0x28], al
push ebx
lea ecx, [edi + 0x2c]
lea eax, [esp + 0x18]
call fcn.10002570
cmp dword [esp + 0x28], esi
jb 0x1007d0ff
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0x1007d540
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x100af048
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x1007d600
lea edi, [eax + 0x20]
test edi, edi
mov dword [esp + 0x14], edi
je 0x1007d58a
mov eax, dword [edi]
test eax, eax
je 0x1007d58a
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x20], 0
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x1007d5ef
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 1
lea ebx, [esi + 4]
push ebx
call ebp
mov ecx, dword [esi + 8]
add ecx, 0xc
push ecx
push 4
push esi
push 0x1007d120
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
mov edx, dword [esi + 8]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 8]
add esp, 0x18
cmp dword [eax + 0x10], 0
jne 0x1007d616
push 0xffffffffffffffff
push ebx
call ebp
sub eax, 1
jne 0x1007d5e7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov esi, dword [esi + 8]
call fcn.1007d360
test edi, edi
je 0x1007d600
mov edi, dword [edi]
test edi, edi
je 0x1007d600
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, eax
mov byte [ecx + 8], 1
mov eax, dword [esi + 8]
add eax, 0x24
mov eax, dword [eax]
test eax, eax
je 0x1007d62f
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1007d675
call fcn.1007d520
mov esi, dword [esi + 8]
call fcn.1007d360
test edi, edi
je 0x1007d600
mov edi, dword [edi]
test edi, edi
je 0x1007d600
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
test edi, edi
je 0x1007d686
mov edi, dword [edi]
test edi, edi
je 0x1007d686
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x1007ebd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100a94e3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ecx, ecx
mov eax, 7
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], ecx
mov dword [esp + 0xc], ebx
mov word [ebx + 0xc], cx
mov dword [esp + 0x38], ecx
mov dword [ebx], ecx
mov byte [ebx + 4], cl
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov word [esp + 0x14], cx
cmp edx, ecx
mov byte [esp + 0x38], 1
je 0x1007ec5a
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov si, word [eax]
add eax, 2
cmp si, cx
jne 0x1007ec40
sub eax, edi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x18]
call fcn.10002660
mov eax, dword [esp + 0x40]
push eax
lea edi, [esp + 0x14]
mov esi, ebx
call fcn.1007ece0
cmp dword [esp + 0x28], 8
jb 0x1007ec7e
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100a4489
add esp, 0x30
ret 4

Function at 0x1007fb70
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push ecx
push esi
push eax
push 0
push 0x43
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
jne 0x1007fb88
xor al, al
pop esi
pop ecx
ret
lea ecx, [esp + 4]
push ecx
push esi
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x1007fbe3
cmp dword [esp + 4], 0x103
jne 0x1007fbe3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlFreeUserThreadStack
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1007fbd9
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ecx
ret

Function at 0x1007fbf0
Capabilities:
Create directory

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x1007fc08
mov eax, dword [eax + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
ret
add eax, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
ret
Function at 0x1007fc20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b25f8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push esi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
push 2
push 0x100b9d1c
xor edx, edx
mov eax, esi
call fcn.10041610
cmp eax, 0xffffffff
jne 0x1007fc8e
cmp dword [esi + 0x18], 8
jb 0x1007fc78
mov esi, dword [esi + 4]
jmp 0x1007fc7b
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
jmp 0x1007fcf3
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x70], eax
call fcn.10085720
add esp, 8
cmp dword [esp + 0x4c], 8
mov bl, al
jb 0x1007fcf1
mov eax, dword [esp + 0x38]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.100a4489
mov esp, ebp
pop ebp
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x100af268
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor esi, esi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
call fcn.10002570
push 0x24
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], esi
call fcn.10080c10
mov eax, dword [esp + 0x10]
mov esi, 8
add esp, 4
cmp dword [esp + 0x20], esi
jae 0x1007fec7
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1007feea
cmp dword [esp + 0x20], esi
jb 0x1007fee6
mov eax, dword [esp + 0xc]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x1007feff
cmp dword [esp + 0x20], esi
jb 0x1007fefd
mov ecx, dword [esp + 0xc]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100a4489
add esp, 0x2c
ret
Function at 0x1007ff20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x100af268
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor esi, esi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
call fcn.10002570
push 0x24
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], esi
call fcn.10080c10
mov eax, dword [esp + 0x10]
mov esi, 8
add esp, 4
cmp dword [esp + 0x20], esi
jae 0x1007ff97
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1007ffbe
test al, 0x10
jne 0x1007ffbe
cmp dword [esp + 0x20], esi
jb 0x1007ffba
mov eax, dword [esp + 0xc]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x1007ffd3
cmp dword [esp + 0x20], esi
jb 0x1007ffd1
mov ecx, dword [esp + 0xc]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100a4489
add esp, 0x2c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x100af268
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor esi, esi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
call fcn.10002570
push 0x24
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], esi
call fcn.10080c10
mov eax, dword [esp + 0x10]
mov esi, 8
add esp, 4
cmp dword [esp + 0x20], esi
jae 0x10080067
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1008008e
test al, 0x10
je 0x1008008e
cmp dword [esp + 0x20], esi
jb 0x1008008a
mov eax, dword [esp + 0xc]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x100800a3
cmp dword [esp + 0x20], esi
jb 0x100800a1
mov ecx, dword [esp + 0xc]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100a4489
add esp, 0x2c
ret