joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019d90
Capabilities:
Get disk information

Disassembly:
sub esp, 0x428
mov eax, dword [0x10099060]
xor eax, esp
mov dword [esp + 0x424], eax
mov ax, word [esp + 0x430]
mov dword [esp], 0
push esi
mov esi, dword [esp + 0x430]
mov word [esp + 8], ax
xor eax, eax
lea edx, [esp + 8]
mov ecx, 0x3a
push edx
mov word [esp + 0xe], cx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
je 0x10019e1f
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
push eax
mov eax, 0x10083c60
call fcn.10009460
mov eax, esi
pop esi
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.1005ebcb
add esp, 0x428
ret
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22]
push edx
mov word [esp + 0x24], cx
call fcn.10062cf0
add esp, 0xc
push 0x104
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10019edf
mov edx, dword [esp + 0x1a]
or edx, 0x20
cmp dx, 0x64
jne 0x10019eb1
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22a]
push ecx
mov word [esp + 0x22c], ax
call fcn.10062cf0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], 0x104
call fcn.10019d40
add esp, 0x18
mov ecx, esi
test eax, eax
jne 0x10019ee1
lea eax, [esp + 0x220]
jmp 0x10019ee6
cmp word [esp + 0x1a], 0x3f
jne 0x10019edf
mov edx, dword [esp + 0x20]
push edx
push esi
call fcn.10019d90
add esp, 8
mov eax, esi
pop esi
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.1005ebcb
add esp, 0x428
ret
mov ecx, esi
mov eax, 0x10083c60
call fcn.10007820
mov ecx, dword [esp + 0x428]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1005ebcb
add esp, 0x428
ret

Function at 0x1001a170
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x28
movzx eax, ax
push esi
push eax
push 0x10085db8
lea esi, [esp + 0x18]
call fcn.1003c4c4
add esp, 8
cmp dword [eax + 0x18], 8
jb 0x1001a194
mov eax, dword [eax + 4]
jmp 0x1001a197
add eax, 4
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
push ecx
push eax
push str.Softwareprojonepodlp_smpcachedriveType_
mov esi, 4
push 0x80000002
mov dword [esp + 0x1c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001a1ce
cmp dword [esp + 8], esi
mov esi, dword [esp + 0xc]
je 0x1001a1d3
mov esi, 0x64
cmp dword [esp + 0x28], 8
jb 0x1001a1e7
mov edx, dword [esp + 0x14]
push edx
call fcn.1005f31a
add esp, 4
mov eax, esi
pop esi
add esp, 0x28
ret
Function at 0x1001bdf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x10078d48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
push 0x1009eb40
mov dword [esp + 0x20], 0x1009eb40
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [esp + 0x44], ebx
xor eax, eax
mov word [esp + 0x24], ax
mov eax, ebp
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001be50
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x24]
call fcn.10009460
push str.GetTickCount64
push str.kernel32.dll
mov byte [esp + 0x4c], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1001be91
call eax
mov edi, edx
jmp 0x1001be99
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
lea ecx, [esp + 0x20]
push ecx
push 0x100a14f0
mov esi, eax
call fcn.100081b0
sub esi, dword [eax]
sbb edi, dword [eax + 4]
cmp edi, ebx
ja 0x1001bec4
jb 0x1001bebd
cmp esi, 0xbb8
jae 0x1001bec4
mov byte [esp + 0x1b], 1
jmp 0x1001bec8
mov byte [esp + 0x1b], bl
mov byte [esp + 0x44], bl
cmp dword [esp + 0x38], 8
jb 0x1001bee0
mov edx, dword [esp + 0x24]
push edx
call fcn.1005f31a
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x1001bf07
push 0x1009eb40
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
xor eax, eax
mov word [esp + 0x24], ax
mov eax, ebp
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001bf20
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x24]
call fcn.10009460
push str.GetTickCount64
push str.kernel32.dll
mov byte [esp + 0x4c], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1001bf61
call eax
mov edi, edx
jmp 0x1001bf69
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
lea ecx, [esp + 0x20]
push ecx
push 0x100a14f0
mov esi, eax
call fcn.100081b0
mov dword [eax], esi
mov dword [eax + 4], edi
cmp dword [esp + 0x38], 8
jb 0x1001bf93
mov edx, dword [esp + 0x24]
push edx
call fcn.1005f31a
add esp, 4
push 0x1009eb40
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x1001c960
Capabilities:
Create thread

