Function at 0x100994f0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10122672
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1014d0cc]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
mov dword [ebp], 0x1012d920
xor ecx, ecx
push ebp
mov eax, 0x10090c00
push ecx
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x70], 0x29
xor ebx, ebx
call fcn.1008b4d0
mov edx, dword [eax]
mov esi, dword [ebp + 0x364]
push ecx
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.1008d0e0
lea edi, [ebp + 0x3d0]
call fcn.10029000
lea edi, [ebp + 0x35c]
push edi
lea ecx, [esp + 0x30]
push ecx
call fcn.1009cd00
lea eax, [ebx + 2]
lea esi, [esp + 0x1c]
mov byte [esp + 0x64], 0x2a
call fcn.1008e930
push eax
lea esi, [esp + 0x30]
call fcn.1009bf20
mov dword [esp + 0x1c], 0x1000f170
mov dword [esp + 0x20], edi
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x20]
lea edi, [esp + 0x38]
call fcn.100a0dc0
mov esi, dword [ebp + 0x1250]
cmp esi, ebx
je 0x100995c7
call fcn.100148a0
call fcn.1010d600
mov eax, dword [esp + 0x2c]
add eax, 0x14
lea esi, [esp + 0x1c]
lea ecx, [esp + 0x34]
call fcn.1009dac0
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x68], 0x29
call fcn.1009bf80
mov esi, dword [ebp + 0x1250]
cmp esi, ebx
je 0x1009960c
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x64], 0x27
mov eax, dword [ebp + 0x1244]
cmp eax, ebx
je 0x10099635
mov edi, dword [ebp + 0x1248]
call fcn.1009da60
mov eax, dword [ebp + 0x1244]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp + 0x1244], ebx
mov dword [ebp + 0x1248], ebx
mov dword [ebp + 0x124c], ebx
mov byte [esp + 0x64], 0x26
mov eax, dword [ebp + 0x1234]
cmp eax, ebx
je 0x1009967a
mov edx, dword [esp + 0x6c]
mov ebx, dword [ebp + 0x1238]
push edx
call fcn.1000b030
mov eax, dword [ebp + 0x1234]
add esp, 4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ebx, ebx
mov dword [ebp + 0x1234], ebx
mov dword [ebp + 0x1238], ebx
mov dword [ebp + 0x123c], ebx
lea ebx, [ebp + 0x11dc]
mov byte [esp + 0x64], 0x25
call fcn.1001c080
mov eax, dword [ebx + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
xor esi, esi
add esp, 4
lea edi, [ebp + 0x11d0]
mov dword [ebx + 4], esi
mov byte [esp + 0x64], 0x24
call fcn.10024310
mov eax, dword [edi + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov dword [edi + 4], esi
mov eax, dword [ebp + 0x11a8]
add esp, 4
cmp eax, esi
je 0x100996df
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp + 0x1160]
push eax
mov dword [ebp + 0x11a8], esi
mov dword [ebp + 0x11ac], esi
mov dword [ebp + 0x11b0], esi
mov byte [esp + 0x68], 0x22
call fcn.10045670
lea eax, [ebp + 0x1138]
push eax
mov byte [esp + 0x68], 0x21
call fcn.10025450
lea eax, [ebp + 0x1108]
push eax
mov byte [esp + 0x68], 0x20
call fcn.10025450
mov byte [esp + 0x64], 0x1f
mov edi, dword [ebp + 0x10f4]
cmp edi, esi
je 0x10099751
mov eax, edi
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10099751
cmp edi, esi
je 0x10099751
push edi
call fcn.1005dd60
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x64], 0x1e
mov edi, dword [ebp + 0x10f0]
cmp edi, esi
je 0x1009977e
mov edx, edi
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x1009977e
cmp edi, esi
je 0x1009977e
push edi
call fcn.100f5730
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0x64], 0x1d
mov edi, dword [ebp + 0x10ec]
cmp edi, esi
je 0x100997ab
mov ecx, edi
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100997ab
cmp edi, esi
je 0x100997ab
push edi
call fcn.10063140
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp + 0x1088]
push eax
mov byte [esp + 0x68], 0x1c
call fcn.10100950
lea ecx, [ebp + 0xd08]
push ecx
mov byte [esp + 0x68], 0x1b
call fcn.100909a0
lea edx, [ebp + 0xb40]
push edx
mov byte [esp + 0x68], 0x1a
call fcn.10042260
mov byte [esp + 0x64], 0x19
mov edi, dword [ebp + 0xb3c]
cmp edi, esi
je 0x10099817
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10099817
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10099817
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
lea eax, [ebp + 0xa84]
push eax
mov byte [esp + 0x68], 0x18
call fcn.100568e0
mov byte [esp + 0x64], 0x17
mov edi, dword [ebp + 0xa7c]
cmp edi, esi
je 0x10099861
lea ecx, [edi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10099861
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10099861
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
lea ebx, [ebp + 0xa6c]
mov byte [esp + 0x64], 0x16
call fcn.1009bb60
mov eax, dword [ebx + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp + 0x9f0]
mov dword [ebx + 4], esi
mov byte [esp + 0x64], 0x15
call fcn.1008b3f0
lea ecx, [ebp + 0x9d8]
push ecx
mov byte [esp + 0x68], 0x14
call fcn.10089e90
lea eax, [ebp + 0x9cc]
mov byte [esp + 0x64], 0x13
call fcn.1009c9e0
lea ebx, [ebp + 0x9c0]
mov byte [esp + 0x64], 0x12
call fcn.1001c080
mov eax, dword [ebx + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp + 0x9b4]
mov dword [ebx + 4], esi
mov byte [esp + 0x64], 0x11
call fcn.1009c780
lea eax, [ebp + 0x9a8]
mov byte [esp + 0x64], 0x10
call fcn.1009c540
lea edx, [ebp + 0x978]
push edx
mov byte [esp + 0x68], 0xf
call fcn.100eda40
mov byte [esp + 0x64], 0xe
mov eax, dword [ebp + 0x8c0]
cmp eax, esi
je 0x10099932
mov ecx, dword [esp + 0x6c]
mov edi, dword [ebp + 0x8c4]
push ecx
call fcn.1001a630
mov eax, dword [ebp + 0x8c0]
add esp, 4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp + 0x8c0], esi
mov dword [ebp + 0x8c4], esi
mov dword [ebp + 0x8c8], esi
mov byte [esp + 0x64], 0xd
mov eax, dword [ebp + 0x8a4]
cmp eax, esi
je 0x10099975
mov edx, dword [esp + 0x6c]
mov edi, dword [ebp + 0x8a8]
push edx
call fcn.1001a630
mov eax, dword [ebp + 0x8a4]
add esp, 4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp + 0x840]
push eax
mov dword [ebp + 0x8a4], esi
mov dword [ebp + 0x8a8], esi
mov dword [ebp + 0x8ac], esi
mov byte [esp + 0x68], 0xc
call fcn.100908c0
lea eax, [ebp + 0x3d0]
push eax
mov byte [esp + 0x68], 0xb
call fcn.10028c60
lea ecx, [ebp + 0x368]
push ecx
mov byte [esp + 0x68], 0xa
call fcn.1000d990
lea eax, [ebp + 0x35c]
push eax
mov byte [esp + 0x68], 9
call fcn.1000f0b0
lea edx, [ebp + 0x344]
mov byte [esp + 0x64], 8
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push edx
call edi
lea eax, [ebp + 0x338]
call fcn.1003ecf0
lea ebx, [ebp + 0x314]
call fcn.1009e4f0
mov eax, dword [ebp + 0x308]
cmp eax, esi
je 0x10099a08
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp + 0x2e8]
push eax
mov dword [ebp + 0x308], esi
mov dword [ebp + 0x30c], esi
mov dword [ebp + 0x310], esi
call fcn.1009e610
lea ecx, [ebp + 0x2cc]
push ecx
call fcn.1009e540
lea edx, [ebp + 0x2b0]
push edx
call fcn.1009e540
lea eax, [ebp + 0x48]
push eax
mov byte [esp + 0x68], 2
call fcn.1008b240
mov ecx, dword [ebp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp + 0x2c]
push edx
call edi
lea eax, [ebp + 0x10]
push eax
call edi
mov dword [esp + 0x64], 0xffffffff
mov ebp, dword [ebp + 0xc]
cmp ebp, esi
je 0x10099a87
lea ecx, [ebp + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10099a87
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4