joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009451d
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x40
mov eax, 0x100ecc7d
call fcn.100c908c
sub esp, 0x70
push ebx
push esi
push edi
push dword [ebp + 0x4c]
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10094562
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10003f60
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x44
leave
ret
push edi
push ecx
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.1000548f
lea eax, [ebp + 0x1c]
push eax
call fcn.100977d6
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp + 0x30], edi
jne 0x100945a3
xor esi, esi
push edi
push 1
lea ecx, [ebp + 0x1c]
call fcn.100022b8
mov ecx, dword [ebp + 0x4c]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, esi
jmp 0x10094550
push 0x68
call fcn.100c839d
pop ecx
mov ecx, eax
mov dword [ebp + 0x40], ecx
mov byte [ebp - 4], 2
cmp ecx, edi
je 0x100945c2
call fcn.100940e9
mov dword [ebp + 0x3c], eax
jmp 0x100945c5
mov dword [ebp + 0x3c], edi
mov esi, dword [ebp + 0x3c]
push edi
push edi
push edi
push edi
push edi
push str.affiliateMerchants
push esi
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.100986a8
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 3
jae 0x100945ef
lea eax, [ebp + 0x20]
push 1
push edi
push edi
push edi
push edi
push eax
lea ecx, [ebp - 0x7c]
call fcn.1009a79b
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
add esi, 8
sar eax, 2
xor ebx, ebx
test eax, eax
jbe 0x100946ea
push ebx
mov ecx, esi
mov dword [ebp + 0x38], edi
call fcn.1008d01e
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
sub ecx, dword [eax + 0x38]
add eax, 0x2c
sar ecx, 2
test ecx, ecx
jbe 0x100946d8
push ebx
mov ecx, esi
call fcn.1008d01e
mov ecx, dword [eax]
push dword [ebp + 0x38]
add ecx, 0x2c
call fcn.1008d01e
mov eax, dword [eax]
add eax, 8
push dword [eax]
lea ecx, [ebp + 0x40]
call fcn.10004905
mov ecx, dword [eax]
mov byte [ebp - 4], 4
cmp ecx, edi
je 0x1009466a
call fcn.1001f62c
jmp 0x1009466c
xor eax, eax
push eax
lea ecx, [ebp]
call fcn.1000138b
mov ecx, dword [ebp + 0x40]
mov byte [ebp - 4], 6
cmp ecx, edi
je 0x10094688
call fcn.100050b9
mov dword [ebp + 0x40], edi
push ebx
mov ecx, esi
call fcn.1008d01e
mov ecx, dword [ebp + 0x3c]
push eax
lea eax, [ebp]
push eax
add ecx, 0x20
call fcn.10094449
mov ecx, eax
call fcn.1002c868
push edi
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 3
call fcn.100014a9
inc dword [ebp + 0x38]
push ebx
mov ecx, esi
call fcn.1008d01e
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
sub ecx, dword [eax + 0x38]
add eax, 0x2c
sar ecx, 2
cmp dword [ebp + 0x38], ecx
jb 0x10094635
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x10094614
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.10098460
mov esi, dword [ebp + 0x3c]
jmp 0x10094589
Function at 0x10097424
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100ed050
call fcn.100c908c
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100974ea
mov esi, 0x10150cbc
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x100974e3
cmp ecx, 0xffffffff
je 0x100974dc
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ecx
mov dword [ebp - 0x18], esp
mov ecx, esp
push dword [ebp + 8]
call fcn.1000548f
mov ecx, esi
call fcn.100973c0
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x1c]
jne 0x100974d7
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x20]
jne 0x100974d7
push dword [ebp - 0x10]
lea edi, [eax + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x100974ec
push dword [ebp - 0x10]
jmp 0x100974dd
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x100974fb
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100ed050
call fcn.100c908c
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100975b4
mov esi, 0x10150cbc
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x100975ad
cmp ecx, 0xffffffff
je 0x100975a6
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ecx
mov dword [ebp - 0x18], esp
mov ecx, esp
push dword [ebp + 8]
call fcn.1000548f
mov ecx, esi
call fcn.100973c0
mov ecx, dword [ebp - 0x20]
push 0xffffffffffffffff
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1c]
push ebx
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
lea ecx, [eax + 8]
call fcn.10002208
push dword [ebp - 0x10]
jmp 0x100975a7
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x10098f72
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100ed371
call fcn.100c908c
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
test edi, edi
jne 0x10098f93
xor al, al
jmp 0x100990da
mov eax, dword [edi + 0xc]
push edi
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 0xd], 1
call fcn.10097951
mov eax, dword [edi + 0x10]
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.10097951
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10071120
test al, al
jne 0x100990c6
lea ecx, [ebp - 0x34]
call fcn.10022a28
mov esi, dword [eax]
lea ebx, [esi + 0x34]
mov ecx, ebx
call fcn.10004acb
lea eax, [esi + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x10099098
push ebx
lea edi, [esi + 0x30]
push edi
push 0
push ecx
lea eax, [esi + 0x14]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.1000548f
xor eax, eax
push eax
push eax
push dword [esi + 0x10]
add esi, 0xc
push ecx
mov dword [ebp - 0x28], esp
mov ecx, esp
push esi
mov dword [ebp - 4], eax
call fcn.1000548f
push ecx
mov dword [ebp - 0x2c], esp
mov ecx, esp
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1000548f
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.10098bbc
cmp byte [edi], 0
je 0x10099083
lea eax, [ebp - 0x20]
push eax
call fcn.10060b08
push dword [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10006f5b
add esp, 0x10
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.1000688b
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10003f60
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp + 8]
dec eax
neg eax
sbb al, al
inc al
and byte [ebp - 0xd], al
lea ecx, [ebp - 0x34]
call fcn.100229f9
push edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x3c]
call fcn.10097951
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10071120
test al, al
je 0x10098fc5
cmp byte [ebp - 0xd], 0
je 0x100990d8
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
sar eax, 2
test eax, eax
jbe 0x100990d8
xor eax, eax
inc eax
jmp 0x100990da
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x100990eb
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100f057e
call fcn.100c908c
mov eax, dword [ebp + 0xc]
sub esp, 0x80
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [edi + 0xc]
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.10097951
mov eax, dword [edi + 0x10]
push edi
push eax
jmp 0x10099236
lea ecx, [ebp - 0x1c]
call fcn.10022a28
mov eax, dword [eax]
lea esi, [eax + 0x34]
mov ecx, dword [esi]
cmp dword [ecx - 0xc], ebx
je 0x1009922a
cmp byte [eax + 0x30], bl
je 0x100991da
lea eax, [ebp - 0x8c]
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x10099254
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x10099254
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
test eax, eax
je 0x10099254
push 0x24
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.100c7c60
movzx eax, word [ebp - 0x34]
sub eax, 0x76c
mov dword [ebp - 0x54], eax
movzx eax, word [ebp - 0x32]
dec eax
mov dword [ebp - 0x58], eax
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 0x5c], eax
movzx eax, word [ebp - 0x2c]
mov dword [ebp - 0x60], eax
movzx eax, word [ebp - 0x2a]
mov dword [ebp - 0x64], eax
movzx eax, word [ebp - 0x28]
mov dword [ebp - 0x68], eax
call fcn.100cdb2f
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x68]
push eax
call fcn.100cd558
add esp, 0x10
mov edi, eax
jmp 0x1009921e
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x1010d92c
call fcn.10009e15
push ebx
push ecx
mov dword [ebp - 0x14], esp
mov ecx, esp
push esi
mov dword [ebp - 4], ebx
call fcn.1000548f
or dword [ebp - 4], 0xffffffff
call fcn.10062265
mov edi, eax
add esp, 0xc
cmp edi, ebx
jle 0x1009921c
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009921a
xor edi, edi
cmp edi, ebx
je 0x10099254
mov eax, dword [ebp + 0xc]
cmp edi, dword [eax]
jle 0x10099227
mov dword [eax], edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.100229f9
push edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x24]
call fcn.10097951
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10071120
test al, al
je 0x1009911f
jmp 0x10099259
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x100992d5
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100ed3e5
call fcn.100c908c
sub esp, 0x1c
and dword [ebp - 0x10], 0
push esi
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.10060b08
mov ecx, esp
mov dword [ebp - 0x28], esp
mov esi, 0x1010d92c
push esi
mov byte [ebp - 4], 1
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push esi
mov byte [ebp - 4], 2
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Language
mov byte [ebp - 4], 3
call fcn.10009e15
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.10061f03
add esp, 0x10
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 4
jne 0x10099361
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.10006f5b
add esp, 0xc
jmp 0x1009943e
push str.Localization_
lea ecx, [ebp - 0x18]
call fcn.10009e15
mov eax, dword [ebp - 0x1c]
push dword [eax - 0xc]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.100061ea
push str..xml
lea ecx, [ebp - 0x18]
call fcn.1001195c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10006f5b
add esp, 0xc
push dword [eax]
mov byte [ebp - 4], 6
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100993d3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10006f5b
add esp, 0xc
mov byte [ebp - 4], 7
mov dword [ebp - 0x10], 2
jmp 0x100993f5
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10006f5b
add esp, 0xc
mov dword [ebp - 4], 8
mov dword [ebp - 0x10], 4
mov ecx, dword [ebp + 8]
push eax
call fcn.1000548f
or dword [ebp - 0x10], 1
test byte [ebp - 0x10], 4
je 0x10099417
mov ecx, dword [ebp - 0x20]
and dword [ebp - 0x10], 0xfffffffb
add ecx, 0xfffffff0
call fcn.10003f60
test byte [ebp - 0x10], 2
je 0x10099428
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
pop esi
leave
ret 8
Function at 0x1009950f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100ed428
call fcn.100c908c
sub esp, 0x148
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 8]
xor esi, esi
inc esi
push 0x101519f8
mov dword [ebp - 4], esi
call fcn.1007170f
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
xor edi, edi
call fcn.100b8167
cmp byte [ebp + 0x10], 0
mov esi, eax
je 0x100995d0
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], eax
call fcn.10048947
push str.override_
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.10098669
push dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
call fcn.10098669
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x10099597
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100995ba
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x100995ae
lea eax, [ebp - 0x34]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 8]
mov edi, eax
mov ebx, edx
push 0
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.100022b8
mov eax, edi
or eax, ebx
jne 0x100995de
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov edi, eax
mov ebx, edx
push 0x10
lea eax, [ebp - 0x154]
push eax
push ebx
push edi
call fcn.100cb753
add esp, 0x10
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0x20
jge 0x10099649
lea eax, [ebp - 0x154]
push eax
call fcn.1001195c
jmp 0x100995f1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x1009abe5
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
cmp eax, dword [esi + 0x4c]
jne 0x1009ac29
push dword [esi + 4]
call fcn.1009aada
pop ecx
test al, al
jne 0x1009ac29
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1009aada
pop ecx
test al, al
jne 0x1009ac29
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x4c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop esi
ret 0x10

