Function at 0x6b801d40
Capabilities:
Access peb ldr_data
Check http status code
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
mov edx, ecx
push esi
push ebx
mov ebx, eax
sub esp, 0x11c
test byte [0x6b80801c], 8
jne 0x6b801e80
cmp ebx, 4
je 0x6b801dc0
lea eax, [ebx - 3]
cmp eax, 1
jbe 0x6b801dd2
cmp ebx, 0x190
je 0x6b801dd2
cmp edi, 1
sete al
cmp ebx, 1
jne 0x6b801e4b
test al, al
je 0x6b801e4b
mov eax, dword [ebp + 8]
test eax, eax
je 0x6b801f50
mov dword [esp], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], edi
call dword [0x6b80e008]
mov ebx, eax
test byte [0x6b80801c], 8
jne 0x6b801ed0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edi, 0x1f
je 0x6b802030
cmp edi, 0x20
je 0x6b801f20
test edi, edi
jne 0x6b801e40
test edx, edx
mov dword [ebp - 0xfc], edx
je 0x6b801e1e
lea esi, [ebp - 0xec]
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [esp], ebx
call dword [0x6b80e008]
cmp ebx, 4
mov edx, dword [ebp - 0xfc]
je 0x6b8020d0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x6b802060
mov ecx, 0x35
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 8]
mov ebx, 0xd4
test edx, edx
jne 0x6b801da9
mov ebx, 0xac
jmp 0x6b801da9
xor eax, eax
cmp edi, 1
je 0x6b801d8b
lea ecx, [ebx - 0xc8]
cmp ecx, 9
jbe 0x6b801f08
cmp ebx, 0x64
jne 0x6b801d96
cmp edi, 0x13
je 0x6b801d8b
test al, al
je 0x6b801d96
jmp 0x6b801d8b
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__d___d___p___d__n
mov dword [esp + 8], str.WTInfoT
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
mov dword [ebp - 0xfc], ecx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0xfc]
jmp 0x6b801d5f
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.returns__d_n
mov dword [esp + 8], str.WTInfoT
mov dword [esp + 4], 0x6b80801c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edi, 6
jne 0x6b801e6c
jmp 0x6b801d8b
test edx, edx
mov dword [ebp - 0xfc], edx
mov ebx, 4
je 0x6b801db6
mov dword [esp], 1
call dword [sym.imp.user32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0xfc]
sub esp, 4
mov dword [edx], eax
jmp 0x6b801db6
mov dword [ebp - 0x104], edx
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 8], 0
call dword [0x6b80e008]
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [ebp - 0xfc], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x100], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [0x6b80e008]
mov edx, dword [ebp - 0x104]
mov edi, dword [ebp - 0xfc]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
test edx, edx
lea eax, [edi + edi]
cmove eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 8], esi
mov dword [ebp + 8], eax
mov dword [esp + 0x14], eax
mov eax, edi
shr eax, 1
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x100]
sub esp, 0x20
mov ebx, eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6b801da9
test edx, edx
mov dword [ebp - 0xfc], edx
mov ebx, 4
je 0x6b801db6
mov dword [esp], 0
call dword [sym.imp.user32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0xfc]
sub esp, 4
mov dword [edx], eax
jmp 0x6b801db6
mov dword [esp + 0x10], edx
mov dword [ebp - 0xfc], edx
mov dword [esp + 8], esi
lea esi, [ebp - 0x9c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x28
mov dword [esp + 0xc], 0x28
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0xfc]
mov ecx, 0x21
sub esp, 0x20
mov byte [edx + 0x27], 0
add edx, 0x28
mov edi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x6b801e2e
mov ebx, dword [sym.imp.user32.dll_GetSystemMetrics]
mov dword [esp], 0
call ebx
sub esp, 4
mov dword [ebp - 0x28], eax
mov dword [esp], 1
call ebx
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x24], eax
sub esp, 4
jmp 0x6b801e0a