Function at 0x1c57f90
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1d7096b
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x1dbb89c]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1dbb89c]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov edi, dword [esp + 0xf0]
mov ebx, dword [edi + 0x10]
sub ebx, dword [edi + 0xc]
mov eax, dword [esp + 0xf4]
mov esi, dword [esp + 0xf8]
sar ebx, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1c57ff7
sub eax, edx
sar eax, 1
xor ebp, ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
call fcn.01d26ef0
mov dword [esp + 0xe8], ebp
test esi, esi
je 0x1c5804d
mov eax, dword [esp + 0x30]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x40]
call fcn.01d26f00
push 0x3d
push 1
lea ecx, [esp + 0x40]
call fcn.01d261c0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x40]
call fcn.01d26f00
test ebx, ebx
ja 0x1c580fa
test esi, esi
je 0x1c580ba
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 0xc]
mov esi, eax
sub esi, ebx
sar esi, 1
cmp ebx, ebx
ja 0x1c5806d
cmp ebx, eax
jbe 0x1c58072
call fcn.01d38f43
mov eax, dword [edi]
push 1
lea ecx, [esp + 0x24]
push ecx
push esi
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
call fcn.01c574e0
mov ecx, eax
call fcn.01c57530
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
push esi
lea edx, [ecx + edx*2 + 2]
push edx
mov edx, dword [eax]
push ecx
mov ecx, dword [eax + 4]
push ecx
push edx
mov ecx, edi
call fcn.01c57c90
mov dword [esp + 0xe8], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.01d26680
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.01d389aa
add esp, 0xd8
ret
mov ebp, dword [esp + 0x1c]
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x1c58107
call fcn.01d38f43
mov eax, dword [edi]
test eax, eax
jne 0x1c5819a
call fcn.01d38f43
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x1c58122
call fcn.01d38f43
mov eax, dword [esp + 0x20]
mov ecx, ebx
sub ecx, ebp
lea esi, [esi + ebp*2]
cmp ecx, eax
jbe 0x1c58156
mov edx, dword [esp + 0x30]
lea ebx, [eax + eax]
push ebx
push edx
push esi
call fcn.01d39cfa
add esp, 0xc
test eax, eax
jne 0x1c5814e
cmp word [ebx + esi], 0x3d
je 0x1c581a1
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x34]
push esi
push eax
call fcn.01d393d4
add esp, 0xc
test eax, eax
jl 0x1c582ff
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1c58172
sub eax, edx
sar eax, 1
lea eax, [eax + ebp + 1]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jb 0x1c580f6
mov esi, dword [esp + 0x28]
jmp 0x1c58055
mov eax, dword [eax]
jmp 0x1c58118
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1c581a6
mov ebx, dword [edi + 0xc]
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
cmp ebx, dword [edi + 0x10]
jbe 0x1c581c6
call fcn.01d38f43
mov esi, dword [edi]
mov ebp, esi
mov dword [esp + 0x24], ebx
test esi, esi
jne 0x1c581ed
call fcn.01d38f43
xor eax, eax
mov ecx, dword [esp + 0x1c]
lea ebx, [ebx + ecx*2]
cmp ebx, dword [eax + 0x10]
ja 0x1c581f8
test esi, esi
je 0x1c581f1
mov esi, dword [esi]
jmp 0x1c581f3
mov eax, dword [esi]
jmp 0x1c581d9
xor esi, esi
cmp ebx, dword [esi + 0xc]
jae 0x1c581fd
call fcn.01d38f43
mov dword [esp + 0x24], ebx
test ebp, ebp
jne 0x1c58221
call fcn.01d38f43
xor eax, eax
mov edx, dword [esp + 0x14]
lea esi, [ebx + edx*2]
cmp esi, dword [eax + 0x10]
ja 0x1c5822d
test ebp, ebp
je 0x1c58226
mov eax, dword [ebp]
jmp 0x1c58228
mov eax, dword [ebp]
jmp 0x1c5820c
xor eax, eax
cmp esi, dword [eax + 0xc]
jae 0x1c58232
call fcn.01d38f43
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
test ebp, ebp
jne 0x1c5825a
call fcn.01d38f43
xor eax, eax
add esi, 2
mov dword [esp + 0x14], esi
cmp esi, dword [eax + 0x10]
ja 0x1c58266
test ebp, ebp
je 0x1c5825f
mov eax, dword [ebp]
jmp 0x1c58261
mov eax, dword [ebp]
jmp 0x1c58245
xor eax, eax
cmp esi, dword [eax + 0xc]
jae 0x1c5826b
call fcn.01d38f43
mov ebx, dword [edi + 0xc]
cmp ebx, dword [edi + 0x10]
jbe 0x1c58278
call fcn.01d38f43
mov esi, dword [edi]
mov dword [esp + 0x34], ebx
test esi, esi
jne 0x1c5829d
call fcn.01d38f43
xor eax, eax
mov ecx, dword [esp + 0x1c]
lea ebx, [ebx + ecx*2]
cmp ebx, dword [eax + 0x10]
ja 0x1c582a8
test esi, esi
je 0x1c582a1
mov eax, dword [esi]
jmp 0x1c582a3
mov eax, dword [esi]
jmp 0x1c58289
xor eax, eax
cmp ebx, dword [eax + 0xc]
jae 0x1c582ad
call fcn.01d38f43
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebx
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.01c57a90
cmp dword [esp + 0x28], 0
je 0x1c580ba
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x1c582dd
call fcn.01d38f43
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
call fcn.01c574e0
jmp 0x1c58099
cmp dword [esp + 0x28], 0
je 0x1c580ba
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x1c58317
call fcn.01d38f43
mov eax, dword [edi]
push ebp
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
call fcn.01c574e0
jmp 0x1c58099