Function at 0x41d030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467632
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 8], ecx
push esi
push edi
lea ecx, [esp + 0x44]
call fcn.0041fe70
mov ebx, ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov esi, dword [ebp]
mov eax, dword [0x47b910]
cmp esi, eax
mov dword [esp + 0x38], 0
jne 0x41d0a2
mov esi, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], edx
mov eax, dword [ecx + 4]
cmp dword [eax + 4], ebp
jne 0x41d146
mov dword [eax + 4], esi
jmp 0x41d154
mov edi, dword [ebp + 8]
cmp edi, eax
je 0x41d084
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [edi]
mov ecx, dword [0x47b910]
cmp eax, ecx
je 0x41d0c7
mov edi, eax
mov eax, dword [edi]
cmp eax, ecx
jne 0x41d0bf
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov esi, dword [edi + 8]
mov ebx, edi
cmp edi, ebp
mov dword [esp + 0x14], ebx
je 0x41d084
mov eax, dword [ebp]
mov dword [eax + 4], edi
mov ecx, dword [ebp]
mov dword [edi], ecx
mov eax, dword [ebp + 8]
cmp edi, eax
jne 0x41d0f5
mov dword [esi + 4], edi
jmp 0x41d10c
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov eax, dword [edi + 4]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp dword [eax + 4], ebp
jne 0x41d11d
mov dword [eax + 4], edi
jmp 0x41d12b
mov eax, dword [ebp + 4]
cmp dword [eax], ebp
jne 0x41d128
mov dword [eax], edi
jmp 0x41d12b
mov dword [eax + 8], edi
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], ebp
mov dword [edi + 4], eax
mov ecx, dword [ebp + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x2c], ecx
mov dword [ebp + 0x2c], eax
jmp 0x41d1f9
mov eax, dword [ebp + 4]
cmp dword [eax], ebp
jne 0x41d151
mov dword [eax], esi
jmp 0x41d154
mov dword [eax + 8], esi
mov eax, dword [ecx + 4]
cmp dword [eax], ebp
jne 0x41d1a2
mov ecx, dword [ebp + 8]
mov edx, dword [0x47b910]
cmp ecx, edx
jne 0x41d16f
mov edx, dword [ebp + 4]
mov dword [eax], edx
jmp 0x41d1a2
lea ecx, [esp + 0x1c]
mov edi, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [esi]
mov ecx, dword [0x47b910]
cmp eax, ecx
je 0x41d18f
mov edi, eax
mov eax, dword [edi]
cmp eax, ecx
jne 0x41d187
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov dword [eax], edi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp dword [eax + 8], ebp
jne 0x41d1f9
mov edx, dword [ebp]
mov ecx, dword [0x47b910]
cmp edx, ecx
jne 0x41d1c3
mov ecx, dword [ebp + 4]
mov dword [eax + 8], ecx
jmp 0x41d1f9
lea ecx, [esp + 0x1c]
mov edi, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [esi + 8]
mov ecx, dword [0x47b910]
cmp eax, ecx
je 0x41d1e5
mov edi, eax
mov eax, dword [edi + 8]
cmp eax, ecx
jne 0x41d1dc
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov dword [eax + 8], edi
mov ecx, dword [esp + 0x14]
mov ebx, 1
cmp dword [ecx + 0x2c], ebx
jne 0x41d541
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [edx + 4]
cmp esi, dword [eax + 4]
je 0x41d53c
cmp dword [esi + 0x2c], ebx
jne 0x41d53c
mov eax, dword [esi + 4]
cmp esi, dword [eax]
jne 0x41d2c0
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x41d2a4
mov dword [edi + 0x2c], ebx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x2c], 0
mov edi, dword [esi + 4]
lea ecx, [esp + 0x1c]
call ebp
mov eax, dword [edi + 8]
mov edx, dword [eax]
mov dword [edi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x47b910]
je 0x41d26a
mov dword [ecx + 4], edi
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
cmp edi, dword [ecx + 4]
jne 0x41d281
mov dword [ecx + 4], eax
jmp 0x41d28f
mov ecx, dword [edi + 4]
cmp edi, dword [ecx]
jne 0x41d28c
mov dword [ecx], eax
jmp 0x41d28f
mov dword [ecx + 8], eax
mov dword [eax], edi
lea ecx, [esp + 0x1c]
mov dword [edi + 4], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esi + 4]
mov edi, dword [eax + 8]
mov ecx, dword [edi]
cmp dword [ecx + 0x2c], ebx
jne 0x41d368
mov edx, dword [edi + 8]
cmp dword [edx + 0x2c], ebx
jne 0x41d368
jmp 0x41d346
mov edi, dword [eax]
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x41d32f
mov dword [edi + 0x2c], ebx
mov eax, dword [esi + 4]
lea ecx, [esp + 0x20]
mov dword [eax + 0x2c], 0
mov edi, dword [esi + 4]
call ebp
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov ecx, dword [eax + 8]
cmp ecx, dword [0x47b910]
je 0x41d2f4
mov dword [ecx + 4], edi
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
cmp edi, dword [ecx + 4]
jne 0x41d30b
mov dword [ecx + 4], eax
jmp 0x41d31a
mov ecx, dword [edi + 4]
cmp edi, dword [ecx + 8]
jne 0x41d318
mov dword [ecx + 8], eax
jmp 0x41d31a
mov dword [ecx], eax
mov dword [eax + 8], edi
lea ecx, [esp + 0x20]
mov dword [edi + 4], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esi + 4]
mov edi, dword [eax]
mov edx, dword [edi + 8]
cmp dword [edx + 0x2c], ebx
jne 0x41d46c
mov eax, dword [edi]
cmp dword [eax + 0x2c], ebx
jne 0x41d46c
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x2c], 0
mov esi, dword [esi + 4]
mov edx, dword [ecx + 4]
cmp esi, dword [edx + 4]
jne 0x41d221
mov dword [esi + 0x2c], ebx
jmp 0x41d547
mov eax, dword [edi + 8]
cmp dword [eax + 0x2c], ebx
jne 0x41d3d3
mov ecx, dword [edi]
mov dword [ecx + 0x2c], ebx
lea ecx, [esp + 0x20]
mov dword [edi + 0x2c], 0
call ebp
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov dword [edi], edx
mov ecx, dword [eax + 8]
cmp ecx, dword [0x47b910]
je 0x41d397
mov dword [ecx + 4], edi
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
cmp edi, dword [ecx + 4]
jne 0x41d3ae
mov dword [ecx + 4], eax
jmp 0x41d3bd
mov ecx, dword [edi + 4]
cmp edi, dword [ecx + 8]
jne 0x41d3bb
mov dword [ecx + 8], eax
jmp 0x41d3bd
mov dword [ecx], eax
mov dword [eax + 8], edi
lea ecx, [esp + 0x20]
mov dword [edi + 4], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esi + 4]
mov edi, dword [eax + 8]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x2c]
mov dword [edi + 0x2c], edx
mov eax, dword [esi + 4]
mov dword [eax + 0x2c], ebx
mov ecx, dword [edi + 8]
mov dword [ecx + 0x2c], ebx
mov edi, dword [esi + 4]
lea ecx, [esp + 0x20]
call ebp
mov eax, dword [edi + 8]
mov edx, dword [eax]
mov dword [edi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x47b910]
je 0x41d406
mov dword [ecx + 4], edi
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
cmp edi, dword [ecx + 4]
jne 0x41d432
mov dword [ecx + 4], eax
mov dword [eax], edi
lea ecx, [esp + 0x20]
mov dword [edi + 4], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov dword [esi + 0x2c], ebx
jmp 0x41d547
mov ecx, dword [edi + 4]
cmp edi, dword [ecx]
jne 0x41d452
mov dword [ecx], eax
mov dword [eax], edi
lea ecx, [esp + 0x20]
mov dword [edi + 4], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov dword [esi + 0x2c], ebx
jmp 0x41d547
mov dword [ecx + 8], eax
mov dword [eax], edi
lea ecx, [esp + 0x20]
mov dword [edi + 4], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov dword [esi + 0x2c], ebx
jmp 0x41d547
mov eax, dword [edi]
cmp dword [eax + 0x2c], ebx
jne 0x41d4d4
mov ecx, dword [edi + 8]
mov dword [ecx + 0x2c], ebx
lea ecx, [esp + 0x20]
mov dword [edi + 0x2c], 0
call ebp
mov eax, dword [edi + 8]
mov edx, dword [eax]
mov dword [edi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x47b910]
je 0x41d49b
mov dword [ecx + 4], edi
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
cmp edi, dword [ecx + 4]
jne 0x41d4b2
mov dword [ecx + 4], eax
jmp 0x41d4c0
mov ecx, dword [edi + 4]
cmp edi, dword [ecx]
jne 0x41d4bd
mov dword [ecx], eax
jmp 0x41d4c0
mov dword [ecx + 8], eax
mov dword [eax], edi
lea ecx, [esp + 0x20]
mov dword [edi + 4], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esi + 4]
mov edi, dword [eax]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x2c]
mov dword [edi + 0x2c], ecx
mov edx, dword [esi + 4]
lea ecx, [esp + 0x20]
mov dword [edx + 0x2c], ebx
mov eax, dword [edi]
mov dword [eax + 0x2c], ebx
mov edi, dword [esi + 4]
call ebp
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov ecx, dword [eax + 8]
cmp ecx, dword [0x47b910]
je 0x41d506
mov dword [ecx + 4], edi
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
cmp edi, dword [ecx + 4]
jne 0x41d51d
mov dword [ecx + 4], eax
jmp 0x41d52c
mov ecx, dword [edi + 4]
cmp edi, dword [ecx + 8]
jne 0x41d52a
mov dword [ecx + 8], eax
jmp 0x41d52c
mov dword [ecx], eax
mov dword [eax + 8], edi
lea ecx, [esp + 0x20]
mov dword [edi + 4], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov dword [esi + 0x2c], ebx
jmp 0x41d547
mov ebp, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov edx, dword [esp + 0x14]
lea edi, [edx + 0xc]
mov dword [esp + 0x28], edi
mov eax, dword [edi + 0x14]
lea esi, [edi + 0x10]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
call fcn.0040f2d0
mov eax, dword [esi + 4]
push eax
call fcn.0040e870
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x1c]
push eax
call fcn.0040f2d0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, esi
call fcn.00401120
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
xor eax, eax
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
call ebp
mov eax, dword [0x47b5dc]
dec eax
mov dword [0x47b5dc], eax
jne 0x41d5d4
mov ecx, dword [0x47b5d8]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
xor esi, esi
mov dword [0x47b5d8], esi
jmp 0x41d5d6
xor esi, esi
mov ebx, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [esp + 0x20]
call ebx
mov eax, dword [edi + 4]
cmp eax, esi
je 0x41d606
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41d5fd
cmp al, 0xff
je 0x41d5fd
dec al
mov byte [ecx], al
jmp 0x41d606
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [edi + 4], esi
push edx
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [eax + 0xc]
dec ecx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x24]
mov dword [esi], eax
call ebx
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8