Function at 0x40f3e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cc28
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5b7f60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esi], vtable.is::wininet_async_handle.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call edi
mov dword [esi + 0xc], eax
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call edi
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.0042f911
mov edi, 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], ebx
mov dword [ebp - 4], 2
mov dword [esi], vtable.is::inet_file.0
push 4
mov dword [esi + 0x2c], vtable.is::inet_session.0
mov dword [esi + 0x30], ebx
call fcn.0043094c
add esp, 4
cmp eax, ebx
je 0x40f47f
mov dword [eax], edi
jmp 0x40f481
xor eax, eax
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], eax
call fcn.0042f911
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], 0xea60
mov dword [esi + 0x7c], 5
mov dword [esi + 0x84], edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov byte [esi + 0x98], bl
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
push 0x2c
mov byte [ebp - 4], 4
call fcn.0043094c
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 5
cmp edi, ebx
je 0x40f559
push ebx
push ebx
push ebx
push ebx
mov dword [edi], vtable.is::wininet_async_handle.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0xc], eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0x10], eax
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 7
call fcn.0042f911
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], 1
mov dword [edi + 0x28], ebx
jmp 0x40f55b
xor edi, edi
lea eax, [ebp - 0x20]
push eax
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
neg eax
sbb eax, eax
neg eax
mov byte [esi + 0x98], al
cmp al, bl
mov eax, esi
je 0x40f5a7
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x90], 0x3e8
mov dword [esi + 0x94], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret