Function at 0x494ca0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4aecb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
push fcn.00499850
lea edi, [esi + 0x14]
push 0x499820
push 0x10
push 0x5c0
lea eax, [edi + 0x28]
mov dword [esp + 0x34], esi
push eax
mov dword [esp + 0x30], edi
call fcn.004a2b32
lea edx, [esp + 0x11]
xor ebx, ebx
push edx
lea eax, [esp + 0x16]
push ebx
lea ecx, [edi + 0x5c28]
push eax
mov dword [esp + 0x3c], ebx
call fcn.00499b90
lea edx, [esp + 0x13]
lea eax, [esp + 0x14]
push edx
push ebx
lea ecx, [edi + 0x5c38]
push eax
mov byte [esp + 0x3c], 1
call fcn.00499c90
lea edx, [esp + 0x15]
lea eax, [esp + 0x16]
push edx
push ebx
lea ecx, [edi + 0x5c48]
push eax
mov byte [esp + 0x3c], 2
call fcn.00499d90
lea ecx, [esp + 0x17]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [edi + 0x5c58]
mov byte [esp + 0x38], 3
call fcn.00499350
lea eax, [esp + 0x19]
lea ecx, [esp + 0x1a]
push eax
push ecx
lea ecx, [edi + 0x5c68]
mov byte [esp + 0x38], 4
call fcn.0047be00
lea edx, [esp + 0x1b]
lea ecx, [edi + 0x5c78]
push edx
mov byte [esp + 0x34], 5
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
mov ecx, edi
mov byte [esp + 0x30], 6
call fcn.0049d460
lea ecx, [esi + 0x5cb0]
mov dword [esp + 0x30], 7
call fcn.00461450
mov al, byte [esp + 0x1b]
mov dl, byte [esp + 0x1b]
lea ecx, [esi + 0x5d78]
mov byte [ecx], al
mov byte [ecx + 1], dl
mov byte [ecx + 8], bl
call fcn.0049b5c0
mov al, byte [esp + 0x1b]
mov dl, byte [esp + 0x1b]
lea ecx, [esi + 0x5d88]
mov byte [esp + 0x30], 8
mov byte [ecx], al
mov byte [ecx + 1], dl
mov byte [ecx + 8], bl
call fcn.0049a200
mov cl, byte [esp + 0x1b]
mov al, byte [esp + 0x1b]
lea ebp, [esi + 0x5d98]
push 1
push ebx
mov byte [esp + 0x38], 9
mov byte [ebp + 1], cl
mov ecx, ebp
mov byte [ebp], al
mov byte [ebp + 8], bl
call fcn.0049f950
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x4d3548], ebx
jne 0x494e2d
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [0x4d3548], eax
mov dword [eax], ebx
mov edx, dword [0x4d3548]
mov dword [edx + 8], ebx
mov edx, dword [0x4d3544]
lea ecx, [esp + 0x20]
inc edx
mov dword [0x4d3544], edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x494e55
push eax
call fcn.00442ac0
add esp, 4
mov eax, dword [0x4d3548]
push ebx
push eax
mov ecx, ebp
call fcn.0049f950
mov dword [ebp + 4], eax
mov dword [ebp + 0xc], ebx
mov dword [eax], eax
mov ebp, dword [ebp + 4]
mov dword [ebp + 8], ebp
or eax, 0xffffffff
mov dword [esi + 0x5ca8], ebx
mov dword [esi], 0x4b22c8
mov dword [esi + 8], ebx
mov dword [esi + 0x5d44], ebx
mov dword [esi + 0x5cac], ebx
mov dword [esi + 0xc], 5
mov dword [esi + 0x5d40], ebx
mov dword [esi + 0x5d48], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x5ca0], ebx
mov dword [esi + 0x5d4c], ebx
mov dword [esi + 0x5d50], ebx
mov dword [esi + 0x5d58], eax
mov dword [esi + 0x5d54], eax
mov dword [esi + 0x5d5c], eax
mov dword [esi + 0x5d60], eax
mov dword [esi + 0x5d64], eax
mov dword [esi + 0x5d68], eax
mov ecx, dword [0x4d37a4]
mov edx, dword [0x4d37a0]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x38], 0xa
call fcn.0049da80
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x5d70], ebx
mov dword [esi + 0x5d74], 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret