Function at 0x55d800
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x55d808
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x55ddfa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x55ddd2
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0xc]
dec eax
test eax, eax
jl 0x55ddc4
inc eax
mov dword [ebp - 8], eax
xor ebx, ebx
mov dl, 1
mov eax, dword [0x550fec]
call fcn.00551270
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov dword [eax + 0x234], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xd8]
mov edx, ebx
call fcn.0054e734
mov edx, dword [0x550fec]
call fcn.004033fc
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
jne 0x55d8f3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
cmp dword [eax + 0x2c], 0
jle 0x55d8f3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x210], 0
je 0x55d8f3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xf0]
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 0xf0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x214]
call fcn.0041618c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
cmp byte [eax + 0x41], 2
jne 0x55d912
mov edx, dword [ebp + 8]
call fcn.0040326c
jmp 0x55ddba
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov esi, dword [eax + 0x234]
cmp word [esi + 0x22], 0
jbe 0x55d952
mov eax, dword [ebp + 8]
cmp dword [esi + 0x3c], 0
jne 0x55d952
lea ecx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
call fcn.005584b4
mov eax, dword [ebp - 0x10]
call fcn.00550a30
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, esi
call fcn.00551cc8
mov byte [ebp - 1], 1
mov byte [ebp - 3], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
je 0x55d9f3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
cmp byte [eax + 0x42], 0
je 0x55d9f3
mov byte [ebp - 3], 1
mov byte [ebp - 2], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov esi, dword [eax + 0x234]
mov byte [esi + 0x42], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x1e2], 0
je 0x55d9da
lea eax, [ebp - 2]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x34]
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x38]
lea eax, [ebp - 0x14]
call fcn.0040437c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov esi, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [esi + 0x1e4]
call dword [esi + 0x1e0]
cmp byte [ebp - 2], 0
jne 0x55dcf6
mov eax, dword [ebp + 8]
inc dword [eax - 4]
mov byte [ebp - 1], 0
jmp 0x55dcf6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x55dcf6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x55dcf6
inc eax
mov dword [ebp - 0xc], eax
xor esi, esi
push ebp
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.0055d674
pop ecx
test al, al
je 0x55dcec
mov byte [ebp - 3], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x168], 0
jne 0x55dae9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x169], 0
jne 0x55dae9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x199], 1
je 0x55dae9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
jne 0x55dae9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x199], 0
je 0x55dab1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x199], 2
jne 0x55dcd6
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00550788
fstp qword [ebp - 0x24]
wait
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
call fcn.005583dc
fcomp qword [ebp - 0x24]
fnstsw ax
sahf
jae 0x55dcd6
mov byte [ebp - 2], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
je 0x55db48
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x1e2], 0
je 0x55db48
lea eax, [ebp - 2]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edi, dword [eax + 0x234]
mov ecx, dword [edi + 0x34]
mov eax, dword [ebp + 8]
mov edx, dword [edi + 0x38]
lea eax, [ebp - 0x28]
call fcn.0040437c
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edi, dword [eax - 8]
mov eax, dword [edi + 0x1e4]
call dword [edi + 0x1e0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
je 0x55db63
cmp byte [ebp - 2], 0
jne 0x55db63
mov eax, dword [ebp + 8]
inc dword [eax - 4]
cmp byte [ebp - 2], 0
jne 0x55dcc0
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
je 0x55dbaf
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
call fcn.00550604
test al, al
jne 0x55dbaf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
jne 0x55dcf6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
call fcn.0040326c
mov dl, 1
mov eax, dword [0x550fec]
call fcn.00551270
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [edx + 0x234], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x1f2], 0
je 0x55dc16
push ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
xor ecx, ecx
mov eax, dword [edi + 0x1f4]
call dword [edi + 0x1f0]
xor eax, eax
push ebp
push 0x55dc80
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.0055faac
test al, al
je 0x55dc57
mov eax, dword [ebp + 8]
push eax
mov eax, esi
call fcn.0055d3f8
pop ecx
jmp 0x55dc76
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
call fcn.0040326c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
xor edx, edx
mov dword [eax + 0x234], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55dcae
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x55dcf6
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x55dcf6
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
jmp 0x55dcf6
inc esi
dec dword [ebp - 0xc]
jne 0x55da26
cmp byte [ebp - 1], 0
je 0x55dd9a
cmp byte [ebp - 3], 0
je 0x55dd31
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x1f2], 0
je 0x55dd31
push ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov cl, 1
mov eax, dword [esi + 0x1f4]
call dword [esi + 0x1f0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, ebx
call fcn.00560668
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 0x234]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x228]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 0x234]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x22c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x230]
inc word [eax + 0xe]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x230]
inc word [eax + 0xc]
jmp 0x55ddba
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x240], 0
je 0x55ddba
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x234]
call fcn.0040326c
inc ebx
dec dword [ebp - 8]
jne 0x55d849
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
xor edx, edx
mov dword [eax + 0x234], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55de01
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004040d4
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004040d4
ret