Function at 0x102cca9
Capabilities:
Create thread

Disassembly:
mov eax, 0x1033790
call fcn.01025710
sub esp, 0x10c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
push 0x1010278
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0
push 0x400000
push 0xb1
mov ebx, 0x100fe54
push ebx
mov esi, 0x100fdc8
push esi
call fcn.0101170a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.01011772
mov dword [ebp - 4], 1
push 0x100d7c4
push dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__]
pop ecx
pop ecx
test al, al
jne 0x102cfdd
lea eax, [edi + 4]
mov dword [ebp - 0x38], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
cmp dword [edi + 0x1c], 0
jne 0x102cd37
mov dword [edi + 0x1c], 1
mov ecx, dword [edi + 0x40]
cmp ecx, dword [edi + 0x44]
jae 0x102cffa
cmp dword [edi + 0x1c], 1
jne 0x102cffa
mov eax, ecx
imul eax, eax, 0xcc
add eax, dword [edi + 0x48]
mov dword [ebp - 0x3c], eax
inc ecx
mov dword [edi + 0x40], ecx
mov dword [eax], edi
add eax, 8
push eax
push 0x100fd7c
push 1
push 0
push 0x100fd6c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], eax
test eax, eax
jge 0x102ce10
push 1
push 0
mov edi, 0x400000
push edi
push 0xd6
push ebx
push esi
lea ecx, [ebp - 0x80]
call fcn.0101170a
mov byte [ebp - 4], 3
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x84], esp
push dword [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.0101231a
mov byte [ebp - 4], 3
push 0x1778
lea eax, [ebp - 0x34]
push eax
call fcn.01011f26
add esp, 0x4c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.0101174b
push dword [ebp - 0x34]
push 0x1010220
push dword [ebp - 0x34]
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0
push edi
push 0xd9
push ebx
push esi
call fcn.0101170a
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.01011923
add esp, 0x50
push 0xb
pop ecx
xor eax, eax
lea edi, [ebp - 0xb4]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xb4], 1
mov edi, dword [ebp - 0x3c]
lea eax, [edi + 0x28]
push 0xa0
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x30
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov eax, dword [ebp - 0x14]
push dword [eax + 0x40]
push 0x100279c
lea eax, [edi + 0x28]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [edi + eax*2 + 0x28]
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
push 0x5c
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x102ce8c
add dword [ebp - 0xb8], 2
mov eax, dword [edi + 8]
mov edx, dword [eax]
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [edi + 0x28]
push ecx
push dword [ebp - 0xb8]
push eax
call dword [edx + 0x2c]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x34], eax
test eax, eax
jge 0x102cf49
push 1
push 0
push 0x400000
push 0xf5
push ebx
push esi
lea ecx, [ebp - 0xfc]
call fcn.0101170a
mov byte [ebp - 4], 6
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x100], esp
push dword [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.0101231a
mov byte [ebp - 4], 6
push 0x1778
lea eax, [ebp - 0x34]
push eax
call fcn.01011f26
add esp, 0x4c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xfc]
call fcn.0101174b
push dword [ebp - 0x34]
push 0x1010220
push dword [ebp - 0x34]
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x104], esp
push 0
push 0x400000
push 0xf8
push ebx
push esi
call fcn.0101170a
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.01011923
add esp, 0x50
mov dword [edi + 0x24], 1
push dword [ebp + 8]
lea ecx, [edi + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
xor eax, eax
push eax
push eax
push edi
push 0x102cca4
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
test eax, eax
jne 0x102cfcd
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x102cf85
call edi
jmp 0x102cf91
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x34], eax
push 0x1010204
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x10c], esp
push 0
push 0x400000
push 0x107
push ebx
push esi
call fcn.0101170a
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push eax
call fcn.01026e93
add esp, 0x48
mov dword [ebp - 4], 1
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.01011818
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
lea ecx, [ebp - 0x118]
call dword [sym.imp.msvcrt.dll_public:_void___thiscall_exception::constructor_void_]
push 0x1038e10
lea eax, [ebp - 0x118]
push eax
jmp 0x102d02c
call sub.msvcrt.dll__CxxThrowException
int3