Disassembly:
mov eax, 0x1010
call fcn.1006a730
mov eax, dword [0x10099060]
xor eax, esp
mov dword [esp + 0x1008], eax
cmp dword [0x1009c7b4], 0
push esi
je 0x1001ca06
push 0x1009eb58
mov dword [0x1009c7b4], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push str._UsbLetterFetchThread
push 0xdb
push str.._filemon.cpp
push str._s._d:_s
lea eax, [esp + 0x18]
push 0x800
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x18
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x1001c850
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001c9ff
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push str.thread__d_created:__s
call fcn.1003e42d
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.1005ebcb
add esp, 0x1010
ret

Function at 0x1001f200
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10078cbb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea eax, [esi + 0x10]
push eax
mov dword [esi], vtable.CFileOpenMonitor.0
call fcn.10008e30
lea eax, [esi + 0x30]
xor edi, edi
push eax
mov dword [esp + 0x18], edi
call fcn.1002b0f0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
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 0x10023300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007cb58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
and dword [esp + 0x14], 0xfffffe00
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], 1
call fcn.10023060
add esp, 8
test al, al
je 0x100233c3
cmp byte [esp + 0x14], 7
jne 0x100233c3
push str.value_number
lea edx, [esp + 0x10]
push edx
mov ecx, 0x10086538
call fcn.1004535c
mov ecx, eax
call fcn.100457e7
test al, al
je 0x100233c3
push str.value_number
lea eax, [esp + 0x10]
push eax
mov ecx, 0x10086538
call fcn.1004535c
mov esi, eax
call fcn.1004497b
mov ecx, dword [esp + 0x3c]
lea esi, [esp + 0xc]
mov dword [ecx], eax
mov dword [esp + 0x30], 0xffffffff
call fcn.10044696
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
lea esi, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.10044696
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x10023510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007d4d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10099060]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [esp + 0x10]
push edx
push eax
mov byte [esp + 0x40], 1
call fcn.100233f0
add esp, 8
test al, al
lea eax, [esp + 0x10]
jne 0x1002357c
lea eax, [esp + 0x44]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10008360
cmp dword [esp + 0x28], 0x10
jb 0x100235a8
mov eax, dword [esp + 0x14]
push eax
call fcn.1005f31a
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x100235cc
mov ecx, dword [esp + 0x48]
push ecx
call fcn.1005f31a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1005ebcb
add esp, 0x34
ret
Function at 0x10023f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1007ad09
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x74]
push eax
call fcn.10008bc0
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x70], ebp
mov esi, 1
mov edx, str.backupExts
mov ecx, str.Softwareprojonepodlp_smpcache_
mov dword [esp + 0x18], esi
call fcn.1003c6ab
add esp, 4
mov dword [esp + 0x6c], esi
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x10023f82
mov eax, dword [eax + 4]
jmp 0x10023f85
add eax, 4
push 0x10085dc8
push eax
lea edx, [esp + 0x34]
push edx
call fcn.1003c186
add esp, 0xc
mov byte [esp + 0x6c], 3
cmp dword [esp + 0x5c], esi
jb 0x10023fb0
mov eax, dword [esp + 0x48]
push eax
call fcn.1005f31a
add esp, 4
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov word [esp + 0x48], cx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebp
mov ebx, ecx
cmp ecx, eax
jbe 0x10023fde
call fcn.1005f2e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
mov edi, eax
cmp ecx, eax
jbe 0x10023fed
call fcn.1005f2e0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
cmp esi, ebp
je 0x10023fff
cmp esi, dword [esp + 0x18]
je 0x10024004
call fcn.1005f2e0
cmp ebx, edi
je 0x1002404e
cmp esi, ebp
jne 0x10024046
call fcn.1005f2e0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x1002401d
call fcn.1005f2e0
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.1000d330
cmp esi, ebp
jne 0x1002404a
call fcn.1005f2e0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x10024041
call fcn.1005f2e0
add ebx, 0x1c
jmp 0x10023ff5
mov eax, dword [esi]
jmp 0x10024013
mov eax, dword [esi]
jmp 0x10024037
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x10024074
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x3c]
push edx
call fcn.1000dc30
mov eax, dword [esp + 0x3c]
add esp, 4
push eax
call fcn.1005f31a
add esp, 4
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call fcn.1005f31a
mov eax, dword [esp + 0x78]
add esp, 4
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
Function at 0x10024b80
Capabilities:
Delete file
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1007bfe8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10099060]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
lea edi, [esp + 0x24]
call fcn.10024880
mov dword [esp + 0x70], 0
mov ebp, 8
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push str.BackupCount
push str.Softwareprojonepodlp_smprule_
mov edi, 4
push 0x80000002
mov dword [esp + 0x34], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10024c07
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x20], edi
je 0x10024c0c
mov eax, 5
cmp esi, eax
jbe 0x10024cab
mov eax, dword [esp + 0x38]
mov esi, dword [eax]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x10024ca7
call fcn.1005f2e0
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x10024c37
call fcn.1005f2e0
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0x50], cx
push ecx
lea eax, [esi + 8]
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
call fcn.10008590
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x60], ebp
jae 0x10024c6b
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ebx, [esp + 0x48]
lea edi, [esp + 0x2c]
call fcn.10022be0
cmp dword [esp + 0x60], ebp
jb 0x10024bc8
mov eax, dword [esp + 0x4c]
push eax
call fcn.1005f31a
add esp, 4
jmp 0x10024bc8
mov eax, dword [eax]
jmp 0x10024c2d
lea ebx, [esp + 0x24]
call fcn.10022010
mov ecx, dword [esp + 0x38]
push ecx
call fcn.1005f31a
mov edx, dword [esp + 0x28]
add esp, 4
push edx
mov dword [esp + 0x3c], 0
call fcn.1005f31a
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1005ebcb
add esp, 0x60
ret
Function at 0x10025170
Capabilities:
Set registry value

