Function at 0x4e3a80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a53b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5f300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0xc]
or ebx, 0xffffffff
xor esi, esi
mov dword [ebp - 0x10], ebx
mov edx, dword [edi + 4]
mov ecx, edx
mov eax, dword [edi]
sub ecx, eax
sar ecx, 3
test ecx, ecx
je 0x4e3aed
mov eax, dword [eax + esi*8]
cmp eax, 4
je 0x4e3ae6
cmp eax, 3
je 0x4e3ae6
cmp eax, 0x11
je 0x4e3ae6
cmp eax, 0x10
je 0x4e3ae6
mov eax, dword [edi]
inc esi
cmp esi, ecx
jae 0x4e3aed
jmp 0x4e3ac6
mov eax, dword [edi]
mov ebx, esi
mov dword [ebp - 0x10], ebx
cmp ebx, 0xffffffff
mov ebx, dword [ebp + 8]
je 0x4e3b5c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebx + 0x1c]
cmp dword [ebx + 0xc], edx
push dword [ebx + 0x30]
mov esi, dword [eax + ecx*8]
sbb eax, eax
mov ecx, dword [ebx]
neg eax
inc eax
sub edx, eax
push edx
call fcn.00475ef0
mov dword [ebx + 0x30], esi
mov edx, dword [edi + 4]
mov eax, edx
mov ecx, dword [edi]
sub eax, ecx
sar eax, 3
cmp eax, dword [ebp - 0x10]
jbe 0x4e3b5c
mov esi, dword [ebp + 0x10]
lea ebx, [ebx]
cmp ecx, edx
je 0x4e3b45
lea eax, [edx - 8]
mov dword [edi + 4], eax
cmp dword [edi], eax
je 0x4e3b45
add eax, 0xfffffff8
mov dword [esi], eax
jmp 0x4e3b4b
mov dword [esi], 0
mov edx, dword [edi + 4]
mov eax, edx
mov ecx, dword [edi]
sub eax, ecx
sar eax, 3
cmp eax, dword [ebp - 0x10]
ja 0x4e3b30
mov ecx, dword [edi]
cmp ecx, edx
je 0x4e3bcf
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
cmp eax, edi
je 0x4e3b97
push dword [ebp + 0xc]
push edx
push ecx
mov ecx, eax
call fcn.004e6030
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x8a0]
call fcn.004e6220
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x8a0]
call fcn.004e62a0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0040a6c0
jmp 0x4e3bd2
mov edi, dword [ebp - 0x14]
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x4e3bed
cmp esi, 6
je 0x4e3bed
cmp esi, 7
je 0x4e3bed
cmp esi, 0x12
je 0x4e3bed
cmp esi, 0x13
jne 0x4e3c06
mov ecx, dword [ebx + 0x1c]
cmp dword [ebx + 0xc], ecx
push esi
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [ebx]
call fcn.00475ef0
mov dword [ebx + 0x30], esi
cmp esi, 4
je 0x4e3c1a
cmp esi, 3
je 0x4e3c1a
cmp esi, 0x11
je 0x4e3c1a
cmp esi, 0x10
jne 0x4e3c6f
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
jne 0x4e3c6c
cmp byte [edi + 0x83c], 0
jne 0x4e3c6c
mov ecx, ebx
mov dword [ebx + 0x30], 0xd
call fcn.004761d0
mov ecx, dword [ebx + 0x1c]
cmp dword [ebx + 0xc], ecx
push dword [ebx + 0x30]
sbb eax, eax
neg eax
inc eax
sub ecx, eax
push ecx
mov ecx, dword [ebx]
call fcn.00475ef0
mov dword [ebx + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov byte [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10