Function at 0x5d2740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f1f66
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x638190]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push esi
push eax
push ecx
push edx
call fcn.005d16f0
mov ecx, dword [esp + 0x7c]
add esp, 0x10
mov ebx, eax
push esi
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x1c], ebx
call fcn.0057a410
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call fcn.005d16f0
add esp, 0x10
push fcn.00440ab0
push fcn.00501a20
push 2
mov edi, eax
push 8
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x78], edi
call fcn.005c3e4c
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x2c], ecx
mov edx, dword [ebx + 0x10]
lea esi, [ebx + 0xc]
mov dword [esp + 0x30], edx
mov eax, dword [ebx + 4]
add ebx, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], ecx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x24], edx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x28], eax
mov ecx, dword [edi + 4]
add edi, 4
mov dword [esp + 0x34], ecx
mov edx, dword [edi + 4]
mov dword [esp + 0x38], edx
mov eax, dword [esi]
mov dword [esp + 0x5c], 0
cmp eax, dword [edi]
jne 0x5d2847
mov eax, dword [esi + 4]
cmp eax, dword [edi + 4]
jne 0x5d2847
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x5c], 1
test eax, eax
je 0x5d2a11
push esi
push esi
mov ecx, eax
call fcn.0050a7c0
jmp 0x5d2a13
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
call fcn.0050b4a0
test eax, eax
je 0x5d2892
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x5c], 2
test eax, eax
je 0x5d2a11
lea ecx, [esp + 0x44]
push ecx
mov edx, ecx
push edx
mov ecx, eax
call fcn.0050a7c0
jmp 0x5d2a13
mov ecx, dword [esp + 0x64]
push 0
lea eax, [esp + 0x20]
push eax
call fcn.0050ac40
test eax, eax
je 0x5d28cf
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x5c], 3
test eax, eax
je 0x5d2a11
push ebx
push ebx
mov ecx, eax
call fcn.0050a7c0
jmp 0x5d2a13
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0050ac40
test eax, eax
je 0x5d2913
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x5c], 4
test eax, eax
je 0x5d2a11
mov edx, dword [esp + 0x64]
add edx, 0xc
push edx
push edx
mov ecx, eax
call fcn.0050a7c0
jmp 0x5d2a13
mov ecx, dword [esp + 0x64]
push 0
lea edx, [esp + 0x30]
push edx
call fcn.0050ac40
test eax, eax
je 0x5d293f
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x5c], 5
jmp 0x5d2831
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x38]
push eax
call fcn.0050ac40
test eax, eax
je 0x5d297c
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x5c], 6
test eax, eax
je 0x5d2a11
push edi
push edi
mov ecx, eax
call fcn.0050a7c0
jmp 0x5d2a13
mov eax, dword [esp + 0x64]
add eax, 0xc
push eax
push ebx
call fcn.0050a770
add esp, 8
test eax, eax
je 0x5d29c8
push edi
push esi
call fcn.00514580
add esp, 8
test eax, eax
je 0x5d29c8
push 0x1c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x5c], 7
test eax, eax
je 0x5d2a11
mov ecx, dword [esp + 0x64]
add ecx, 0xc
push ecx
push ebx
mov ecx, eax
call fcn.0050a7c0
jmp 0x5d2a13
mov ecx, ebp
call fcn.0050b3f0
fcomp qword [0x5f3dd0]
push 0x1c
fnstsw ax
test ah, 0x41
jp 0x5d29f1
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x5c], 8
jmp 0x5d29b2
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x5c], 9
test eax, eax
je 0x5d2a11
push edi
push esi
mov ecx, eax
call fcn.0050a7c0
jmp 0x5d2a13
xor eax, eax
mov edi, dword [esp + 0x14]
mov ecx, edi
mov byte [esp + 0x5c], 0
mov esi, eax
call fcn.0050ad90
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov edi, dword [esp + 0x68]
add esp, 4
mov ecx, edi
call fcn.0050ad90
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
push fcn.00440ab0
push 2
push 8
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x6c], 0xffffffff
call fcn.005c3de9
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret