Function at 0x100fa7b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10117969
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1014d0cc]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
xor eax, eax
mov ebp, eax
sub esp, 0x14
mov eax, esp
mov dword [eax], ebx
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebp
mov dword [esp + 0x54], ecx
mov dword [eax + 0x10], edi
lea edx, [esp + 0x50]
mov ecx, 0x1014d440
mov eax, 0x1014d3e8
mov dword [esp + 0x50], esi
call fcn.100dfde0
add esp, 0x14
push str.UPnP_mapping_error
lea ecx, [esp + 0x64]
mov edi, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, esi
cdq
push edx
push eax
lea edx, [esp + 0x4c]
xor ebx, ebx
push edx
mov dword [esp + 0x94], ebx
call fcn.100399f0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x40], ecx
mov dl, byte [eax + 0x14]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x3c], dl
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
cmp edi, 0x1014d440
je 0x100fa8c3
cmp dword [edi], esi
jne 0x100fa8c3
push 0x101292b8
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ecx, dword [edi + 4]
push ecx
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov edi, dword [esp + 0x14]
cmp byte [edi + 4], bl
je 0x100fa8d8
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [edi + 4], bl
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x1014e21c
push ebx
sub esp, 0x1c
mov eax, esp
mov dword [eax], ebx
xor ecx, ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x18], ebx
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x38], esp
push eax
add ecx, 0x28
call fcn.10062750
cmp byte [edi + 4], bl
jne 0x100fa92f
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [edi + 4], 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x88], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1010defb
add esp, 0x7c
ret 8