Function at 0x1019e32
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001eb18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10027030]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x100281c4]
xor edi, edi
mov ecx, 0x100281c4
mov dword [esp + 0x28], edi
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x38], edi
cmp esi, edi
jne 0x1019ea2
mov esi, dword [ebp + 0x10]
call fcn.01023d34
lea esi, [ebx - 0x10]
mov eax, esi
call fcn.010259c9
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
jmp 0x101a2b4
push 5
push 0x1002240c
push esi
call fcn.0102988d
add esp, 0xc
test eax, eax
jne 0x1019ecf
add esi, 0xa
movzx eax, word [esi]
cmp ax, 0x5c
je 0x1019ec8
cmp ax, 0x2f
jne 0x1019ecc
inc esi
inc esi
jmp 0x1019eb9
mov dword [ebp + 0xc], esi
cmp word [esi], di
je 0x1019e83
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x1019ed9
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
push esi
lea eax, [esp + 0x18]
push eax
call fcn.01023578
mov eax, 0x1002243c
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.01023b04
lea eax, [esp + 0x14]
call fcn.01023a5a
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
cmp eax, edi
jne 0x1019f2d
mov esi, dword [ebp + 0x10]
call fcn.01023d34
lea esi, [ebx - 0x10]
jmp 0x101a299
inc eax
push eax
lea esi, [esp + 0x18]
call fcn.01023d76
mov edi, eax
xor esi, esi
cmp word [edi], 0x22
mov dword [esp + 0x20], esi
jne 0x1019f99
inc edi
inc edi
push 0x22
push edi
call fcn.01029075
pop ecx
pop ecx
cmp eax, esi
je 0x101a0f1
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x5c
push edi
mov dword [esp + 0x28], eax
call fcn.01029075
pop ecx
pop ecx
test eax, eax
jne 0x1019f89
mov ebx, edi
lea ecx, [esp + 0x24]
call fcn.01019cc5
mov byte [esp + 0x38], 2
jmp 0x101a0a7
push edi
lea eax, [esp + 0x1c]
push eax
call fcn.0102364d
jmp 0x101a0c1
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
mov dword [esp + 0x24], esi
lea ebx, [edi + eax*2]
jmp 0x101a08a
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
lea eax, [edi + eax*2]
cmp ebx, eax
movzx eax, word [ebx]
sete cl
mov byte [esp + 0x13], cl
cmp ax, word [ebp + 0x14]
jne 0x1019fd0
cmp word [esp + 0x24], 0x5c
jne 0x1019fd8
test cl, cl
je 0x101a07b
movzx eax, ax
mov dword [esp + 0x24], eax
mov esi, ebx
test cl, cl
je 0x1019feb
mov dword [esp + 0x20], ebx
jmp 0x1019ff2
lea eax, [ebx + 2]
mov dword [esp + 0x20], eax
test cl, cl
jne 0x1019ffb
xor eax, eax
mov word [ebx], ax
push edi
call fcn.010195b2
push edi
test eax, eax
jne 0x101a167
lea eax, [esp + 0x20]
push eax
call fcn.01023578
push 0x100223e4
push 0x10022448
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x44], 3
call fcn.01023860
test eax, eax
je 0x101a05a
push 0x100223e4
push 0x10022448
lea eax, [esp + 0x24]
push eax
call fcn.01023860
test eax, eax
jne 0x101a031
push dword [esp + 0x1c]
call fcn.010195b2
test eax, eax
jne 0x101a173
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.01018f4b
cmp byte [esp + 0x13], 0
jne 0x101a088
mov ax, word [ebp + 0x14]
mov word [ebx], ax
jmp 0x101a088
cmp ax, word [ebp + 0x14]
je 0x101a088
movzx eax, ax
mov dword [esp + 0x24], eax
dec ebx
dec ebx
cmp ebx, edi
jae 0x1019fac
xor eax, eax
mov ebx, edi
lea ecx, [esp + 0x24]
mov word [esi], ax
call fcn.01019cc5
mov byte [esp + 0x38], 4
lea edi, [esp + 0x18]
call fcn.0102360c
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.01018f4b
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
test eax, eax
je 0x101a0f1
push dword [esp + 0x20]
push dword [ebp + 0x10]
call fcn.0102364d
mov eax, dword [ebp + 0x10]
call fcn.01023aaa
mov eax, dword [ebp + 0x10]
call fcn.01023a5a
cmp dword [ebx - 0xc], 0
jne 0x101a26d
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
call fcn.0102364d
mov eax, 0x1002243c
lea ecx, [esp + 0x14]
call fcn.01023b04
lea eax, [esp + 0x14]
call fcn.01023a5a
cmp word [ebp + 0x14], 0x20
jne 0x101a198
push 0x2c
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.010239b1
cmp eax, 0xffffffff
je 0x101a198
push 0x2c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01019e32
mov eax, dword [esp + 0x24]
add esp, 0x10
add eax, 0xfffffff0
call fcn.01018f4b
lea eax, [ebx - 0x10]
call fcn.01018f4b
mov eax, dword [ebp + 8]
jmp 0x101a2bd
lea eax, [esp + 0x1c]
push eax
call fcn.0102364d
jmp 0x101a18f
push edi
lea eax, [esp + 0x1c]
push eax
call fcn.0102364d
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.01018f4b
mov ebx, dword [esp + 0x18]
jmp 0x101a0d5
mov eax, dword [esp + 0x14]
cmp word [eax], 0x22
jne 0x101a1c8
add eax, 2
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0102364d
push 0x22
xor ecx, ecx
lea esi, [esp + 0x18]
call fcn.010239b1
mov esi, eax
cmp esi, 0xffffffff
jne 0x101a202
mov eax, dword [esp + 0x14]
push 0x10022450
push eax
call fcn.0102a7bd
pop ecx
pop ecx
test eax, eax
je 0x101a1e6
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x101a202
lea eax, [esp + 0x14]
lea edi, [esp + 0x18]
call fcn.0102360c
push 0x10022280
push dword [ebp + 0x10]
call fcn.0102364d
jmp 0x101a26d
mov ecx, esi
lea edx, [esp + 0x24]
lea eax, [esp + 0x14]
call fcn.01023c42
lea edi, [esp + 0x18]
mov byte [esp + 0x38], 5
call fcn.0102360c
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.01018f4b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
lea eax, [esp + 0x24]
sub ecx, esi
push eax
dec ecx
lea eax, [esp + 0x18]
call fcn.01023bf2
mov edi, dword [ebp + 0x10]
mov byte [esp + 0x38], 6
call fcn.0102360c
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.01018f4b
mov eax, edi
call fcn.01023aaa
lea eax, [esp + 0x18]
call fcn.01023aaa
lea eax, [esp + 0x18]
call fcn.01023a5a
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
cmp dword [eax - 0xc], ecx
jl 0x101a292
call fcn.01023d34
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
mov eax, esi
call fcn.010259c9
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.01018f4b
mov eax, esi
call fcn.01018f4b
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret