Function at 0x4dac40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a25ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
mov ebx, ecx
push edi
mov eax, dword [esi]
mov dword [esp + 0x18], ebx
mov dword [ebx], eax
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov edx, dword [esi + 8]
mov dword [ebx + 8], edx
mov al, byte [esi + 0xc]
mov byte [ebx + 0xc], al
mov cl, byte [esi + 0xd]
mov byte [ebx + 0xd], cl
mov dl, byte [esi + 0xe]
mov byte [ebx + 0xe], dl
lea edi, [ebx + 0x10]
xor edx, edx
mov dword [esp + 0x1c], edi
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 8], edx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x14], eax
sub eax, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], ecx
lea ebp, [eax + 1]
mov dword [esp + 0x10], eax
cmp ebp, 0xfffffffe
ja 0x4dace0
cmp ebp, edx
jne 0x4daccb
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov eax, ebp
mov dword [edi + 8], eax
jmp 0x4dace7
push ebp
call fcn.00402bf0
add esp, 4
mov dword [edi], eax
mov dword [edi + 4], eax
add eax, ebp
mov dword [edi + 8], eax
jmp 0x4dace7
mov ecx, edi
call fcn.004030f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov ebp, dword [edi]
push eax
push ecx
push ebp
call fcn.005092a0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
sub ebp, ecx
add esp, 0xc
add ebp, eax
mov ecx, edi
mov dword [edi + 4], ebp
call fcn.00402a70
lea edi, [ebx + 0x1c]
xor edx, edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x1c], edi
mov dword [edi], edx
mov dword [edi + 4], edx
mov dword [edi + 8], edx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x10], eax
sub eax, ecx
mov byte [esp + 0x28], 2
mov dword [esp + 0x30], ecx
lea ebp, [eax + 1]
mov dword [esp + 0x14], eax
cmp ebp, 0xfffffffe
ja 0x4dad73
cmp ebp, edx
jne 0x4dad5e
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov eax, ebp
mov dword [edi + 8], eax
jmp 0x4dad7a
push ebp
call fcn.00402bf0
add esp, 4
mov dword [edi], eax
mov dword [edi + 4], eax
add eax, ebp
mov dword [edi + 8], eax
jmp 0x4dad7a
mov ecx, edi
call fcn.004030f0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ebp, dword [edi]
push edx
push eax
push ebp
call fcn.005092a0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
sub ebp, ecx
add esp, 0xc
add ebp, eax
mov ecx, edi
mov dword [edi + 4], ebp
call fcn.00402a70
lea edi, [ebx + 0x28]
xor eax, eax
mov dword [esp + 0x1c], edi
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ebp, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov esi, ebp
mov byte [esp + 0x28], 4
sub esi, ecx
mov dword [esp + 0x30], ecx
inc esi
cmp esi, 0xfffffffe
ja 0x4dade8
cmp esi, eax
je 0x4daddc
push esi
call fcn.00402bf0
add esp, 4
mov dword [edi], eax
mov dword [edi + 4], eax
add eax, esi
mov dword [edi + 8], eax
jmp 0x4dadef
mov ecx, edi
call fcn.004030f0
mov ecx, dword [edi]
mov edx, dword [esp + 0x30]
push ecx
push ebp
push edx
call fcn.004da860
add esp, 0xc
mov ecx, edi
mov dword [edi + 4], eax
call fcn.00402a70
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4