Function at 0x1001afc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10079deb
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x1008f3a0]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x1008f3a0]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov esi, ecx
push 6
xor ebx, ebx
push str.Cookie
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.100014f0
lea eax, [esp + 0x30]
mov dword [esp + 0x178], ebx
add esi, 0x54
push eax
lea ebx, [esp + 0x18]
call fcn.100198c0
mov dword [esp + 0x178], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1001b05f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100549f0
add esp, 4
mov edi, dword [esp + 0x30]
mov edx, dword [esi + 4]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x58], edx
je 0x1001b074
cmp edi, esi
je 0x1001b079
call fcn.10055f58
mov esi, dword [esp + 0x34]
cmp esi, dword [esp + 0x58]
je 0x1001b42a
cmp edi, ebx
jne 0x1001b090
call fcn.10055f58
cmp esi, dword [edi + 4]
jne 0x1001b09a
call fcn.10055f58
push 1
push 0x10084c3c
lea ecx, [esp + 0x1c]
add esi, 0x28
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.100014f0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xf0]
push ecx
mov edi, esi
mov dword [esp + 0x180], 1
call fcn.1001b9a0
mov byte [esp + 0x178], 3
cmp dword [esp + 0x2c], 0x10
jb 0x1001b0f8
mov edx, dword [esp + 0x18]
push edx
call fcn.100549f0
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jmp 0x1001b112
xor ebx, ebx
cmp dword [esp + 0x13c], ebx
jne 0x1001b132
cmp dword [esp + 0x144], ebx
jne 0x1001b132
lea esi, [esp + 0xec]
call fcn.1001bd20
jmp 0x1001b13e
lea edi, [esp + 0xec]
call fcn.1001bea0
cmp al, bl
je 0x1001b3cb
lea esi, [esp + 0x38]
lea eax, [esp + 0xec]
call fcn.1001bad0
push 1
push 0x10084c40
push eax
xor eax, eax
call fcn.100180b0
cmp dword [esp + 0x50], 0x10
mov edi, eax
jb 0x1001b17b
mov eax, dword [esp + 0x3c]
push eax
call fcn.100549f0
add esp, 4
cmp edi, 0xffffffff
je 0x1001b3a0
lea esi, [esp + 0x60]
lea eax, [esp + 0xec]
call fcn.1001bad0
push edi
xor ecx, ecx
lea esi, [esp + 0x9c]
mov edx, eax
mov byte [esp + 0x17c], 4
call fcn.100015d0
lea ecx, [esp + 0x14c]
push ecx
mov ecx, eax
mov byte [esp + 0x17c], 5
call fcn.1001c340
add esp, 4
cmp dword [esp + 0xb0], 0x10
jb 0x1001b1e1
mov edx, dword [esp + 0x9c]
push edx
call fcn.100549f0
add esp, 4
mov esi, 0xf
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
mov byte [esp + 0x178], 8
cmp dword [esp + 0x78], 0x10
jb 0x1001b217
mov eax, dword [esp + 0x64]
push eax
call fcn.100549f0
add esp, 4
mov dword [esp + 0x78], esi
lea esi, [esp + 0x38]
lea eax, [esp + 0xec]
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.1001bad0
push 0xffffffffffffffff
lea ecx, [edi + 1]
lea esi, [esp + 0xb8]
mov edx, eax
mov byte [esp + 0x17c], 9
call fcn.100015d0
lea ecx, [esp + 0xd0]
push ecx
mov ecx, eax
mov byte [esp + 0x17c], 0xa
call fcn.1001c340
add esp, 4
mov esi, 0x10
cmp dword [esp + 0xcc], esi
jb 0x1001b286
mov edx, dword [esp + 0xb8]
push edx
call fcn.100549f0
add esp, 4
mov edi, 0xf
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
mov byte [esp + 0x178], 0xd
cmp dword [esp + 0x50], esi
jb 0x1001b2bb
mov eax, dword [esp + 0x3c]
push eax
call fcn.100549f0
add esp, 4
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x150]
push edx
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.10019c20
mov ecx, dword [esp + 0x10]
push eax
add ecx, 0x60
push ecx
lea ebx, [esp + 0x5c]
mov byte [esp + 0x180], 0xe
call fcn.10019ca0
mov esi, 0x10
cmp dword [esp + 0x94], esi
jb 0x1001b319
mov edx, dword [esp + 0x80]
push edx
call fcn.100549f0
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x78], esi
mov edi, 0xf
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
jb 0x1001b348
mov eax, dword [esp + 0x64]
push eax
call fcn.100549f0
add esp, 4
cmp dword [esp + 0xe8], esi
jb 0x1001b361
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.100549f0
add esp, 4
mov byte [esp + 0x178], 3
cmp dword [esp + 0x164], esi
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
jb 0x1001b110
mov edx, dword [esp + 0x150]
push edx
call fcn.100549f0
add esp, 4
jmp 0x1001b110
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x64]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
call fcn.10019ba0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
jmp 0x1001b3cf
mov edi, dword [esp + 0x10]
lea eax, [edi + 0x60]
lea ecx, [edi + 0x6c]
call fcn.1001b640
mov esi, 0x10
cmp dword [esp + 0x140], esi
jb 0x1001b3f8
mov edx, dword [esp + 0x12c]
push edx
call fcn.100549f0
add esp, 4
cmp dword [esp + 0x124], esi
mov dword [esp + 0x140], 0xf
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
jb 0x1001b42a
mov eax, dword [esp + 0x110]
push eax
call fcn.100549f0
add esp, 4
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.1005574a
mov esp, ebp
pop ebp
ret