Function at 0x1003691c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x2c
call fcn.10157203
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov dword [ebx], 0x101a6a00
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push dword [ebp + 0x10]
call fcn.1000f0d4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x80000006
jne 0x100369ba
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
call fcn.1001a8ac
push reloc.OLEAUT32.dll_SysStringLen
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x9dc
call fcn.10158ca0
add esp, 0x10
mov dword [ebp - 0xc], eax
jmp 0x100369e9
cmp dword [ebp - 4], 0x80000301
jne 0x100369d7
push dword [ebp + 0x10]
call fcn.10001c8c
mov dword [ebp - 0xc], eax
jmp 0x100369e9
push 0
push dword [ebp + 8]
call fcn.10001208
jmp 0x10036c8f
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
push 2
push dword [ebp + 0x10]
call fcn.10002624
test eax, eax
je 0x10036a4d
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
jmp 0x10036b93
fild dword [ebp + 0x10]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x101a6450]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.1000121c
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call fcn.1000f0d4
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call fcn.10001c8c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
cmp dword [ebp - 4], 0x80000601
jne 0x10036aef
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x101a6bf4]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.1000121c
push eax
call fcn.10001c8c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
jmp 0x10036b93
cmp dword [ebp - 4], 0x80000401
jne 0x10036b41
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x101a6bf4]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.1000121c
push eax
call fcn.10001c8c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
jmp 0x10036b93
cmp dword [ebp - 4], 0x80000003
jne 0x10036b93
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x101a6bf4]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.1000121c
push eax
call fcn.10001c8c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
jmp 0x10036b93
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x14], eax
push reloc.OLEAUT32.dll_SysStringLen
push 0
push 0x10036f18
push 1
mov ebx, 0x9dc
call fcn.10158ca0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x1c]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10036c06
push 0x4d4
push 0x42aa273
push 6
call fcn.101571f7
add esp, 0xc
mov dword [ebp - 0x18], eax
push 3
push dword [ebp + 0x10]
call fcn.10002624
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10036c51
fild dword [ebp + 0x10]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x101a6a98]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.1000121c
push eax
call fcn.10001c8c
mov dword [ebp - 0x30], eax
push dword [ebp - 0x18]
push dword [ebp - 0x30]
call fcn.100055dc
cmp dword [ebp - 0x18], 0
jne 0x10036c7a
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
cmp dword [ebp - 0x18], 0
mov eax, 0
setne al
push eax
push dword [ebp + 8]
call fcn.10001208
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.1015720f
add esp, 4
mov esp, ebp
pop ebp
ret 0xc