Function at 0x10008bf0
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x8c
mov eax, dword [0x10022cd0]
mov ecx, dword [0x10022ccc]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x10008c2b
jmp 0x10009264
push eax
mov eax, esp
mov dword [ebp - 0x40], eax
push eax
mov ecx, esp
mov dword [ebp - 0x3c], ecx
sub esp, 0x40
mov eax, esp
mov dword [ebp - 0x38], eax
sub esp, 0x104
mov eax, esp
mov dword [ebp - 0x34], eax
push eax
mov edx, esp
mov dword [ebp - 0xc], edx
sub esp, 0x14
mov edx, esp
mov dword [ebp - 0x30], edx
push eax
mov edx, esp
mov dword [ebp - 0x2c], edx
sub esp, 0x190
mov edx, esp
mov dword [ebp - 0x28], edx
push eax
mov edx, esp
mov dword [ebp - 0x24], edx
push eax
mov edx, esp
mov dword [ebp - 0x20], edx
push eax
mov edx, esp
mov dword [ebp - 0x1c], edx
push eax
mov edx, esp
mov dword [ebp - 0x18], edx
push eax
mov edx, esp
mov dword [ebp - 0x14], edx
push eax
mov edx, esp
mov dword [ebp - 0x10], edx
mov dword [ecx], 0
sub esp, 8
mov dword [esp], 0x104
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [eax], 0
seta al
mov byte [ebp - 5], al
mov eax, dword [0x10022cd0]
mov ecx, dword [0x10022ccc]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x10008ce8
jmp 0x10009264
mov al, byte [ebp - 5]
test al, 1
jne 0x10008cf8
jmp 0x10008e76
mov eax, dword [ebp - 0x34]
mov byte [eax + 3], 0
mov eax, dword [0x100212c0]
mov eax, dword [eax + 0x23bfcbc9]
mov dword [ebp - 0x44], eax
mov eax, dword [0x100212c4]
mov eax, dword [eax + 0x23bfcbc9]
mov dword [ebp - 0x4c], eax
lea ecx, [0x10021e78]
lea eax, [0x1001a190]
add eax, 0x29d
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000a120
mov eax, dword [ebp - 0x4c]
add esp, 8
lea ecx, [0x10021e78]
sub esp, 4
mov dword [esp], ecx
call eax
mov dword [ebp - 0x48], eax
lea ecx, [0x10021e5c]
lea eax, [0x1001a190]
add eax, 0x251
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000a010
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
add esp, 8
lea ecx, [0x10021e5c]
sub esp, 8
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
mov eax, dword [ebp - 0x20]
mov dword [eax], esi
mov eax, dword [eax]
xor esi, esi
sub esp, 0x20
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call eax
mov ecx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [eax], 0
je 0x10008df7
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
jmp 0x10008e01
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x10008e01
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [0x10022cd0]
mov ecx, dword [0x10022ccc]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x10008e38
jmp 0x1000929f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [0x10022cd0]
mov ecx, dword [0x10022ccc]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x10008e71
jmp 0x1000929f
jmp 0x10008e76
mov eax, dword [0x10022cd0]
mov ecx, dword [0x10022ccc]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x10008ea7
jmp 0x100092ac
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100035b0
add esp, 8
mov eax, dword [0x100212d0]
mov word [eax + 0x23bfcbc9], 0x329
lea ecx, [0x10022160]
lea eax, [0x1001a190]
add eax, 0xa7b
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000bf40
add esp, 8
lea ecx, [0x10021d60]
lea eax, [0x10022160]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [0x10021d20]
lea eax, [0x10022160]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x100212c0]
mov eax, dword [eax + 0x23bfcbc9]
mov dword [ebp - 0x68], eax
mov eax, dword [0x100212c4]
mov eax, dword [eax + 0x23bfcbc9]
mov dword [ebp - 0x70], eax
lea ecx, [0x10021df8]
lea eax, [0x1001a190]
add eax, 0xc8
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100099e0
mov eax, dword [ebp - 0x70]
add esp, 8
lea ecx, [0x10021df8]
sub esp, 4
mov dword [esp], ecx
call eax
mov dword [ebp - 0x6c], eax
lea ecx, [0x1002217c]
lea eax, [0x1001a190]
add eax, 0xac1
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000c110
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
add esp, 8
lea ecx, [0x1002217c]
sub esp, 8
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
sub esp, 8
mov dword [esp], 0x202
mov dword [esp + 4], ecx
call dword [eax]
mov eax, dword [0x100212e8]
mov dword [eax + 0x23bfcbc9], 1
lea ecx, [0x1002218c]
lea eax, [0x1001a190]
add eax, 0xaf9
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000c1a0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
add esp, 8
lea ecx, [0x1002218c]
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [0x100212c0]
mov eax, dword [eax + 0x23bfcbc9]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x100212c4]
mov eax, dword [eax + 0x23bfcbc9]
mov dword [ebp - 0x64], eax
lea ecx, [0x10021e78]
lea eax, [0x1001a190]
add eax, 0x29d
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000a120
mov eax, dword [ebp - 0x64]
add esp, 8
lea ecx, [0x10021e78]
sub esp, 4
mov dword [esp], ecx
call eax
mov dword [ebp - 0x60], eax
lea ecx, [0x1002219c]
lea eax, [0x1001a190]
add eax, 0xb38
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000c2b0
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
add esp, 8
lea ecx, [0x1002219c]
sub esp, 8
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
mov ecx, dword [ebp - 0x38]
mov edx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov eax, dword [eax]
xor edx, edx
sub esp, 0xc
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
xor eax, eax
cmp eax, dword [ecx]
setne al
mov byte [ebp - 0x55], al
mov eax, dword [0x10022cd0]
mov ecx, dword [0x10022ccc]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000911b
jmp 0x100092ac
mov al, byte [ebp - 0x55]
test al, 1
jne 0x1000912b
jmp 0x100091e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, 0xb7
cmp eax, ecx
jne 0x1000915a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov ecx, dword [ebp - 0x14]
xor eax, eax
cmp eax, dword [ecx]
je 0x100091e2
xor eax, eax
lea eax, [0x10007a70]
sub esp, 0x18
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
xor eax, eax
cmp eax, dword [ecx]
je 0x100091d1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
mov dword [eax], 1
jmp 0x100091f1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100091e7
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [0x10022cd0]
mov ecx, dword [0x10022ccc]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x10009222
jmp 0x10009504
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [0x10022cd0]
mov ecx, dword [0x10022ccc]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
or al, cl
test al, 1
jne 0x1000925b
jmp 0x10009504
mov eax, dword [ebp - 0x74]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push eax
push eax
mov ecx, esp
sub esp, 0x40
sub esp, 0x104
mov eax, esp
push eax
mov edx, esp
mov dword [ebp - 0x78], edx
mov dword [ecx], 0
sub esp, 8
mov dword [esp], 0x104
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, eax
mov eax, dword [ebp - 0x78]
mov dword [eax], ecx
jmp 0x10008c2b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
jmp 0x10008e38
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100035b0
add esp, 8
mov eax, dword [0x100212d0]
mov word [eax + 0x23bfcbc9], 0x329
lea ecx, [0x10022160]
lea eax, [0x1001a190]
add eax, 0xa7b
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000bf40
add esp, 8
lea ecx, [0x10021d60]
lea eax, [0x10022160]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [0x10021d20]
lea eax, [0x10022160]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x100212c0]
mov eax, dword [eax + 0x23bfcbc9]
mov dword [ebp - 0x88], eax
mov eax, dword [0x100212c4]
mov eax, dword [eax + 0x23bfcbc9]
mov dword [ebp - 0x90], eax
lea ecx, [0x10021df8]
lea eax, [0x1001a190]
add eax, 0xc8
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.100099e0
mov eax, dword [ebp - 0x90]
add esp, 8
lea ecx, [0x10021df8]
sub esp, 4
mov dword [esp], ecx
call eax
mov dword [ebp - 0x8c], eax
lea ecx, [0x1002217c]
lea eax, [0x1001a190]
add eax, 0xac1
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000c110
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x88]
add esp, 8
lea ecx, [0x1002217c]
sub esp, 8
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
sub esp, 8
mov dword [esp], 0x202
mov dword [esp + 4], ecx
call dword [eax]
mov eax, dword [0x100212e8]
mov dword [eax + 0x23bfcbc9], 1
lea ecx, [0x1002218c]
lea eax, [0x1001a190]
add eax, 0xaf9
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000c1a0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
add esp, 8
lea ecx, [0x1002218c]
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [0x100212c0]
mov eax, dword [eax + 0x23bfcbc9]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x100212c4]
mov eax, dword [eax + 0x23bfcbc9]
mov dword [ebp - 0x84], eax
lea ecx, [0x10021e78]
lea eax, [0x1001a190]
add eax, 0x29d
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000a120
mov eax, dword [ebp - 0x84]
add esp, 8
lea ecx, [0x10021e78]
sub esp, 4
mov dword [esp], ecx
call eax
mov dword [ebp - 0x80], eax
lea ecx, [0x1002219c]
lea eax, [0x1001a190]
add eax, 0xb38
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1000c2b0
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
add esp, 8
lea ecx, [0x1002219c]
sub esp, 8
mov dword [esp], edx
mov dword [esp + 4], ecx
call eax
mov ecx, dword [ebp - 0x38]
mov edx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov eax, dword [eax]
xor edx, edx
sub esp, 0xc
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call eax
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x10008ea7
jmp 0x10009222