Function at 0x1009c5f0
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x100e79e6
call fcn.100c908c
push esi
mov esi, ecx
cmp dword [esi + 0x1e4], 0
push edi
jne 0x1009c621
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0xf4]
call edi
push 0
push dword [esi + 0x160]
call edi
mov eax, dword [esp + 0x28]
and dword [eax], 0
mov ecx, dword [esp + 8]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
leave
ret 0x10

Function at 0x1009de1a
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x100e79e6
call fcn.100c908c
push esi
push edi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x34]
add esi, 0x28
sar eax, 2
xor edi, edi
test eax, eax
jbe 0x1009de71
push edi
mov ecx, esi
call fcn.1008d01e
mov eax, dword [eax]
test eax, eax
je 0x1009de63
mov eax, dword [eax + 0xc]
push 0
push 0
push 2
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 2
cmp edi, eax
jb 0x1009de43
mov ecx, esi
call fcn.100b46b3
mov ecx, dword [esp + 8]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
leave
ret 0x10

Function at 0x1009e936
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, 0x100edb2a
call fcn.100c908c
sub esp, 0x30
push ebx
push esi
push edi
mov esi, 0x10150cfc
mov dword [ebp - 0x10], esp
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.100b7572
test eax, eax
je 0x1009e983
mov ecx, esi
call fcn.100b7572
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x1009ea75
push 8
call fcn.100c839d
pop ecx
cmp eax, ebx
je 0x1009e99c
mov dword [eax], 0x10150d14
mov dword [eax + 4], ebx
mov edi, eax
jmp 0x1009e99e
xor edi, edi
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 4], eax
lea eax, [ebp - 0x18]
push eax
push 4
push edi
push 0x1009e89f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1009e96c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x100a1a38
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100ee05b
call fcn.100c908c
sub esp, 0x74
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov edi, 0x101519f8
lea ecx, [esi + 0xc]
push edi
mov dword [ebp - 4], 2
mov dword [esi], vtable.LayoutManager.0
call fcn.1007170f
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 3
call fcn.100bf73d
lea ebx, [esi + 0x30]
push edi
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.1007170f
lea ecx, [esi + 0x34]
push edi
mov byte [ebp - 4], 5
call fcn.1007170f
lea eax, [ebp + 0x14]
push eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 6
call fcn.1000688b
lea eax, [ebp + 0x18]
push eax
mov ecx, ebx
call fcn.1000688b
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xc]
xor ebx, ebx
push eax
lea ecx, [esi + 0xc]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 4], edi
call fcn.1000688b
push 0x1bc
call fcn.100c839d
pop ecx
mov dword [ebp + 8], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x100a1ae5
push ebx
mov ecx, eax
call fcn.10030569
jmp 0x100a1ae7
xor eax, eax
mov byte [ebp - 4], 6
mov dword [esi + 8], eax
cmp edi, ebx
je 0x100a1afd
lea eax, [edi + 0xb8]
mov dword [ebp + 8], eax
jmp 0x100a1b00
mov dword [ebp + 8], ebx
push ebx
lea ecx, [esi + 0x30]
call fcn.100054ad
push 1
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x80]
push dword [edi + 0x12a8]
push ebx
push eax
push dword [esi + 8]
call fcn.100986a8
mov eax, dword [esi + 0xc]
push 1
push ebx
push ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x80]
push ebx
push eax
mov byte [ebp - 4], 8
call fcn.1009a79b
mov eax, dword [esi + 8]
add edi, 0xb8
mov ecx, esi
mov dword [eax + 0x178], edi
call fcn.100a14cf
mov ecx, esi
call fcn.100a0734
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.10098460
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x100a3f04
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100ee3c1
call fcn.100c908c
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 3
mov dword [esi], vtable.COptionsDlg.0
call fcn.100a3d9b
lea ebx, [esi + 0x6c]
push 0x101519f8
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.1007170f
lea eax, [ebp + 0x18]
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.1000688b
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x7c], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
mov dword [esi + 0x70], ebx
call fcn.1007f33d
push dword [ebp - 0x10]
mov byte [ebp - 4], 6
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100a3fb3
lea eax, [ebp - 0x28]
push str.Layout_not_found
push eax
call fcn.10001168
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.10001340
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.100c7fb4
cmp ebx, edi
je 0x100a3fc2
lea eax, [ebx + 0xb8]
mov dword [ebp + 0x14], eax
jmp 0x100a3fc5
mov dword [ebp + 0x14], edi
push edi
push edi
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0x1c], esp
mov ecx, esp
push eax
call fcn.1000548f
push dword [ebp + 0x14]
lea eax, [ebp - 0x14]
push eax
call fcn.1004ad5e
push 0x48
mov byte [ebp - 4], 8
call fcn.100c839d
add esp, 0x18
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 9
cmp eax, edi
je 0x100a403f
push ecx
lea eax, [ebp + 0x10]
mov dword [ebp + 0x1c], esp
mov ecx, esp
push eax
call fcn.1000548f
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xa
call fcn.1000548f
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xb
call fcn.1000548f
mov ecx, dword [ebp + 0x14]
push ebx
mov byte [ebp - 4], 9
call fcn.100a242c
jmp 0x100a4041
xor eax, eax
push 0x40
mov byte [ebp - 4], 8
mov dword [esi + 0x74], eax
call fcn.100c839d
pop ecx
mov ecx, eax
mov dword [ebp + 0x14], ecx
mov byte [ebp - 4], 0xc
cmp ecx, edi
je 0x100a4068
push dword [esi + 0x7c]
push ebx
call fcn.100a3c5a
jmp 0x100a406a
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x78], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], edi
sete al
add ecx, 0xfffffff0
mov byte [esi + 0x24], al
call fcn.10003f60
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x18