Function at 0x407150
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5523be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 8], ebx
mov dword [esp + 0x18], esi
mov dword [esi + 0xc], ebx
mov dword [esp + 0x2c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea eax, [esi + 0x58]
mov dword [esi + 0x54], vtable.CKRCriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dl, byte [esp + 0x12]
mov al, byte [esp + 0x12]
lea ecx, [esi + 0x70]
mov byte [esp + 0x2c], 6
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00415ca0
mov dl, byte [esp + 0x12]
mov al, byte [esp + 0x12]
lea ecx, [esi + 0x288]
mov byte [esp + 0x2c], 7
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00416400
mov dl, byte [esp + 0x12]
mov al, byte [esp + 0x12]
lea ecx, [esi + 0x298]
mov byte [esp + 0x2c], 8
mov byte [ecx], dl
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.004150d0
lea ebp, [esi + 0x2a8]
lea ecx, [esp + 0x12]
push ecx
lea edx, [esp + 0x17]
lea edi, [ebp + 4]
push ebx
push edx
mov ecx, edi
mov byte [esp + 0x38], 9
mov dword [esp + 0x20], ebp
call fcn.00413770
mov dword [ebp], ebx
mov eax, dword [edi + 4]
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov byte [esp + 0x34], 0xa
call fcn.00549630
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, edi
call fcn.004137a0
mov dword [esi + 0x2c8], ebx
mov al, byte [esp + 0x13]
lea edi, [esi + 0x310]
push ebx
mov byte [esp + 0x30], 0xc
lea ebp, [edi + 8]
mov dword [esp + 0x24], edi
mov ecx, ebp
mov byte [ebp], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dl, byte [esp + 0x13]
lea ecx, [edi + 0x18]
push ebx
mov byte [esp + 0x30], 0xd
mov dword [esp + 0x18], ecx
mov byte [ecx], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x2c], 0xe
mov ecx, dword [eax]
push ecx
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.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__::erase_unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx]
push eax
push ebx
call dword [sym.imp.MSVCP60.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__::erase_unsigned_int__unsigned_int_]
lea edi, [esi + 0x340]
mov dword [esp + 0x20], edi
lea ecx, [edi + 0xc]
mov dword [edi + 8], vtable.CKRCriticalSection.0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dl, byte [esp + 0x13]
lea ebp, [edi + 0x24]
mov byte [ebp], dl
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
lea eax, [esp + 0x13]
lea edx, [esp + 0x12]
lea ecx, [edi + 0x38]
push eax
push edx
mov byte [esp + 0x34], 0x11
mov dword [esp + 0x1c], ecx
call fcn.00412820
mov ecx, ebp
mov byte [esp + 0x2c], 0x12
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x34], ebx
call fcn.00431a80
mov ecx, dword [esp + 0x14]
call fcn.004135e0
lea ecx, [esi + 0x388]
mov byte [esp + 0x2c], 0x13
call fcn.00401ad0
mov eax, 0xbf800000
mov ecx, 0x41
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
xor eax, eax
lea edi, [esi + 0x80]
rep stosd dword es:[edi], eax
mov byte [esp + 0x2c], 0x14
mov ecx, 0x41
lea edi, [esi + 0x184]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 0x338], ebx
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x2e0], 0xffffffff
mov dword [esi + 0x2e4], ebx
mov eax, dword [esi + 0x18]
push eax
call edi
mov ebp, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x5cb08c
call ebp
mov dword [esi + 0x18], eax
mov ecx, dword [esi + 0x1c]
push ecx
call edi
push 0x5cb08c
call ebp
mov dword [esi + 0x1c], eax
mov dword [esi + 0x50], ebx
mov edx, dword [esi + 0x2c8]
push edx
call edi
push 0x5cb08c
call ebp
mov dword [esi + 0x2c8], eax
mov ecx, esi
mov dword [esi + 0x2cc], ebx
mov dword [esi + 0x2d0], 0xffffffff
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2d8], ebx
mov dword [esi + 0x440], ebx
mov dword [esi + 0x2dc], ebx
call fcn.00409340
mov ecx, esi
call fcn.00409640
mov ecx, esi
call fcn.004081f0
mov ecx, esi
call fcn.00407c40
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret