Function at 0x17c1a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
lea eax, [esi + 0x24]
xor edx, edx
call fcn.00016c5c
lea eax, [esi + 0x28]
xor edx, edx
call fcn.00016c5c
lea eax, [esi + 0x2c]
xor edx, edx
call fcn.00016c5c
lea eax, [esi + 0x30]
xor edx, edx
call fcn.00016c5c
lea eax, [esi + 0x34]
xor edx, edx
call fcn.00016c5c
mov eax, esi
xor ecx, ecx
mov edx, 0x38
call fcn.0001487c
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov edx, 0x1f
mov eax, dword [ebp - 4]
call fcn.0017ce20
mov eax, dword [ebp - 4]
cmp word [eax + 0xba], 0
jne 0x17c22c
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0017ce20
jmp 0x17c697
xor edx, edx
push ebp
push 0x17c690
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x17c273
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
push eax
push 0xa
mov ecx, dword [0x229c40]
mov dl, 1
mov eax, dword [0x3fd78]
call fcn.0004b700
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x17c299
mov dl, 1
mov eax, dword [0x17922c]
call fcn.00179508
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x168], edx
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf8]
xor al, 1
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x16d], al
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.001795b0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x100]
mov dword [esi], edx
mov edx, dword [eax + 0x104]
mov dword [esi + 4], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x108]
mov dword [esi + 8], edx
mov edx, dword [eax + 0x10c]
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x110]
mov dword [esi + 0x10], edx
mov edx, dword [eax + 0x114]
mov dword [esi + 0x14], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x118]
mov dword [esi + 0x18], edx
mov edx, dword [eax + 0x11c]
mov dword [esi + 0x1c], edx
lea eax, [esi + 0x24]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x124]
call fcn.00016c5c
lea eax, [esi + 0x28]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x128]
call fcn.00016c5c
lea eax, [esi + 0x2c]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x12c]
call fcn.00016c5c
lea eax, [esi + 0x30]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x130]
call fcn.00016c5c
lea eax, [esi + 0x34]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x134]
call fcn.00016c5c
xor eax, eax
push ebp
push 0x17c661
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x170], 0
jne 0x17c3a4
call fcn.00015adc
call fcn.00015adc
jmp 0x17c697
mov eax, dword [ebp - 4]
cmp byte [eax + 0xf8], 0
jne 0x17c3cb
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x171], 0
jne 0x17c3cb
call fcn.00015adc
call fcn.00015adc
jmp 0x17c697
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xd8], 0
je 0x17c408
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xd4]
mov eax, dword [eax + 0xd0]
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0xec]
jne 0x17c3f7
cmp eax, dword [ecx + 0xe8]
je 0x17c408
call fcn.00015adc
call fcn.00015adc
jmp 0x17c697
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xe8], 0
je 0x17c43c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xdc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc4]
call fcn.00016690
je 0x17c43c
call fcn.00015adc
call fcn.00015adc
jmp 0x17c697
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xe9], 0
je 0x17c470
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe0]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc8]
call fcn.00016690
je 0x17c470
call fcn.00015adc
call fcn.00015adc
jmp 0x17c697
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xea], 0
je 0x17c4a4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xcc]
call fcn.00016690
je 0x17c4a4
call fcn.00015adc
call fcn.00015adc
jmp 0x17c697
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xfc], 0
je 0x17c4d3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xec]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0xd0]
jmp 0x17c4d3
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xfd], 0
je 0x17c502
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf0]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0xd4]
jmp 0x17c502
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xfe], 0
je 0x17c531
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf4]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0xd8]
jmp 0x17c531
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xff], 0
je 0x17c560
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xf8]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0xdc]
jmp 0x17c560
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x120], 0
je 0x17c58f
call fcn.000272c4
mov eax, dword [ebp - 0xc]
fcomp qword [eax + 0x110]
wait
fnstsw ax
sahf
jae 0x17c58f
call fcn.00015adc
call fcn.00015adc
jmp 0x17c697
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x121], 0
je 0x17c5be
call fcn.000272c4
mov eax, dword [ebp - 0xc]
fcomp qword [eax + 0x118]
wait
fnstsw ax
sahf
jbe 0x17c5be
call fcn.00015adc
call fcn.00015adc
jmp 0x17c697
mov eax, dword [ebp - 4]
cmp byte [eax + 0xf9], 0
je 0x17c5f3
mov eax, dword [ebp - 0xc]
push dword [eax + 0x10c]
push dword [eax + 0x108]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xfc]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0xbc]
call dword [ebx + 0xb8]
mov ebx, eax
test bl, bl
jne 0x17c606
call fcn.00015adc
call fcn.00015adc
jmp 0x17c697
mov eax, dword [ebp - 0xc]
push dword [eax + 0x104]
push dword [eax + 0x100]
mov eax, dword [ebp - 4]
call fcn.0017cb24
test al, al
je 0x17c62d
call fcn.00015adc
call fcn.00015adc
jmp 0x17c697
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x17c668
cmp byte [ebp - 5], 0
jne 0x17c653
mov edx, 0x21
mov eax, dword [ebp - 4]
call fcn.0017ce20
jmp 0x17c660
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.0017ce20
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret