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

Disassembly:
push 0xffffffffffffffff
push 0x10089d78
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xf0], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x78], edi
cmp byte [edi + 0x9c], 0
mov eax, dword [esp + 0x110]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x64], eax
je 0x100347f5
xor eax, eax
jmp 0x10034ee1
mov esi, dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
push 4
mov dword [esp + 0xf8], 0
call esi
add esp, 4
mov dword [esp + 0x70], eax
mov dword [esp + 0x108], 0
test eax, eax
je 0x1003482e
mov dword [eax], 0
mov dword [eax], 0xffffffff
jmp 0x10034830
xor eax, eax
mov dword [esp + 0x108], 0xffffffff
mov dword [esp + 0xf4], eax
mov dword [esp + 0x108], 1
cmp dword [esp + 0x64], 0
jne 0x100348e8
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x14], 8
jb 0x10034864
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x40]
call fcn.10002f90
mov byte [esp + 0x108], 2
lea eax, [esp + 0x3c]
push ecx
push 2
push 1
push 0x40000000
push eax
lea ecx, [esp + 0x108]
call fcn.1002ae00
test al, al
sete al
mov byte [esp + 0x77], al
mov byte [esp + 0x108], 1
cmp dword [esp + 0x50], 8
jb 0x100348ba
push dword [esp + 0x3c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov al, byte [esp + 0x7b]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
test al, al
je 0x100348e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
xor edi, edi
jmp 0x10034e9c
xorps xmm0, xmm0
movq qword [esp + 0xe0], xmm0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov byte [esp + 0x108], 3
push 8
call esi
mov esi, eax
add esp, 4
mov dword [esp + 0x70], esi
mov byte [esp + 0x108], 4
test esi, esi
je 0x10034969
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi], vtable.RC::RCInternetHandle.0
mov dword [esi + 4], 0
mov byte [esp + 0x108], 5
sub esp, 0x14
mov dword [esi], vtable.RC::RCInternetSession.0
call fcn.10066290
mov ecx, eax
call fcn.10066910
mov dword [esi + 4], eax
mov byte [esp + 0x108], 4
jmp 0x1003496b
xor esi, esi
mov byte [esp + 0x108], 3
lea ecx, [esp + 0xe0]
push esi
call fcn.10035ba0
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x70], eax
call fcn.10050830
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x108], 6
mov dword [esp + 0x60], 0
mov byte [esp + 0x108], 7
lea eax, [esp + 0xe0]
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x58]
add edi, 0xa0
add esi, 0xac
push eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x64], esi
call fcn.100121d0
push esi
lea ecx, [esp + 0xf4]
mov dword [esp + 0xf4], 0
call fcn.100050b0
mov byte [esp + 0x108], 8
lea eax, [esp + 0xe0]
push eax
mov ecx, edi
call fcn.10035840
mov eax, dword [esp + 0xf0]
test eax, eax
je 0x10034a3b
mov eax, dword [eax]
test eax, eax
je 0x10034a30
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0xf0], 0
xorps xmm0, xmm0
push 0x28
movq qword [esp + 0xec], xmm0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x6c], eax
mov byte [esp + 0x108], 9
test eax, eax
je 0x10034a7c
xorps xmm0, xmm0
mov ecx, eax
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
call fcn.10052e80
jmp 0x10034a7e
xor eax, eax
mov byte [esp + 0x108], 8
lea ecx, [esp + 0xe8]
push eax
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
call fcn.10035df0
mov byte [esp + 0x108], 0xa
lea ecx, [esp + 0xf8]
mov eax, dword [esp + 0x78]
add eax, 0xe4
mov dword [esp + 0xf8], 0
push eax
call fcn.100050b0
mov byte [esp + 0x108], 0xb
mov ecx, 1
mov esi, dword [esp + 0xec]
test esi, esi
je 0x10034af1
lea eax, [esi + 8]
lock xadd dword [eax], ecx
mov edx, dword [esp + 0x78]
or edi, 0xffffffff
mov eax, dword [edx + 0xec]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x10034b1e
add eax, 8
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x10034b1e
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0xe8]
mov dword [edx + 0xec], esi
mov dword [edx + 0xe8], ecx
mov byte [esp + 0x108], 0xa
lea ecx, [esp + 0xf8]
call fcn.100050e0
mov ecx, dword [esp + 0x78]
push 0
push 0
push dword [esp + 0x78]
push dword [esp + 0xf4]
call fcn.10035140
test al, al
jne 0x10034b6c
xor eax, eax
mov dword [esp + 0x78], eax
jmp 0x10034ddc
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x7c]
add eax, 0x10
push eax
mov dword [esp + 0xfc], eax
call fcn.10032160
mov byte [esp + 0x108], 0xc
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0xec]
call fcn.10035450
movzx ecx, byte [esp + 0xa4]
test al, al
mov eax, 1
cmove ecx, eax
mov eax, dword [esp + 0x78]
mov byte [esp + 0xa4], cl
mov eax, dword [eax + 0x98]
mov dword [esp + 0x70], eax
test eax, eax
je 0x10034d05
mov ecx, dword [esp + 0xe8]
lea eax, [esp + 0xc0]
push eax
call fcn.10054d60
mov byte [esp + 0x108], 0xd
cmp dword [esp + 0xd0], 0
jne 0x10034c9d
push ecx
mov ecx, dword [esp + 0xfc]
push 0x100958e8
call fcn.100357c0
cmp eax, 0xffffffff
je 0x10034c9d
mov ecx, dword [esp + 0xf8]
inc eax
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x14]
push eax
call fcn.100099c0
mov byte [esp + 0x108], 0xe
lea ecx, [esp + 0xc0]
push eax
call fcn.10004990
mov byte [esp + 0x108], 0xd
lea ecx, [esp + 0xc]
call fcn.10002a80
push ecx
push 0x100958e0
lea ecx, [esp + 0xc8]
call fcn.10015720
cmp eax, 0xffffffff
je 0x10034c9d
push eax
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xcc]
call fcn.100099c0
mov byte [esp + 0x108], 0xf
lea ecx, [esp + 0xc0]
push eax
call fcn.10004990
mov byte [esp + 0x108], 0xd
lea ecx, [esp + 0x24]
call fcn.10002a80
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0xa6]
push 0
push 0
push dword [esp + 0xa0]
mov eax, dword [ecx]
push dword [esp + 0xa0]
push edx
push dword [esp + 0x7c]
mov eax, dword [eax + 4]
lea edx, [esp + 0xd8]
push edx
call eax
test al, al
jne 0x10034cf1
mov byte [esp + 0x108], 0xc
lea ecx, [esp + 0xc0]
call fcn.10002a80
xor eax, eax
mov dword [esp + 0x78], eax
jmp 0x10034da0
mov byte [esp + 0x108], 0xc
lea ecx, [esp + 0xc0]
call fcn.10002a80
xorps xmm0, xmm0
movq qword [esp + 0xd8], xmm0
mov dword [esp + 0xd8], vtable.RC::ISimpleDownloadDataEvent.0
mov byte [esp + 0x108], 0x10
lea eax, [esp + 0xf4]
mov dword [esp + 0xd8], vtable.DL::TSimpleDownloadDataEvent.0
mov dword [esp + 0xdc], eax
mov byte [esp + 0x108], 0x11
lea eax, [esp + 0xd8]
mov ecx, dword [esp + 0x64]
test ecx, ecx
cmovne eax, ecx
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0xec]
push ecx
mov ecx, dword [esp + 0x80]
push eax
call fcn.10035530
xor ecx, ecx
test al, al
setne cl
mov dword [esp + 0x78], ecx
mov byte [esp + 0x108], 0xc
mov dword [esp + 0xd8], vtable.DL::TSimpleDownloadDataEvent.0
mov byte [esp + 0x108], 0xc
mov dword [esp + 0xd8], vtable.RC::ISimpleDownloadDataEvent.0
mov byte [esp + 0x108], 0xa
cmp dword [esp + 0x90], 8
jb 0x10034dbf
push dword [esp + 0x7c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], ax
mov byte [esp + 0x108], 8
test esi, esi
je 0x10034e0b
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x10034e0b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x10034e0b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [esp + 0x108], 7
lea ecx, [esp + 0xf0]
call fcn.100050e0
mov byte [esp + 0x108], 0x15
lea ecx, [esp + 0x54]
call fcn.10032310
mov byte [esp + 0x108], 3
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x10034e63
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x10034e63
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x10034e63
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [esp + 0x108], 1
mov esi, dword [esp + 0xe4]
test esi, esi
je 0x10034e98
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x10034e98
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10034e98
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x108], 0xffffffff
mov esi, dword [esp + 0xf4]
test esi, esi
je 0x10034edf
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10034eca
test eax, eax
je 0x10034eca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0xf4], 0
mov eax, edi
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.10081b94
add esp, 0x100
ret 8