Function at 0x4cdea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x803f96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, ecx
mov al, byte [esi]
xor ebp, ebp
mov byte [edi], al
mov cl, byte [esi + 1]
mov byte [edi + 1], cl
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov cl, byte [esi + 0x10]
mov byte [edi + 0x10], cl
mov edx, dword [esi + 0x14]
mov dword [edi + 0x14], edx
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov cl, byte [esi + 0x1c]
lea eax, [esi + 0x20]
mov byte [edi + 0x1c], cl
lea ecx, [edi + 0x20]
push 0xffffffffffffffff
mov dl, byte [eax]
push ebp
push eax
mov dword [esp + 0x20], edi
mov byte [ecx], dl
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
call fcn.00402e90
mov dl, byte [esi + 0x30]
lea eax, [esi + 0x30]
lea ecx, [edi + 0x30]
push 0xffffffffffffffff
push ebp
push eax
mov dword [esp + 0x30], ebp
mov byte [ecx], dl
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
call fcn.00402e90
mov al, byte [esi + 0x40]
mov byte [esp + 0x24], 1
mov byte [edi + 0x40], al
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x44], ecx
mov dl, byte [esi + 0x48]
mov byte [edi + 0x48], dl
mov al, byte [esi + 0x49]
mov byte [edi + 0x49], al
mov ecx, dword [esi + 0x50]
mov dword [edi + 0x50], ecx
mov edx, dword [esi + 0x54]
mov dword [edi + 0x54], edx
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov cl, byte [esi + 0x5c]
mov byte [edi + 0x5c], cl
mov edx, dword [esi + 0x60]
mov dword [edi + 0x60], edx
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov ecx, dword [esi + 0x68]
mov dword [edi + 0x68], ecx
mov dl, byte [esi + 0x6c]
mov byte [edi + 0x6c], dl
mov eax, dword [esi + 0x70]
mov dword [edi + 0x70], eax
mov ecx, dword [esi + 0x74]
mov dword [edi + 0x74], ecx
mov edx, dword [esi + 0x78]
mov dword [edi + 0x78], edx
mov al, byte [esi + 0x7c]
mov byte [edi + 0x7c], al
mov cl, byte [esi + 0x80]
mov byte [edi + 0x80], cl
mov eax, dword [esi + 0x84]
cmp eax, ebp
jne 0x4cdfb2
xor edx, edx
jmp 0x4cdfcd
mov ecx, dword [esi + 0x88]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ebp
mov eax, edx
jge 0x4cdfd5
xor eax, eax
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 2
push ecx
call fcn.007d7320
mov dword [edi + 0x84], eax
mov ecx, dword [esi + 0x88]
mov ebx, dword [esi + 0x84]
add esp, 4
mov ebp, eax
cmp ebx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ebp
je 0x4ce031
mov dword [esp + 0x18], ebp
test ebp, ebp
mov byte [esp + 0x24], 2
je 0x4ce023
push ebx
mov ecx, ebp
call fcn.004cf3b0
mov ecx, dword [esp + 0x2c]
add ebx, 0x1c
add ebp, 0x1c
cmp ebx, ecx
mov dword [esp + 0x10], ebp
jne 0x4ce00a
mov dword [edi + 0x88], ebp
mov dword [edi + 0x8c], ebp
mov dl, byte [esi + 0x90]
mov byte [esp + 0x24], 3
mov byte [edi + 0x90], dl
mov al, byte [esi + 0x94]
mov byte [edi + 0x94], al
mov ecx, dword [esi + 0x98]
test ecx, ecx
jne 0x4ce068
xor eax, eax
jmp 0x4ce073
mov eax, dword [esi + 0x9c]
sub eax, ecx
sar eax, 5
test eax, eax
jge 0x4ce079
xor eax, eax
shl eax, 5
push eax
call fcn.007d7320
mov dword [edi + 0x98], eax
mov ebx, dword [esi + 0x9c]
mov esi, dword [esi + 0x98]
add esp, 4
mov ebp, eax
cmp esi, ebx
mov dword [esp + 0x2c], ebp
je 0x4ce0c9
mov dword [esp + 0x18], ebp
test ebp, ebp
mov byte [esp + 0x24], 4
je 0x4ce0b6
push esi
mov ecx, ebp
call fcn.004cf500
add esi, 0x20
add ebp, 0x20
cmp esi, ebx
mov byte [esp + 0x24], 3
mov dword [esp + 0x2c], ebp
jne 0x4ce0a1
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x9c], ebp
mov dword [edi + 0xa0], ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4