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

Disassembly:
mov eax, 0x499da5
call fcn.00498a28
sub esp, 0xfc
xor eax, eax
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 0x13c]
mov dword [ebx + 0x134], eax
mov dword [ebx + 0x138], eax
mov dword [ecx + 0x10], eax
cmp dword [ecx + 0x14], 7
jbe 0x40cdeb
mov ecx, dword [ecx]
xor edx, edx
mov word [ecx], dx
lea ecx, [ebx + 0x50]
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
call fcn.0040e064
mov edi, dword [ebp + 8]
lea ecx, [ebx + 0x20]
xor esi, esi
mov dword [ebx + 0x88], esi
mov dword [ebx + 0x8c], esi
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x7c], esi
mov dword [ebx + 0x70], esi
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x6c], esi
mov eax, dword [ebx]
mov dword [ebx + 8], eax
mov al, byte [ebx + 0x120]
mov byte [ebx + 0x81], al
mov dword [ebx + 0xc], ebx
mov eax, dword [edi]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x118]
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0xf0]
push eax
call fcn.0040dfbc
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x40ce71
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x44]
test eax, eax
je 0x40ce81
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x40]
mov dword [ebx + 0x48], eax
push 0x40c6a1
push 0x4e7e
push dword [ebx]
call fcn.00443160
add esp, 0xc
cmp byte [ebx + 0x11c], 0
je 0x40cf0c
mov edx, dword [edi]
cmp dword [edx + 0x10], 4
jbe 0x40cf0c
cmp dword [edx + 0x14], 7
mov eax, edx
jbe 0x40ceb0
mov eax, dword [edx]
cmp word [eax + 8], 0x73
je 0x40cec8
cmp dword [edx + 0x14], 7
mov eax, edx
jbe 0x40cec1
mov eax, dword [edx]
cmp word [eax + 8], 0x53
jne 0x40cf0c
push ecx
lea ecx, [ebp - 0x28]
call fcn.00414eb3
pop ecx
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 4
jb 0x40d35b
push 1
push 4
lea ecx, [ebp - 0x28]
call fcn.0040e2cf
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push 0x2712
push dword [ebx]
call fcn.00443160
add esp, 0xc
or dword [ebp - 4], 0xffffffff
jmp 0x40cf32
mov edx, dword [edi]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00414eb3
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push 0x2712
push dword [ebx]
call fcn.00443160
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.00402fc0
lea eax, [ebx + 0xd8]
mov ecx, ebx
push eax
movzx eax, byte [ebx + 0x11e]
push eax
call fcn.0040d562
cmp dword [edi + 0x44], esi
je 0x40cf6b
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x40cf6b
mov edx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
lea eax, [ebx + 8]
push eax
push 0x2711
push dword [ebx]
call fcn.00443160
lea eax, [ebx + 8]
push eax
push 0x272d
push dword [ebx]
call fcn.00443160
add esp, 0x18
mov byte [ebx + 0x4c], 1
cmp dword [edi + 0x38], 0
je 0x40cfcb
push dword [edi]
push dword [edi + 0x38]
call fcn.0040d361
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x40cfcb
cmp byte [ecx + 0x21], 2
jne 0x40cfcb
call fcn.004104ae
or eax, edx
je 0x40cfcb
call fcn.004104ae
push edx
push eax
push dword [edi + 0x38]
call fcn.0040d4ca
mov byte [ebx + 0x4e], 1
mov eax, dword [edi + 0x38]
test eax, eax
je 0x40d005
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp eax, ecx
je 0x40d005
mov edi, ecx
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x40cfea
mov ecx, dword [eax]
push ecx
push esi
call fcn.00444250
mov esi, eax
mov eax, dword [ebp - 0x2c]
add eax, 0x18
mov dword [ebp - 0x2c], eax
pop ecx
pop ecx
cmp eax, edi
jne 0x40cfe0
mov edi, dword [ebp + 8]
push esi
push 0x2727
push dword [ebx]
call fcn.00443160
add esp, 0xc
cmp byte [edi + 0x50], 1
jne 0x40d03a
mov eax, dword [edi + 0x34]
test eax, eax
je 0x40d03a
cmp dword [eax + 0x14], 0xf
jbe 0x40d02a
mov eax, dword [eax]
push eax
push 0x271f
push dword [ebx]
call fcn.00443160
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, eax
mov esi, edx
call fcn.004171d4
push dword [ebp + 8]
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], edx
call fcn.0040d995
push dword [ebx]
call fcn.00440320
pop ecx
push esi
mov esi, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x10], eax
lea eax, [ebx + 8]
push edi
push eax
push esi
call fcn.0040dbee
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x40d30d
cmp edi, 0x2a
jne 0x40d0cf
or dword [ebx + 0x138], 0xffffffff
push edi
call fcn.00443a20
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00403061
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00415155
push eax
lea ecx, [ebx + 0x13c]
call fcn.00405d4d
lea ecx, [ebp - 0x60]
call fcn.00402f3d
lea ecx, [ebp - 0x28]
call fcn.00402fc0
xor al, al
jmp 0x40d34a
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40d328
cmp byte [eax + 0x25], 0
jne 0x40d328
mov edx, dword [esi]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00414eb3
push edi
mov dword [ebp - 4], 2
call fcn.00443a20
lea ecx, [ebp - 0xa8]
mov edx, eax
push ecx
lea ecx, [ebp - 0x78]
call fcn.0040e412
add esp, 0xc
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.00402fc0
cmp edi, 0x12
jne 0x40d283
mov edx, dword [ebx + 0x10]
lea ecx, [ebp - 0x90]
call fcn.0040cd67
mov esi, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebx + 0x18]
call fcn.004104ae
push edx
push eax
lea ecx, [ebp - 0x13]
call fcn.0040ffd2
add esp, 4
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00410071
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x13]
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
call fcn.0040ffd2
add esp, 4
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00410071
push edi
push str.__expected_size_
push ecx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 7
call fcn.0040efea
push eax
lea ecx, [ebp - 0x108]
call fcn.00403476
push 0x10
push str.__actual_size_
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 8
call fcn.0040ff44
push eax
lea ecx, [ebp - 0xf0]
call fcn.00403476
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xf0]
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0xd8]
call fcn.0040ec20
push 2
push 0x4b2c48
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xa
call fcn.0040ff44
push eax
lea ecx, [ebp - 0xc0]
call fcn.00403476
push esi
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.0040ec20
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x78]
call fcn.0040fe68
lea ecx, [ebp - 0x28]
call fcn.00402fc0
lea ecx, [ebp - 0xc0]
call fcn.00402fc0
lea ecx, [ebp - 0xd8]
call fcn.00402fc0
lea ecx, [ebp - 0xf0]
call fcn.00402fc0
lea ecx, [ebp - 0x108]
call fcn.00402fc0
lea ecx, [ebp - 0x60]
call fcn.00402fc0
lea ecx, [ebp - 0x48]
call fcn.00402fc0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.00402fc0
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x236
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], 0xd
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x18], str.C:BooCode_OffergateMultiSetupoglibOGLiboglib_netwinternet.cpp
push eax
mov dword [ebp - 0x14], str.bool___thiscall_og::Winternet::SendRequestInternal_struct_og::Winternet::Request__
mov dword [ebp + 8], edi
call fcn.0040bea7
or dword [ebx + 0x138], 0xffffffff
push edi
call fcn.00443a20
pop ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00403061
lea edx, [ebp - 0x48]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x90]
call fcn.00415155
push eax
lea ecx, [ebx + 0x13c]
call fcn.00405d4d
lea ecx, [ebp - 0x90]
call fcn.00402f3d
lea ecx, [ebp - 0x48]
call fcn.00402fc0
lea ecx, [ebp - 0x78]
jmp 0x40d0c3
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x40d328
cmp byte [ecx + 0x21], 2
jne 0x40d328
cmp byte [ebx + 0x11f], 0
je 0x40d328
call fcn.00410510
or dword [ebp - 0x30], 0xffffffff
lea ecx, [ebp - 0x30]
push ecx
push 0x200002
push dword [ebx]
call fcn.004400b0
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebx + 0x138], ecx
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
call fcn.0040e373
int3