Function at 0x49fbd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ef758
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x1c]
call fcn.0048b830
mov dword [esp + 0x30], 0
mov eax, edi
call fcn.004a0460
test al, al
jne 0x49fd89
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x49fd89
mov ecx, dword [edi + 0x45c]
test ecx, ecx
je 0x49fd4d
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
sub esi, dword [edi + 0x458]
mov ecx, ebx
call edx
cmp eax, esi
jae 0x49fc66
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov ecx, ebx
call edx
mov esi, eax
jmp 0x49fc7b
mov ecx, dword [edi + 0x45c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov esi, eax
sub esi, dword [edi + 0x458]
mov ecx, dword [edi + 0x45c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push esi
call edx
add eax, dword [edi + 0x458]
mov ecx, ebx
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
call edx
push eax
call sub.MSVCR90.dll_memcpy
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
add esp, 0xc
push esi
mov ecx, ebx
call edx
mov ecx, dword [edi + 0x45c]
add dword [edi + 0x458], esi
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
cmp dword [edi + 0x458], eax
jb 0x49fce3
mov eax, dword [edi + 0x45c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov dword [edi + 0x45c], eax
mov dword [edi + 0x458], eax
lea esi, [esp + 0x1c]
call fcn.0048b8a0
push 0x20
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 3
test eax, eax
je 0x49fd15
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp + 8]
push ebx
push ecx
push eax
xor ecx, ecx
call fcn.004a6fa0
jmp 0x49fd17
xor eax, eax
mov byte [esp + 0x30], 0
mov ecx, eax
lea eax, [esp + 0x14]
call fcn.0049ed10
mov byte [esp + 0x30], 4
call fcn.00429130
mov esi, eax
mov edi, dword [esi]
push 0
lea eax, [esp + 0x18]
call fcn.0044d900
mov edx, dword [edi + 0xc]
push eax
mov ecx, esi
call edx
jmp 0x49fdf4
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.0049ebc0
mov byte [esp + 0x30], 5
call fcn.0044d900
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push ecx
mov ecx, eax
call edx
mov byte [esp + 0x30], 0
lea eax, [esp + 0x14]
push eax
call fcn.0049d760
jmp 0x49fe02
lea esi, [esp + 0x1c]
call fcn.0048b8a0
push 0x20
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x30], 1
test eax, eax
je 0x49fdc1
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 0x10]
push ecx
push edx
mov edx, dword [ebp + 8]
push eax
mov ecx, 0xe1040006
call fcn.004a6fa0
jmp 0x49fdc3
xor eax, eax
mov byte [esp + 0x30], 0
mov ecx, eax
lea eax, [esp + 0x14]
call fcn.0049ed10
mov byte [esp + 0x30], 2
call fcn.00429130
mov esi, eax
mov edi, dword [esi]
push 0
lea eax, [esp + 0x18]
call fcn.0044d900
push eax
mov eax, dword [edi + 0xc]
mov ecx, esi
call eax
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x14]
call fcn.0049ed20
mov dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x1c]
call fcn.0048b850
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8