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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100fb778
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1014f644]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x1014f644]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov edi, ecx
mov esi, edx
cmp eax, ebx
je 0x10060311
add eax, 4
mov dword [esp + 0x18], eax
jmp 0x10060317
mov dword [esp + 0x18], ebx
mov eax, ebx
mov dword [esp + 0x20], vtable.WininetManager::SlimAutoLock.0
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x1006032e
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x70], ebx
mov eax, dword [0x1014f25c]
mov edx, dword [eax + 0xc]
mov esi, dword [esi]
mov ecx, 0x1014f25c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x70], 1
cmp esi, ebx
je 0x1006037b
test esi, 0xffff0000
jne 0x1006037b
movzx esi, si
push esi
call fcn.10006220
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x10060385
lea eax, [esp + 0x10]
push eax
mov eax, esi
call fcn.10003ed0
jmp 0x10060385
push esi
lea eax, [esp + 0x14]
call fcn.10002550
mov byte [esp + 0x70], 2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x100603a1
sub eax, ecx
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.100071e0
mov byte [esp + 0x70], 3
mov edx, dword [0x1014f25c]
mov eax, dword [edx + 0xc]
mov esi, dword [edi]
mov ecx, 0x1014f25c
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x70], 4
cmp esi, ebx
je 0x10060408
test esi, 0xffff0000
jne 0x10060408
movzx esi, si
push esi
call fcn.10006220
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x10060416
lea edx, [esp + 0x14]
push edx
mov eax, esi
call fcn.10003ed0
jmp 0x10060412
push esi
lea eax, [esp + 0x18]
call fcn.10002550
mov edi, dword [esp + 0x14]
mov byte [esp + 0x70], 5
mov esi, 0xf
mov eax, edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10060431
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x30]
call fcn.100071e0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 6
call fcn.1005ff40
cmp dword [esp + 0x3c], 0x10
jb 0x10060471
mov edx, dword [esp + 0x28]
push edx
call fcn.100719b6
add esp, 4
lea eax, [edi - 0x10]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x70], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1006049e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x58], 0x10
jb 0x100604b2
mov ecx, dword [esp + 0x44]
push ecx
call fcn.100719b6
add esp, 4
mov byte [esp + 0x70], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100604e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x100604f1
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.100719c1
mov esp, ebp
pop ebp
ret 4