Disassembly:
sub esp, 0x24
mov eax, dword [0x10099060]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
push str.BackupToServer
mov esi, ecx
mov edi, edx
call fcn.100029f0
add esp, 4
test al, al
je 0x1002520a
push edi
push esi
push 0x10086738
lea esi, [esp + 0x18]
call fcn.1003c4c4
mov eax, dword [esp + 0x1c]
mov edi, 8
add esp, 0xc
cmp dword [esp + 0x24], edi
jae 0x100251bb
lea eax, [esp + 0x10]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push eax
push str.Softwareprojonepodlp_backupupload_
push 0x80000002
mov dword [esp + 0x20], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [esp + 0x24], edi
jb 0x100251f7
mov edx, dword [esp + 0x10]
push edx
call fcn.1005f31a
add esp, 4
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1005ebcb
add esp, 0x24
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.1005ebcb
add esp, 0x24
ret

Function at 0x100254f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x10099060]
xor eax, esp
mov dword [esp + 0x218], eax
cmp dword [0x1009ee78], 0
push esi
jne 0x1002551b
cmp dword [0x1009ee7c], 0
je 0x100255c5
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.10062cf0
add esp, 0xc
lea esi, [esp + 0x10]
mov ecx, edi
call fcn.1003abe1
push str.GetTickCount64
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1002555f
call eax
jmp 0x10025567
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
push 0
mov dword [esp + 0x10], edx
lea edx, [esp + 8]
push edx
push 0
push 0x20006
push 1
push 0
push 0
push str.Softwareprojonepodlp_volatile_shlProcessing_
push 0x80000002
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100255c5
mov edx, dword [esp + 4]
push 8
lea eax, [esp + 0xc]
push eax
push 0xb
push 0
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x21c]
pop esi
xor ecx, esp
call fcn.1005ebcb
add esp, 0x220
ret
Function at 0x10026700
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007e7fb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x10099060]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
test eax, eax
je 0x10026804
test ebx, ebx
je 0x10026804
cmp dword [ebp + 0x18], 0
jl 0x10026804
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x80058000
push eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x1c], 0
call eax
test eax, eax
jge 0x10026785
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x10026789
mov eax, dword [esp + 0x10]
mov dword [esp + 0x230], 0
test eax, eax
je 0x10026804
push 0x104
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x10086b24
lea edx, [esp + 0x18]
push edx
call esi
push ebx
lea eax, [esp + 0x18]
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100267f5
mov esi, dword [esp + 0x10]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push eax
push esi
push 4
lea ebx, [esp + 0x28]
call fcn.1001c040
add esp, 0x14
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10026804
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1005ebcb
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10026870
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007f9c6
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x10099060]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
test eax, eax
je 0x100269c9
test edi, edi
je 0x100269c9
test ebx, ebx
je 0x100269c9
cmp dword [ebp + 0x1c], 0
jl 0x100269c9
lea esi, [esp + 0x14]
call fcn.10025330
mov eax, edi
lea esi, [esp + 0x18]
mov dword [esp + 0x238], 0
call fcn.10025330
mov byte [esp + 0x238], 1
cmp dword [esp + 0x14], 0
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
je 0x100269ab
mov edi, dword [esp + 0x18]
test edi, edi
je 0x100269be
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x26]
push ecx
mov word [esp + 0x28], ax
call fcn.10062cf0
add esp, 0xc
push 0x104
push edi
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [esp + 0x1c]
call fcn.100254f0
mov ecx, edi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100269ab
mov edi, dword [esp + 0x14]
push 0
push 0
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push eax
push edi
push 3
lea ebx, [esp + 0x30]
call fcn.1001c040
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov eax, ebx
push 3
push eax
call fcn.10025be0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, ebx
call fcn.100262a0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100269be
push eax
call esi
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100269c9
push eax
call esi
push 0
call fcn.10014a00
cmp eax, 0xffffffff
je 0x10026a1c
mov esi, dword [eax*8 + 0x1009f29c]
test esi, esi
jbe 0x100269e1
dec esi
push 1
call fcn.10014a00
cmp eax, 0xffffffff
je 0x100269f4
mov dword [eax*8 + 0x1009f29c], esi
xor eax, eax
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.1005ebcb
mov esp, ebp
pop ebp
ret 0x1c
xor esi, esi
jmp 0x100269e1
Function at 0x10026a20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007f9c6
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x10099060]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
test eax, eax
je 0x10026b79
test edi, edi
je 0x10026b79
test ebx, ebx
je 0x10026b79
cmp dword [ebp + 0x1c], 0
jl 0x10026b79
lea esi, [esp + 0x14]
call fcn.10025330
mov eax, edi
lea esi, [esp + 0x18]
mov dword [esp + 0x238], 0
call fcn.10025330
mov byte [esp + 0x238], 1
cmp dword [esp + 0x14], 0
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
je 0x10026b5b
mov edi, dword [esp + 0x18]
test edi, edi
je 0x10026b6e
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x26]
push ecx
mov word [esp + 0x28], ax
call fcn.10062cf0
add esp, 0xc
push 0x104
push edi
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [esp + 0x1c]
call fcn.100254f0
mov ecx, edi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10026b5b
mov edi, dword [esp + 0x14]
push 0
push 0
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push eax
push edi
push 2
lea ebx, [esp + 0x30]
call fcn.1001c040
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov eax, ebx
push 2
push eax
call fcn.10025be0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov edx, ebx
call fcn.100262a0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10026b6e
push eax
call esi
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10026b79
push eax
call esi
push 0
call fcn.10014a00
cmp eax, 0xffffffff
je 0x10026bcc
mov esi, dword [eax*8 + 0x1009f29c]
test esi, esi
jbe 0x10026b91
dec esi
push 1
call fcn.10014a00
cmp eax, 0xffffffff
je 0x10026ba4
mov dword [eax*8 + 0x1009f29c], esi
xor eax, eax
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.1005ebcb
mov esp, ebp
pop ebp
ret 0x1c
xor esi, esi
jmp 0x10026b91
Function at 0x1002af00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10078ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x10099060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.10008590
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1002af56
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x10]
call fcn.10009380
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.10008590
cmp dword [esp + 0x24], 8
jb 0x1002af9f
mov edx, dword [esp + 0x10]
push edx
call fcn.1005f31a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret