Function at 0x1005f4e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f39f0
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.10060920
mov ebx, ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], ebx
call fcn.100d0249
mov edi, dword [ebp]
mov eax, dword [0x10116fc4]
cmp edi, eax
mov dword [esp + 0x30], 0
jne 0x1005f551
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 0x1005f5f3
mov dword [eax + 4], edi
jmp 0x1005f601
mov esi, dword [ebp + 8]
cmp esi, eax
je 0x1005f533
lea ecx, [esp + 0x18]
call fcn.100d0249
mov eax, dword [esi]
mov ecx, dword [0x10116fc4]
cmp eax, ecx
je 0x1005f575
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x1005f56d
lea ecx, [esp + 0x18]
call fcn.100d02e5
mov edi, dword [esi + 8]
mov ebx, esi
cmp esi, ebp
mov dword [esp + 0x14], ebx
je 0x1005f533
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 0x1005f5a2
mov dword [edi + 4], esi
jmp 0x1005f5b9
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 0x1005f5ca
mov dword [eax + 4], esi
jmp 0x1005f5d8
mov eax, dword [ebp + 4]
cmp dword [eax], ebp
jne 0x1005f5d5
mov dword [eax], esi
jmp 0x1005f5d8
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 0x1005f6a2
mov eax, dword [ebp + 4]
cmp dword [eax], ebp
jne 0x1005f5fe
mov dword [eax], edi
jmp 0x1005f601
mov dword [eax + 8], edi
mov eax, dword [ecx + 4]
cmp dword [eax], ebp
jne 0x1005f64d
mov ecx, dword [ebp + 8]
mov edx, dword [0x10116fc4]
cmp ecx, edx
jne 0x1005f61c
mov edx, dword [ebp + 4]
mov dword [eax], edx
jmp 0x1005f64d
lea ecx, [esp + 0x1c]
mov esi, edi
call fcn.100d0249
mov eax, dword [edi]
mov ecx, dword [0x10116fc4]
cmp eax, ecx
je 0x1005f63b
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x1005f633
lea ecx, [esp + 0x1c]
call fcn.100d02e5
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 0x1005f6a2
mov edx, dword [ebp]
mov ecx, dword [0x10116fc4]
cmp edx, ecx
jne 0x1005f66e
mov ecx, dword [ebp + 4]
mov dword [eax + 8], ecx
jmp 0x1005f6a2
lea ecx, [esp + 0x1c]
mov esi, edi
call fcn.100d0249
mov eax, dword [edi + 8]
mov ecx, dword [0x10116fc4]
cmp eax, ecx
je 0x1005f68f
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, ecx
jne 0x1005f686
lea ecx, [esp + 0x1c]
call fcn.100d02e5
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 0x1005f9b7
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp edi, dword [eax + 4]
je 0x1005f9b0
xor ebp, ebp
cmp dword [edi + 0x20], ebx
jne 0x1005f9b2
mov eax, dword [edi + 4]
cmp edi, dword [eax]
jne 0x1005f761
mov esi, dword [eax + 8]
cmp dword [esi + 0x20], ebp
jne 0x1005f745
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.100d0249
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x10116fc4]
je 0x1005f70c
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 0x1005f723
mov dword [ecx + 4], eax
jmp 0x1005f731
mov ecx, dword [esi + 4]
cmp esi, dword [ecx]
jne 0x1005f72e
mov dword [ecx], eax
jmp 0x1005f731
mov dword [ecx + 8], eax
mov dword [eax], esi
lea ecx, [esp + 0x1c]
mov dword [esi + 4], eax
call fcn.100d02e5
mov eax, dword [edi + 4]
mov esi, dword [eax + 8]
mov ecx, dword [esi]
cmp dword [ecx + 0x20], ebx
jne 0x1005f801
mov edx, dword [esi + 8]
cmp dword [edx + 0x20], ebx
jne 0x1005f801
jmp 0x1005f7e3
mov esi, dword [eax]
cmp dword [esi + 0x20], ebp
jne 0x1005f7cc
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.100d0249
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [eax + 8]
cmp ecx, dword [0x10116fc4]
je 0x1005f792
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 0x1005f7a9
mov dword [ecx + 4], eax
jmp 0x1005f7b8
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x1005f7b6
mov dword [ecx + 8], eax
jmp 0x1005f7b8
mov dword [ecx], eax
mov dword [eax + 8], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.100d02e5
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov edx, dword [esi + 8]
cmp dword [edx + 0x20], ebx
jne 0x1005f8db
mov eax, dword [esi]
cmp dword [eax + 0x20], ebx
jne 0x1005f8db
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 0x1005f6c6
mov dword [edi + 0x20], ebx
jmp 0x1005f9b9
mov eax, dword [esi + 8]
cmp dword [eax + 0x20], ebx
jne 0x1005f86a
mov ecx, dword [esi]
mov dword [ecx + 0x20], ebx
lea ecx, [esp + 0x20]
mov dword [esi + 0x20], ebp
call fcn.100d0249
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov dword [esi], edx
mov ecx, dword [eax + 8]
cmp ecx, dword [0x10116fc4]
je 0x1005f82f
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 0x1005f846
mov dword [ecx + 4], eax
jmp 0x1005f855
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x1005f853
mov dword [ecx + 8], eax
jmp 0x1005f855
mov dword [ecx], eax
mov dword [eax + 8], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.100d02e5
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.100d0249
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x10116fc4]
je 0x1005f8a0
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 0x1005f8b7
mov dword [ecx + 4], eax
jmp 0x1005f8c5
mov ecx, dword [esi + 4]
cmp esi, dword [ecx]
jne 0x1005f8c2
mov dword [ecx], eax
jmp 0x1005f8c5
mov dword [ecx + 8], eax
mov dword [eax], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.100d02e5
mov dword [edi + 0x20], ebx
jmp 0x1005f9b9
mov eax, dword [esi]
cmp dword [eax + 0x20], ebx
jne 0x1005f941
mov ecx, dword [esi + 8]
mov dword [ecx + 0x20], ebx
lea ecx, [esp + 0x20]
mov dword [esi + 0x20], ebp
call fcn.100d0249
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esi + 8], edx
mov ecx, dword [eax]
cmp ecx, dword [0x10116fc4]
je 0x1005f909
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 0x1005f920
mov dword [ecx + 4], eax
jmp 0x1005f92e
mov ecx, dword [esi + 4]
cmp esi, dword [ecx]
jne 0x1005f92b
mov dword [ecx], eax
jmp 0x1005f92e
mov dword [ecx + 8], eax
mov dword [eax], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.100d02e5
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.100d0249
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [eax + 8]
cmp ecx, dword [0x10116fc4]
je 0x1005f976
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 0x1005f98d
mov dword [ecx + 4], eax
jmp 0x1005f99c
mov ecx, dword [esi + 4]
cmp esi, dword [ecx + 8]
jne 0x1005f99a
mov dword [ecx + 8], eax
jmp 0x1005f99c
mov dword [ecx], eax
mov dword [eax + 8], esi
lea ecx, [esp + 0x20]
mov dword [esi + 4], eax
call fcn.100d02e5
mov dword [edi + 0x20], ebx
jmp 0x1005f9b9
xor ebp, ebp
mov dword [edi + 0x20], ebx
jmp 0x1005f9b9
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.10069570
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x1005f9f4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1005f9eb
cmp al, 0xff
je 0x1005f9eb
dec al
mov byte [ecx], al
jmp 0x1005f9f4
push ecx
call fcn.100d02fa
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.100d02fa
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.100d02e5
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