Function at 0x54cd80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d8f6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5b3480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], ebx
call fcn.0054d0c0
lea esi, [ebx + 0x50]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
push 0x14
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00491411
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [ebx + 0x58]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00491411
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [ebx + 0x60]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00491411
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push edi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.0054d5e0
lea edi, [ebx + 0x30]
mov ecx, 8
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebx + 8]
je 0x54ce9e
mov eax, dword [ebx]
cmp eax, ecx
jne 0x54ce7e
mov ecx, ebx
call fcn.00537460
jmp 0x54ce9e
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0054cc90
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x5c]
sar eax, 2
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jbe 0x54cec9
cmp ecx, 0x3fffffff
ja 0x54d0a9
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0xc]
call fcn.005367a0
mov esi, dword [ebx + 0x58]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x54cf42
mov edi, dword [ebx + 0x10]
lea ecx, [ebx + 0xc]
lea edx, [esi + 0x14]
cmp edi, dword [ecx + 8]
je 0x54cef2
mov eax, dword [edx]
mov dword [edx], 0
mov dword [edi], eax
add dword [ecx + 4], 4
jmp 0x54cef9
push edx
push edi
call fcn.00535e10
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x54cf24
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x54cf20
jmp 0x54cf10
cmp esi, dword [eax + 8]
jne 0x54cf20
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x54cf10
mov esi, eax
jmp 0x54cf3c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x54cf3c
mov edi, edi
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x54cf30
cmp byte [esi + 0xd], 0
je 0x54ced4
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x64]
sar eax, 2
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jbe 0x54cf6d
cmp ecx, 0x3fffffff
ja 0x54d0ae
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x18]
call fcn.00536700
mov esi, dword [ebx + 0x60]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x54cfe7
jmp 0x54cf80
mov edi, dword [ebx + 0x1c]
lea ecx, [ebx + 0x18]
lea edx, [esi + 0x14]
cmp edi, dword [ecx + 8]
je 0x54cf9e
mov eax, dword [edx]
mov dword [edx], 0
mov dword [edi], eax
add dword [ecx + 4], 4
jmp 0x54cfa5
push edx
push edi
call fcn.00535d00
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x54cfcb
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x54cfc7
cmp esi, dword [eax + 8]
jne 0x54cfc7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x54cfb7
mov esi, eax
jmp 0x54cfe1
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x54cfe1
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x54cfd5
cmp byte [esi + 0xd], 0
je 0x54cf80
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x54]
sar eax, 2
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jbe 0x54d012
cmp ecx, 0x3fffffff
ja 0x54d0b3
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x24]
call fcn.0054cce0
cmp dword [ebx + 0x54], 0
je 0x54d089
mov eax, dword [ebx + 0x50]
lea ecx, [ebx + 0x50]
push dword [eax]
call fcn.0054dd90
mov esi, eax
mov dword [ebp - 0x18], esi
mov ecx, dword [ebx + 0x28]
lea edx, [esi + 0x10]
mov byte [ebp - 4], 4
cmp ecx, dword [ebx + 0x2c]
je 0x54d04f
mov dword [ecx], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [edx], 0
add dword [ebx + 0x28], 4
jmp 0x54d059
push edx
push ecx
lea ecx, [ebx + 0x24]
call fcn.0054c720
mov byte [ebp - 4], 3
test esi, esi
je 0x54d083
mov eax, dword [esi + 0x10]
test eax, eax
je 0x54d071
push eax
call fcn.004957c3
add esp, 4
push 0x14
push esi
call fcn.00491173
add esp, 8
mov dword [ebp - 0x18], 0
cmp dword [ebx + 0x54], 0
jne 0x54d018
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004913e0
mov esp, ebp
pop ebp
ret 4
call fcn.00413ef0
call fcn.00413ef0
call fcn.00413ef0
int3