Function at 0x1005f220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f3990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ecx
push esi
push edi
lea ecx, [esp + 0x3c]
call fcn.10060660
mov ebx, ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], ebx
call fcn.100d01e2
mov edi, dword [ebp]
mov eax, dword [0x10116ff4]
cmp edi, eax
mov dword [esp + 0x30], 0
jne 0x1005f291
mov edi, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], edx
mov eax, dword [ecx + 4]
cmp dword [eax + 4], ebp
jne 0x1005f333
mov dword [eax + 4], edi
jmp 0x1005f341
mov esi, dword [ebp + 8]
cmp esi, eax
je 0x1005f273
lea ecx, [esp + 0x18]
call fcn.100d01e2
mov eax, dword [esi]
mov ecx, dword [0x10116ff4]
cmp eax, ecx
je 0x1005f2b5
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x1005f2ad
lea ecx, [esp + 0x18]
call fcn.100d027e
mov edi, dword [esi + 8]
mov ebx, esi
cmp esi, ebp
mov dword [esp + 0x14], ebx
je 0x1005f273
mov eax, dword [ebp]
mov dword [eax + 4], esi
mov ecx, dword [ebp]
mov dword [esi], ecx
mov eax, dword [ebp + 8]
cmp esi, eax
jne 0x1005f2e2
mov dword [edi + 4], esi
jmp 0x1005f2f9
mov edx, dword [esi + 4]
mov dword [edi + 4], edx
mov eax, dword [esi + 4]
mov dword [eax], edi
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], esi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp dword [eax + 4], ebp
jne 0x1005f30a
mov dword [eax + 4], esi
jmp 0x1005f318
mov eax, dword [ebp + 4]
cmp dword [eax], ebp
jne 0x1005f315
mov dword [eax], esi
jmp 0x1005f318
mov dword [eax + 8], esi
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], ebp
mov dword [esi + 4], eax
mov ecx, dword [ebp + 0x20]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x20], ecx
mov dword [ebp + 0x20], eax
jmp 0x1005f3e2
mov eax, dword [ebp + 4]
cmp dword [eax], ebp
jne 0x1005f33e
mov dword [eax], edi
jmp 0x1005f341
mov dword [eax + 8], edi
mov eax, dword [ecx + 4]
cmp dword [eax], ebp
jne 0x1005f38d
mov ecx, dword [ebp + 8]
mov edx, dword [0x10116ff4]
cmp ecx, edx
jne 0x1005f35c
mov edx, dword [ebp + 4]
mov dword [eax], edx
jmp 0x1005f38d
lea ecx, [esp + 0x1c]
mov esi, edi
call fcn.100d01e2
mov eax, dword [edi]
mov ecx, dword [0x10116ff4]
cmp eax, ecx
je 0x1005f37b
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x1005f373
lea ecx, [esp + 0x1c]
call fcn.100d027e
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov dword [eax], esi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp dword [eax + 8], ebp
jne 0x1005f3e2
mov edx, dword [ebp]
mov ecx, dword [0x10116ff4]
cmp edx, ecx
jne 0x1005f3ae
mov ecx, dword [ebp + 4]
mov dword [eax + 8], ecx
jmp 0x1005f3e2
lea ecx, [esp + 0x1c]
mov esi, edi
call fcn.100d01e2
mov eax, dword [edi + 8]
mov ecx, dword [0x10116ff4]
cmp eax, ecx
je 0x1005f3cf
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, ecx
jne 0x1005f3c6
lea ecx, [esp + 0x1c]
call fcn.100d027e
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov dword [eax + 8], esi
mov ecx, dword [esp + 0x14]
mov ebx, 1
cmp dword [ecx + 0x20], ebx
jne 0x1005f6f7
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp edi, dword [eax + 4]
je 0x1005f6f0
xor ebp, ebp
cmp dword [edi + 0x20], ebx
jne 0x1005f6f2
mov eax, dword [edi + 4]
cmp edi, dword [eax]
jne 0x1005f4a1
mov esi, dword [eax + 8]
cmp dword [esi + 0x20], ebp
jne 0x1005f485
mov dword [esi + 0x20], ebx
mov ecx, dword [edi + 4]
mov dword [ecx + 0x20], ebp
mov esi, dword [edi + 4]
lea ecx, [esp + 0x1c]
call fcn.100d01e2
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x10116ff4]
je 0x1005f44c
mov dword [ecx + 4], esi
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
cmp esi, dword [ecx + 4]
jne 0x1005f463
mov dword [ecx + 4], eax
jmp 0x1005f471
mov ecx, dword [esi + 4]
cmp esi, dword [ecx]
jne 0x1005f46e
mov dword [ecx], eax
jmp 0x1005f471
mov dword [ecx + 8], eax
mov dword [eax], esi
lea ecx, [esp + 0x1c]
mov dword [esi + 4], eax
call fcn.100d027e
mov eax, dword [edi + 4]
mov esi, dword [eax + 8]
mov ecx, dword [esi]
cmp dword [ecx + 0x20], ebx
jne 0x1005f541
mov edx, dword [esi + 8]
cmp dword [edx + 0x20], ebx
jne 0x1005f541
jmp 0x1005f523
mov esi, dword [eax]
cmp dword [esi + 0x20], ebp
jne 0x1005f50c
mov dword [esi + 0x20], ebx
mov eax, dword [edi + 4]
lea ecx, [esp + 0x20]
mov dword [eax + 0x20], ebp
mov esi, dword [edi + 4]
call fcn.100d01e2
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [eax + 8]
cmp ecx, dword [0x10116ff4]
je 0x1005f4d2
mov dword [ecx + 4], esi
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
cmp esi, dword [ecx + 4]
jne 0x1005f4e9
mov dword [ecx + 4], eax
jmp 0x1005f4f8
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x1005f4f6
mov dword [ecx + 8], eax
jmp 0x1005f4f8
mov dword [ecx], eax
mov dword [eax + 8], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.100d027e
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov edx, dword [esi + 8]
cmp dword [edx + 0x20], ebx
jne 0x1005f61b
mov eax, dword [esi]
cmp dword [eax + 0x20], ebx
jne 0x1005f61b
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x20], ebp
mov edi, dword [edi + 4]
mov edx, dword [ecx + 4]
cmp edi, dword [edx + 4]
jne 0x1005f406
mov dword [edi + 0x20], ebx
jmp 0x1005f6f9
mov eax, dword [esi + 8]
cmp dword [eax + 0x20], ebx
jne 0x1005f5aa
mov ecx, dword [esi]
mov dword [ecx + 0x20], ebx
lea ecx, [esp + 0x20]
mov dword [esi + 0x20], ebp
call fcn.100d01e2
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov dword [esi], edx
mov ecx, dword [eax + 8]
cmp ecx, dword [0x10116ff4]
je 0x1005f56f
mov dword [ecx + 4], esi
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
cmp esi, dword [ecx + 4]
jne 0x1005f586
mov dword [ecx + 4], eax
jmp 0x1005f595
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x1005f593
mov dword [ecx + 8], eax
jmp 0x1005f595
mov dword [ecx], eax
mov dword [eax + 8], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.100d027e
mov eax, dword [edi + 4]
mov esi, dword [eax + 8]
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 4]
mov dword [eax + 0x20], ebx
mov ecx, dword [esi + 8]
mov dword [ecx + 0x20], ebx
mov esi, dword [edi + 4]
lea ecx, [esp + 0x20]
call fcn.100d01e2
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x10116ff4]
je 0x1005f5e0
mov dword [ecx + 4], esi
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
cmp esi, dword [ecx + 4]
jne 0x1005f5f7
mov dword [ecx + 4], eax
jmp 0x1005f605
mov ecx, dword [esi + 4]
cmp esi, dword [ecx]
jne 0x1005f602
mov dword [ecx], eax
jmp 0x1005f605
mov dword [ecx + 8], eax
mov dword [eax], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.100d027e
mov dword [edi + 0x20], ebx
jmp 0x1005f6f9
mov eax, dword [esi]
cmp dword [eax + 0x20], ebx
jne 0x1005f681
mov ecx, dword [esi + 8]
mov dword [ecx + 0x20], ebx
lea ecx, [esp + 0x20]
mov dword [esi + 0x20], ebp
call fcn.100d01e2
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x10116ff4]
je 0x1005f649
mov dword [ecx + 4], esi
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
cmp esi, dword [ecx + 4]
jne 0x1005f660
mov dword [ecx + 4], eax
jmp 0x1005f66e
mov ecx, dword [esi + 4]
cmp esi, dword [ecx]
jne 0x1005f66b
mov dword [ecx], eax
jmp 0x1005f66e
mov dword [ecx + 8], eax
mov dword [eax], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.100d027e
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 4]
lea ecx, [esp + 0x20]
mov dword [edx + 0x20], ebx
mov eax, dword [esi]
mov dword [eax + 0x20], ebx
mov esi, dword [edi + 4]
call fcn.100d01e2
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [eax + 8]
cmp ecx, dword [0x10116ff4]
je 0x1005f6b6
mov dword [ecx + 4], esi
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
cmp esi, dword [ecx + 4]
jne 0x1005f6cd
mov dword [ecx + 4], eax
jmp 0x1005f6dc
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x1005f6da
mov dword [ecx + 8], eax
jmp 0x1005f6dc
mov dword [ecx], eax
mov dword [eax + 8], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.100d027e
mov dword [edi + 0x20], ebx
jmp 0x1005f6f9
xor ebp, ebp
mov dword [edi + 0x20], ebx
jmp 0x1005f6f9
xor ebp, ebp
mov edx, dword [esp + 0x14]
lea esi, [edx + 0xc]
mov dword [esp + 0x1c], esi
lea ecx, [esi + 0x10]
mov byte [esp + 0x30], bl
call fcn.10069450
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x1005f734
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1005f72b
cmp al, 0xff
je 0x1005f72b
dec al
mov byte [ecx], al
jmp 0x1005f734
push ecx
call fcn.100d0293
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esi + 4], ebp
push eax
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
call fcn.100d0293
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [eax + 0xc]
dec ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi], ecx
lea ecx, [esp + 0x24]
call fcn.100d027e
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8