Function at 0x100346ed
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push 0x3c
call fcn.100abdd1
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
push 8
call fcn.100abdd1
add esp, 4
mov dword [ebp - 0x58], eax
mov edi, eax
mov esi, 0x100d42b8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
push 0x10
call fcn.100abdd1
add esp, 4
mov dword [ebp - 0x64], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0x100d7ee5
push ebx
add ebx, 4
push ebx
push 8
call fcn.100abdd1
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 8
call fcn.100abdd1
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
add ebx, 4
push ebx
push 0x10
call fcn.100abdd1
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.10010b91
pop ebx
mov dword [ebp - 0x68], 0
push 8
call fcn.100abdd1
add esp, 4
mov dword [ebp - 0x6c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.100abdd1
add esp, 4
mov dword [ebp - 0x70], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
cmp dword [ebp + 0x90], 0
jne 0x100348fc
mov dword [ebp + 0x8c], 1
mov dword [ebp - 0x74], esp
xor eax, eax
call dword [sym.imp.WINHTTP.dll_WinHttpCheckPlatform]
nop
nop
cmp dword [ebp - 0x74], esp
je 0x10034925
push 0x84
push 0x4058910
push 6
call fcn.100abddd
add esp, 0xc
test eax, eax
je 0x100371b1
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x74]
mov dword [ebx], 0x3c
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0x78], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 0x7c], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x38
mov dword [ebp - 0x80], ebx
mov ebx, dword [ebp - 0x74]
mov dword [ebx], 0xffffffff
mov ebx, dword [ebp - 0x78]
mov dword [ebx], 0xffffffff
mov ebx, dword [ebp - 0x7c]
mov dword [ebx], 0xffffffff
mov ebx, dword [ebp - 0x80]
mov dword [ebx], 0xffffffff
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
push dword [ebp + 8]
call fcn.1000173a
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100349bb
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100349d2
mov eax, 0x100d42b8
push eax
push 1
mov ebx, 0x194
call fcn.100ad2e0
add esp, 0x10
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], esp
push dword [ebp - 4]
push 0
push dword [ebp - 0x74]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10034a00
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
nop
nop
cmp dword [ebp - 0x78], esp
je 0x10034a27
push 0x17f
push 0x4058910
push 6
call fcn.100abddd
add esp, 0xc
test eax, eax
je 0x1003717c
mov ebx, dword [ebp - 4]
add ebx, 0x10
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x14
mov dword [ebp - 0x78], ebx
mov ebx, dword [ebp - 0x78]
fild dword [ebx]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
fmul qword [0x100d42c0]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.10001713
push 0x80000301
push 0
push eax
push 0x80000301
push 0
mov ebx, dword [ebp - 0x74]
push dword [ebx]
push 2
mov ebx, 0x910
call fcn.100ae960
add esp, 0x1c
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.10001947
mov dword [ebp - 0x90], eax
mov ebx, dword [ebp - 0x8c]
test ebx, ebx
je 0x10034aba
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x90]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10034ad1
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x74]
cmp dword [ebx], 1
mov eax, 0
setl al
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], 0
push 0
push dword [ebp - 0x7c]
mov eax, str.__._____:___0_9_8765_4_32_1__
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
call fcn.1000173a
mov dword [ebp - 0x84], eax
mov ebx, dword [ebp - 0x80]
test ebx, ebx
je 0x10034b31
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 0x2c
mov dword [ebp - 0x88], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x30
mov dword [ebp - 0x8c], ebx
mov ebx, dword [ebp - 0x8c]
fild dword [ebx]
fstp qword [ebp - 0x94]
fld qword [ebp - 0x94]
fmul qword [0x100d42c0]
fstp qword [ebp - 0x9c]
fld qword [ebp - 0x9c]
call fcn.10001713
push 0x80000301
push 0
push eax
push 0x80000301
push 0
mov ebx, dword [ebp - 0x88]
push dword [ebx]
push 2
mov ebx, 0x910
call fcn.100ae960
add esp, 0x1c
mov dword [ebp - 0xa0], eax
mov ebx, dword [ebp - 4]
add ebx, 0x34
mov dword [ebp - 0xa4], ebx
mov ebx, dword [ebp - 4]
add ebx, 0x38
mov dword [ebp - 0xa8], ebx
mov ebx, dword [ebp - 0xa8]
fild dword [ebx]
fstp qword [ebp - 0xb0]
fld qword [ebp - 0xb0]
fmul qword [0x100d42c0]
fstp qword [ebp - 0xb8]
fld qword [ebp - 0xb8]
call fcn.10001713
push 0x80000301
push 0
push eax
push 0x80000301
push 0
mov ebx, dword [ebp - 0xa4]
push dword [ebx]
push 2
mov ebx, 0x910
call fcn.100ae960
add esp, 0x1c
mov dword [ebp - 0xbc], eax
push 0x100dd49a
push dword [ebp - 0xbc]
push dword [ebp - 0xa0]
mov ecx, 3
call fcn.1000565e
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov ebx, dword [ebp - 0xa0]
test ebx, ebx
je 0x10034c4c
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0xbc]
test ebx, ebx
je 0x10034c5f
push ebx
call fcn.100abdd7
add esp, 4
cmp dword [ebp - 0x78], 0
je 0x10034c8b
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x10034c86
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100abdd1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10034ca8
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x10034ca8
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100abdd1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0xc4], eax
mov ebx, dword [ebp - 0x84]
test ebx, ebx
je 0x10034cc1
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0xc0]
test ebx, ebx
je 0x10034cd4
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0xc4]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10034ceb
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x74]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x74]
cmp dword [ebx], 2
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x10034d2f
mov eax, 0x100d424e
push eax
push 1
mov ebx, 0x130
call fcn.100ae9b0
add esp, 0x10
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
mov eax, 0
setg al
test eax, eax
je 0x10034d63
mov eax, 3
jmp 0x10034d68
mov eax, 1
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
test eax, eax
jne 0x10034d80
mov eax, 0x100d424e
push eax
push 1
mov ebx, 0x130
call fcn.100ae9b0
add esp, 0x10
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
mov eax, 0
sete al
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], 0
push 0
push dword [ebp - 0x80]
push dword [ebp + 0x54]
call fcn.1000173a
mov dword [ebp - 0x84], eax
mov ebx, dword [ebp + 0x54]
push dword [ebx]
push str.http
mov ecx, 2
call fcn.100010a5
add esp, 8
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], 0
push 0
push dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
push eax
call fcn.1000173a
mov dword [ebp - 0x90], eax
mov ebx, dword [ebp - 0x88]
test ebx, ebx
je 0x10034e1c
push ebx
call fcn.100abdd7
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x10034e48
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x10034e43
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100abdd1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10034e65
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x10034e65
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100abdd1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x94], eax
mov ebx, dword [ebp - 0x84]
test ebx, ebx
je 0x10034e7e
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x90]
test ebx, ebx
je 0x10034e91
push ebx
call fcn.100abdd7
add esp, 4
cmp dword [ebp - 0x7c], 0
je 0x10034ea8
mov eax, 0x100dd49a
jmp 0x10034ec5
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x10034ec5
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100abdd1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x98], eax
mov ebx, dword [ebp - 0x94]
test ebx, ebx
je 0x10034ede
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x98]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10034ef5
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x74], esp
push 0
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10034f10
add eax, 8
push eax
push dword [ebp - 0x1c]
push 0
xor eax, eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
nop
nop
cmp dword [ebp - 0x74], esp
je 0x10034f3f
push 0x534
push 0x4058910
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10037147
mov dword [ebp - 0x74], 0
push 0
push dword [ebp - 0x74]
lea eax, [ebp - 0xc]
push eax
call fcn.1000173a
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], esp
push 0
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x10034f7c
add eax, 8
push eax
push dword [ebp - 0x24]
xor eax, eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
nop
nop
cmp dword [ebp - 0x7c], esp
je 0x10034fa9
push 0x5d9
push 0x4058910
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0x80], eax
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x10034fbf
push ebx
call fcn.100abdd7
add esp, 4
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x10037112
cmp dword [ebp + 0xc], 0
jl 0x10034fea
cmp dword [ebp + 0xc], 7
jg 0x10034fea
xor eax, eax
jmp 0x10034fef
mov eax, 1
mov dword [ebp - 0x7c], eax
fild dword [ebp + 0xc]
fstp qword [ebp - 0x84]
fld qword [ebp - 0x84]
fadd qword [0x100d4302]
fstp qword [ebp - 0x8c]
fld qword [ebp - 0x8c]
call fcn.10001713
cmp eax, 1
jl 0x10035025
cmp eax, 9
jl 0x1003503c
push 0x6da
push 0x4058910
push 9
call fcn.100abddd
add esp, 0xc
dec eax
call 0x10035042
pop ebx
add ebx, dword [eax*4 + 0x100dc6a6]
jmp ebx
mov eax, str.703
push eax
mov ebx, dword [ebp + 0x7c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003712a
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x7c]
mov dword [ebx], eax
push 0
mov ebx, 0x350
call fcn.100adc10
add esp, 4
jmp 0x10037165
mov eax, str.702
push eax
mov ebx, dword [ebp + 0x7c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003715f
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x7c]
mov dword [ebx], eax
push 0
mov ebx, 0x350
call fcn.100adc10
add esp, 4
jmp 0x1003719a
mov eax, str.701
push eax
mov ebx, dword [ebp + 0x7c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10037194
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x7c]
mov dword [ebx], eax
push 0
mov ebx, 0x350
call fcn.100adc10
add esp, 4
jmp 0x100371cf
mov eax, str.700
push eax
mov ebx, dword [ebp + 0x7c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100371c9
push ebx
call fcn.100abdd7
add esp, 4
pop eax
mov ebx, dword [ebp + 0x7c]
mov dword [ebx], eax
mov dword [ebp - 0x74], esp
push dword [ebp - 0x30]
xor eax, eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
nop
cmp dword [ebp - 0x74], esp
je 0x100371fb
push 0x2813
push 0x4058910
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0x74], esp
push dword [ebp - 0x28]
xor eax, eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
nop
cmp dword [ebp - 0x74], esp
je 0x10037227
push 0x282d
push 0x4058910
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0x74], esp
push dword [ebp - 0x24]
xor eax, eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
nop
cmp dword [ebp - 0x74], esp
je 0x10037253
push 0x2847
push 0x4058910
push 6
call fcn.100abddd
add esp, 0xc
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x1003726f
push eax
mov ebx, eax
call fcn.1000103a
inc eax
push eax
call fcn.100abdd1
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10037274
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10037291
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100372a1
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100372b1
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100372c1
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100372d1
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x100372e1
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x100372f1
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10037301
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10037311
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x10037321
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x58]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1003733f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1003733b
imul eax, dword [ebx]
jmp 0x10037330
mov ecx, eax
test ecx, ecx
je 0x1003735e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10037357
push ebx
push eax
call fcn.100abdd7
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10037345
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x10037376
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x64]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x10037396
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x6c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x924
call fcn.100b0f10
add esp, 0x10
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x70]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x984
call fcn.100b2210
add esp, 0x10
call fcn.100abdd7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x8c