Function at 0x4ddfb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d4212
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
call fcn.004b6ca0
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x178], ebx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push eax
mov eax, dword [edi]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004d82b0
cmp eax, ebx
jne 0x4de24d
mov ecx, esi
call fcn.004e3060
test al, al
je 0x4de020
lea ecx, [esp + 0x30]
push ecx
push 2
jmp 0x4de253
mov dword [esp + 0x98], 0x5e7a90
mov dword [esp + 0x130], ebx
lea ecx, [esp + 0x70]
mov byte [esp + 0x178], 1
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0x408f4000
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0x408f4000
mov dword [esp + 0x160], 0x47ae147b
mov dword [esp + 0x164], 0x3f847ae1
mov dword [esp + 0x168], 0xeb1c432d
mov dword [esp + 0x16c], 0x3f1a36e2
call fcn.004ccd50
mov edx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x18], eax
fld qword [esp + 0x14]
fadd qword [ebp + 0x14]
sub esp, 8
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x180], 2
fstp qword [esp]
fld qword [esp + 0x14]
fadd qword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x90]
call fcn.004b8890
lea ecx, [esp + 0x50]
call fcn.004b6ca0
mov eax, dword [esi + 0x314]
mov edi, 2
mov byte [esp + 0x178], 3
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x318]
mov dword [esp + 0x68], ecx
cmp eax, edi
mov dword [esp + 0x6c], edx
jle 0x4de199
mov eax, dword [esi + 0x314]
lea ecx, [esp + 0x50]
fld qword [eax + edi*8]
fstp qword [esp + 0x50]
fld qword [eax + edi*8 + 8]
lea eax, [esp + 0x70]
fstp qword [esp + 0x60]
push eax
push ecx
lea ecx, [esp + 0xa0]
call fcn.004b9130
test eax, eax
jne 0x4de199
mov eax, dword [esi + 0x318]
add edi, 2
cmp edi, eax
jl 0x4de15d
cmp edi, dword [esi + 0x318]
jne 0x4de204
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 2
call fcn.0042bd50
lea ecx, [esp + 0x70]
mov byte [esp + 0x178], 1
call fcn.0042bd50
lea ecx, [esp + 0x98]
mov byte [esp + 0x178], 0
call fcn.004b90a0
lea ecx, [esp + 0x30]
mov dword [esp + 0x178], 0xffffffff
call fcn.0042bd50
xor al, al
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov ebx, dword [ebp + 0x24]
lea edx, [esp + 0x30]
push edx
push edi
push ebx
mov ecx, esi
call fcn.004d88c0
lea ecx, [esp + 0x50]
mov byte [esp + 0x178], 2
call fcn.0042bd50
lea ecx, [esp + 0x70]
mov byte [esp + 0x178], 1
call fcn.0042bd50
lea ecx, [esp + 0x98]
mov byte [esp + 0x178], 0
call fcn.004b90a0
jmp 0x4de25e
lea ecx, [esp + 0x30]
push ecx
push eax
mov ebx, dword [ebp + 0x24]
mov ecx, esi
push ebx
call fcn.004d88c0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push 1
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
lea edi, [esi + 0x338]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0050c5e0
xor eax, eax
mov dword [esp + 0x1c], 0x5e2824
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x178], 4
push ecx
mov ecx, edi
call fcn.0050b020
push eax
mov ecx, esi
call fcn.004dc010
mov esi, dword [ebp + 0x28]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0047f4c0
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push esi
push edx
mov edx, dword [ebp + 0x18]
push edi
push ebx
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
call fcn.00556d70
mov edx, dword [esi + 8]
add esp, 0x28
test edx, edx
setg bl
mov dword [esp + 0x1c], 0x5e2824
mov eax, dword [esp + 0x20]
mov byte [esp + 0x178], 5
test eax, eax
je 0x4de32a
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0x5e262c
mov dword [esp + 0x178], 0xffffffff
call fcn.0042bd50
mov ecx, dword [esp + 0x170]
pop edi
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24