Function at 0x10010740
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100632c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
cmp dword [ebx + 0x10], 0
jne 0x100107a7
push dword [ebp - 0x210]
lea esi, [ebx + 0xc]
lea eax, [esi + 0x20]
push eax
push 0x10062140
push section..data
push 0x100647f4
call fcn.10008fb0
movzx edi, ax
add esp, 0x14
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x210], edi
test eax, eax
jne 0x100107cb
call fcn.100114e5
mov dword [esi + 0x14], eax
test eax, eax
jne 0x100107cb
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10010864
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b60e
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push eax
call fcn.100115e7
test di, di
je 0x100107a7
lea edi, [esi + 8]
test edi, edi
je 0x10010987
test esi, esi
je 0x10010987
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x10062004
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1006201c]
mov dword [edi + 8], eax
push 0x10062004
mov dword [0x1006201c], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100620a0]
mov eax, dword [0x100620a8]
mov edx, dword [0x1006209c]
sub eax, ecx
push 0
push dword [0x100647f8]
push 0
push 0
push eax
mov eax, dword [0x100620a4]
sub eax, edx
push eax
mov eax, dword [ebp - 0x210]
push ecx
push edx
push 0x80000000
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x100107a7
call fcn.1000aa80
push 0x208
mov edi, eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10024530
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call esi
push str.NetBridge.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001094b
lea eax, [ebp - 0x20c]
push eax
call fcn.10011640
add esp, 4
test eax, eax
je 0x1001094b
cmp dword [edi], 0
jne 0x1001094b
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x1001094b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1001094b
call eax
mov dword [edi + 0xc], eax
mov ecx, ebx
call fcn.1000efb0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1003186e
add esp, 4
call fcn.1003184d
mov ecx, 0x64
cdq
idiv ecx
lea eax, [ecx - 0x63]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 0x38], edx
xor ecx, ebp
pop ebx
call fcn.1001b60e
mov esp, ebp
pop ebp
ret 4
push 1
push 0xc0000005
call fcn.10003180
int3