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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov byte [ebp - 2], 0
mov byte [ebp - 3], 0
mov dword [ebp - 0xc], edi
test esi, esi
je 0x10032bcc
cmp dword [esi], 0xc0dedbad
jne 0x10032bcc
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x110], 0
je 0x10031d30
mov edi, 0x2a
push esi
mov dword [ebp - 0xc], edi
call sym.libcurl.dll_curl_pushheader_byname
push 0
push edi
push esi
call fcn.10031730
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x10031d27
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0x10
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x10031d18
push eax
call fcn.100335f0
add esp, 4
mov eax, dword [0x10075bf8]
test eax, eax
je 0x10031d27
push esi
call eax
add esp, 4
mov ecx, dword [ebp + 8]
lea ebx, [ebx]
mov al, byte [ecx + 0x10e]
xor ebx, ebx
mov byte [ebp + 0x13], 0
mov byte [ecx + 0x10e], bl
test al, al
je 0x10031d58
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x10031d58
push dword [eax]
push ecx
call fcn.100315d0
add esp, 8
mov eax, dword [esi + 0x34]
cmp eax, 3
jle 0x10031d71
cmp eax, 0x10
jge 0x10031d6e
cmp dword [esi + 0x18], ebx
je case.default.0x10031da5
cmp eax, 3
jl 0x10031d99
cmp eax, 0x10
jge 0x10031d99
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x13]
push eax
push dword [ebp + 0xc]
push esi
call fcn.10031b20
mov edi, dword [ebp - 0xc]
add esp, 0x14
test al, al
jne 0x10032a98
mov eax, dword [esi + 0x34]
cmp eax, 0x11
ja case.default.0x10031da5
jmp dword [eax*4 + 0x10032bd8]
push esi
call fcn.10048190
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
test edi, edi
jne case.0x10031da5.1
cmp dword [esi + 0x34], 2
je 0x10031dcf
mov dword [esi + 0x34], 2
push 1
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.10036c00
add esp, 0xc
push 2
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.10036c00
add esp, 0xc
movdqu xmm0, xmmword [eax]
mov eax, dword [ebp + 0xc]
movdqu xmmword [eax], xmm0
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x10031e10
push 0xa
push 0
push eax
push esi
call fcn.1002fd40
add esp, 0x10
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x10031e28
push 2
push 0
push eax
push esi
call fcn.1002fd40
add esp, 0x10
cmp dword [esi + 0x34], 3
je case.0x10031da5.3
mov eax, dword [0x10075bc4]
mov dword [esi + 0x34], 3
test eax, eax
je case.0x10031da5.3
push esi
call eax
add esp, 4
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 5]
push eax
push esi
call fcn.10049c80
mov edi, eax
add esp, 0xc
mov dword [ebp - 0xc], edi
cmp edi, 0x59
jne 0x10031e91
cmp dword [esi + 0x34], 1
je 0x10031e6c
mov dword [esi + 0x34], 1
mov edi, dword [ebp + 8]
lea eax, [esi + 0x1c]
push eax
push esi
lea eax, [edi + 0x24]
push eax
call fcn.1002a7d0
push esi
push edi
call fcn.10033ce0
add esp, 0x14
xor edi, edi
mov dword [ebp - 0xc], edi
jmp case.0x10031da5.1
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x10031ea6
push dword [ecx]
push eax
call fcn.100315d0
add esp, 8
test edi, edi
jne case.0x10031da5.1
push 3
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.10036c00
mov ecx, dword [ebp + 0xc]
add esp, 0xc
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx], xmm0
cmp byte [ebp - 5], bl
je 0x10031ee3
cmp dword [esi + 0x34], 4
je case.0x10031da5.1
mov dword [esi + 0x34], 4
jmp 0x10032a74
or ebx, 0xffffffff
cmp byte [ebp - 1], 0
je 0x10031f6b
cmp dword [esi + 0x34], 7
je case.0x10031da5.1
mov dword [esi + 0x34], 7
cmp dword [esi + 0x18], 0
je 0x10031f3b
push esi
call fcn.10036df0
add esp, 4
test eax, eax
je 0x10031f3b
push 2
push dword [esi + 0x18]
mov edi, 0x2a
mov dword [ebp - 0xc], edi
call fcn.10009e90
xor eax, eax
cmp dword [esi + 0x34], 0xf
setge al
add eax, 0xf
push eax
push esi
call fcn.10031640
add esp, 0x10
or ebx, 0xffffffff
cmp dword [esi + 0x34], 0x10
je 0x10032b67
mov ecx, dword [ebp + 8]
cmp ebx, 0xffffffff
je 0x10031d30
mov al, byte [ecx + 0x10e]
test al, al
jne 0x10031d30
mov dword [esi + 0x38], edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x34], 5
je case.0x10031da5.1
mov dword [esi + 0x34], 5
jmp 0x10031efd
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x10], ebx
cmp byte [eax + 0x240], bl
je 0x10031f94
mov ebx, dword [eax + 0x78]
jmp 0x10031fa4
cmp byte [eax + 0x249], bl
je 0x10031fa1
mov ebx, dword [eax + 0x48]
jmp 0x10031fa4
mov ebx, dword [eax + 0x30]
push dword [eax + 0xec]
push ebx
push esi
call fcn.1001e4c0
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10031fe1
push ebx
push 0x10075d70
xor edi, edi
mov dword [esi + 0x920], eax
push esi
mov byte [esi + 0x934], 1
mov dword [ebp - 0xc], edi
call fcn.10010810
add esp, 0xc
cmp dword [ebp - 0x10], edi
jne 0x10031ff3
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.1001efa0
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
push esi
push dword [ebp + 8]
call fcn.100338e0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10031f62
cmp dword [ebp - 0x10], eax
je 0x1003202b
lea eax, [ebp - 1]
push eax
push esi
call fcn.1001ec00
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
test edi, edi
je 0x10031ee3
mov dword [esi + 0x18], ebx
test edi, edi
je case.0x10031da5.1
mov byte [ebp + 0x13], 1
jmp case.0x10031da5.1
lea eax, [ebp - 2]
push eax
push esi
call fcn.10020b90
mov edi, eax
add esp, 8
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], edi
cmp byte [eax + 0x244], bl
je 0x1003208f
xor edi, edi
or ebx, 0xffffffff
push edi
push edi
push esi
mov dword [ebp - 0xc], edi
call fcn.10031730
add esp, 0xc
cmp dword [esi + 0x34], 3
je case.0x10031da5.1
mov eax, dword [0x10075bc4]
mov dword [esi + 0x34], 3
test eax, eax
je 0x10031efd
jmp 0x10032a59
test edi, edi
jne 0x10032033
or ebx, 0xffffffff
jmp 0x10031eec
lea eax, [ebp - 1]
push eax
push 0
push 0
push esi
call fcn.10008470
add esp, 0x10
mov edi, eax
mov dword [ebp - 0xc], edi
cmp byte [ebp - 1], bl
je 0x100320c2
test edi, edi
jne 0x100320ca
or ebx, 0xffffffff
jmp 0x10031eec
test edi, edi
je case.0x10031da5.1
push esi
call sym.libcurl.dll_curl_pushheader_byname
push 1
push edi
push esi
call fcn.10031730
add esp, 0x10
mov byte [ebp + 0x13], 1
jmp case.0x10031da5.1
test edi, edi
jne 0x100320ca
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x247], bl
je 0x10032103
mov dword [esi + 0x34], 9
or ebx, 0xffffffff
jmp 0x10031efd
lea eax, [ebp - 2]
push eax
push esi
call fcn.10033700
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x100320ca
cmp byte [ebp - 2], bl
jne 0x10032152
cmp dword [esi + 0x34], 8
je 0x1003212b
mov dword [esi + 0x34], 8
or ebx, 0xffffffff
jmp case.0x10031da5.1
lea eax, [ebp - 2]
push eax
push esi
call fcn.10033780
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x100320ca
cmp byte [ebp - 2], bl
je case.0x10031da5.1
cmp dword [esi + 0x34], 9
je 0x1003215f
mov dword [esi + 0x34], 9
or ebx, 0xffffffff
jmp case.0x10031da5.1
cmp dword [esi + 0x1b4], ebx
je 0x100321e7
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1003217d
mov byte [eax + 0x10f], 1
push dword [esi + 0xdc4]
lea eax, [esi + 0xd92]
push dword [esi + 0xdc0]
push eax
lea eax, [esi + 0xd64]
push eax
push dword [esi + 0x1b8]
mov eax, dword [esi + 0x1b4]
call eax
mov ecx, dword [esi + 0x7c]
add esp, 0x14
test ecx, ecx
je 0x100321b5
mov byte [ecx + 0x10f], bl
test eax, eax
je 0x100321e7
push 0x10075d98
push esi
call fcn.10010750
mov edi, 0x2a
push esi
mov dword [ebp - 0xc], edi
call sym.libcurl.dll_curl_pushheader_byname
push 0
push edi
push esi
call fcn.10031730
add esp, 0x18
mov byte [ebp + 0x13], 1
jmp case.0x10031da5.1
cmp byte [esi + 0x66d], 1
jne 0x10032217
push 0
push dword [esi + 0x18]
call fcn.10009e90
add esp, 8
cmp dword [esi + 0x34], 0xf
je 0x1003220a
mov dword [esi + 0x34], 0xf
xor edi, edi
or ebx, 0xffffffff
mov dword [ebp - 0xc], edi
jmp case.0x10031da5.1
mov eax, dword [esi + 0x18]
xor edi, edi
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 8]
test eax, eax
je 0x10032235
lea ecx, [ebp - 3]
push ecx
push esi
call eax
add esp, 8
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x100322dd
cmp byte [ebp - 3], bl
jne 0x10032299
cmp byte [esi + 0xd06], bl
je 0x10032284
mov eax, dword [esi + 0xd18]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x1003225e
cmp al, 5
jne 0x10032284
push 0
push 0
push esi
call fcn.10031730
mov eax, dword [esi + 0x18]
neg eax
sbb eax, eax
add eax, 0x10
push eax
push esi
call fcn.10031640
add esp, 0x14
or ebx, 0xffffffff
jmp case.0x10031da5.1
cmp dword [esi + 0x34], 0xa
je 0x10032291
mov dword [esi + 0x34], 0xa
or ebx, 0xffffffff
jmp case.0x10031da5.1
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x24d], bl
je 0x100322b9
cmp dword [esi + 0x34], 0xb
je 0x100322b1
mov dword [esi + 0x34], 0xb
or ebx, 0xffffffff
jmp case.0x10031da5.1
cmp dword [esi + 0x34], 0xc
je 0x100322d5
mov eax, dword [0x10075be8]
mov dword [esi + 0x34], 0xc
test eax, eax
je 0x100322d5
push esi
call eax
add esp, 4
or ebx, 0xffffffff
jmp case.0x10031da5.1
cmp edi, 0x37
jne 0x1003238b
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x247], bl
je 0x1003238b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push esi
call fcn.100488a0
add esp, 8
test eax, eax
je 0x10032312
mov edi, eax
mov byte [ebp + 0x13], 1
mov dword [ebp - 0xc], edi
push esi
call sym.libcurl.dll_curl_pushheader_byname
push 0
push edi
push esi
call fcn.10031730
mov ecx, dword [ebp - 0x10]
add esp, 0x10
test ecx, ecx
je 0x1003237b
test eax, eax
je 0x10032345
cmp eax, 0x37
je 0x10032345
mov edi, eax
push ecx
mov dword [ebp - 0xc], edi
call dword [0x1006c31c]
jmp 0x10032a5c
push 2
push ecx
push esi
call fcn.10047c10
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10032369
cmp dword [esi + 0x34], 2
je 0x10032364
mov dword [esi + 0x34], 2
or ebx, 0xffffffff
xor edi, edi
mov ecx, dword [ebp - 0x10]
push ecx
mov dword [ebp - 0xc], edi
call dword [0x1006c31c]
jmp 0x10032a5c
push ecx
mov byte [ebp + 0x13], 1
call dword [0x1006c31c]
jmp 0x10032a5c
push esi
call sym.libcurl.dll_curl_pushheader_byname
add esp, 4
cmp dword [esi + 0x18], ebx
je 0x100323a5
push 0
push edi
push esi
call fcn.10031730
add esp, 0xc
mov byte [ebp + 0x13], 1
jmp case.0x10031da5.1
lea eax, [ebp - 3]
push eax
push esi
call fcn.100337c0
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x100323f0
cmp byte [ebp - 3], bl
je case.0x10031da5.1
mov eax, dword [esi + 0x18]
xor ecx, ecx
cmp byte [eax + 0x24d], cl
sete cl
add ecx, 0xb
push ecx
push esi
call fcn.10031640
add esp, 8
or ebx, 0xffffffff
jmp case.0x10031da5.1
push esi
call sym.libcurl.dll_curl_pushheader_byname
push 0
push edi
push esi
call fcn.10031730
add esp, 0x10
mov byte [ebp + 0x13], 1
jmp case.0x10031da5.1
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
xor edi, edi
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10032431
lea ecx, [ebp - 0x24]
push ecx
push esi
call eax
mov ecx, dword [ebp - 0x24]
add esp, 8
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x100323f0
test ecx, ecx
je case.0x10031da5.1
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 0xa]
push eax
push esi
call fcn.10031640
add esp, 8
or ebx, 0xffffffff
jmp case.0x10031da5.1
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x256], bl
je 0x10032481
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x10032481
push dword [ecx]
push eax
call fcn.100315d0
add esp, 8
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x278], 0xffffffff
jne 0x100324cc
cmp dword [eax + 0x27c], 0xffffffff
jne 0x100324cc
cmp byte [esi + 0xd06], bl
je 0x100324b7
mov eax, dword [eax + 0x260]
test dword [eax + 0x50], 0x1000
jne 0x100324b7
mov eax, dword [esi + 0xd18]
mov byte [eax + 0x20], 7
cmp dword [esi + 0x34], 0xf
je 0x100324d9
mov dword [esi + 0x34], 0xf
or ebx, 0xffffffff
jmp case.0x10031da5.1
cmp dword [esi + 0x34], 0xd
je 0x100324d9
mov dword [esi + 0x34], 0xd
or ebx, 0xffffffff
jmp case.0x10031da5.1
push esi
call fcn.10036df0
add esp, 4
test eax, eax
je 0x100324f8
mov edi, 0x2a
mov dword [ebp - 0xc], edi
jmp 0x1003251a
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
movdqu xmm0, xmmword [ecx]
push esi
movdqu xmmword [eax], xmm0
call fcn.10042b80
mov edi, eax
add esp, 0x14
mov dword [ebp - 0xc], edi
test edi, edi
je 0x10032550
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x50], 2
jne 0x10032539
cmp edi, 0x5c
je 0x10032539
push 2
push ecx
call fcn.10009e90
add esp, 8
push esi
call sym.libcurl.dll_curl_pushheader_byname
push 1
push edi
push esi
call fcn.10031730
add esp, 0x10
jmp case.0x10031da5.1
mov eax, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
or eax, ecx
movlpd qword [ebp - 0x2c], xmm0
je 0x100325b6
mov edx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmm0, xmmword [edx]
mov edx, dword [esi + 0x208]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [esi + 0x780]
push ecx
push edx
push dword [esi + 0x794]
movdqu xmmword [eax], xmm0
push dword [esi + 0x790]
push dword [esi + 0x6dc]
push dword [esi + 0x6d8]
call fcn.10036930
add esp, 0x38
mov dword [ebp - 0x14], edx
jmp 0x100325bf
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x214]
xorps xmm0, xmm0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x210]
or eax, ecx
movlpd qword [ebp - 0x20], xmm0
je 0x10032627
mov edx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [esi + 0x798]
push ecx
push edx
push dword [esi + 0x7ac]
movdqu xmmword [eax], xmm0
push dword [esi + 0x7a8]
push dword [esi + 0x6d4]
push dword [esi + 0x6d0]
call fcn.10036930
add esp, 0x38
mov ecx, eax
jmp 0x1003262d
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
or eax, dword [ebp - 0x14]
jne 0x10032666
mov eax, ecx
or eax, edx
jne 0x10032666
cmp dword [esi + 0x34], 0xd
je 0x10032648
mov dword [esi + 0x34], 0xd
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
movdqu xmm0, xmmword [ecx]
push esi
movdqu xmmword [eax], xmm0
call fcn.10036f90
add esp, 0x14
jmp case.0x10031da5.1
cmp dword [ebp - 0x14], edx
jl 0x10032688
mov eax, dword [ebp - 0x10]
jg 0x10032674
cmp eax, ecx
jb 0x10032688
push 0xb
push dword [ebp - 0x14]
push eax
push esi
call fcn.1002fd40
add esp, 0x10
jmp case.0x10031da5.1
push 0xb
push edx
push ecx
push esi
call fcn.1002fd40
add esp, 0x10
jmp case.0x10031da5.1
mov eax, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
or eax, ecx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], bl
movlpd qword [ebp - 0x2c], xmm0
je 0x10032706
mov edx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmm0, xmmword [edx]
mov edx, dword [esi + 0x208]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [esi + 0x780]
push ecx
push edx
push dword [esi + 0x794]
movdqu xmmword [eax], xmm0
push dword [esi + 0x790]
push dword [esi + 0x6dc]
push dword [esi + 0x6d8]
call fcn.10036930
add esp, 0x38
mov dword [ebp - 0x18], edx
jmp 0x1003270f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x214]
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x210]
or eax, ecx
movlpd qword [ebp - 0x20], xmm0
je 0x1003277a
mov edx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [esi + 0x798]
push ecx
push edx
push dword [esi + 0x7ac]
movdqu xmmword [eax], xmm0
push dword [esi + 0x7a8]
push dword [esi + 0x6d4]
push dword [esi + 0x6d0]
call fcn.10036930
add esp, 0x38
mov dword [ebp - 0x1c], eax
mov ecx, eax
jmp 0x10032783
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], edx
jne 0x10032972
mov eax, ecx
or eax, edx
jne 0x10032972
push esi
call fcn.10048540
add esp, 4
mov edi, eax
mov dword [ebp - 0xc], edi
cmp byte [esi + 0x12e], bl
jne 0x100327fb
cmp edi, 0x38
je 0x100327fb
cmp edi, 0x5c
jne 0x10032830
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x50], 2
jne 0x100327db
cmp edi, 0x5c
je 0x100327db
push 2
push ecx
call fcn.10009e90
add esp, 8
push esi
call sym.libcurl.dll_curl_pushheader_byname
push 1
push edi
push esi
call fcn.10031730
add esp, 0x10
push dword [ebp - 0x10]
call dword [0x1006c31c]
jmp 0x10032a5c
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.100488a0
add esp, 8
test eax, eax
jne 0x10032827
cmp dword [ebp - 0x10], ebx
setne al
mov byte [ebp - 4], al
test al, al
je 0x10032830
xor edi, edi
mov byte [esi + 0x12e], 1
mov dword [ebp - 0xc], edi
jmp 0x10032834
test edi, edi
jne 0x100327bc
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x100327bc
cmp byte [esi + 0x12e], bl
je 0x10032949
push esi
call fcn.1003b470
add esp, 4
test al, al
jne 0x10032949
push esi
call sym.libcurl.dll_curl_pushheader_byname
add esp, 4
cmp dword [esi + 0x120], ebx
jne 0x100328db
cmp byte [ebp - 4], bl
jne 0x10032902
cmp dword [esi + 0x11c], ebx
je 0x100328bd
push dword [ebp - 0x10]
call dword [0x1006c31c]
mov eax, dword [esi + 0x11c]
push 1
push eax
push esi
mov dword [ebp - 0x10], eax
mov dword [esi + 0x11c], ebx
call fcn.10047c10
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
je 0x100328bd
push 1
push edi
push esi
mov byte [ebp + 0x13], 1
call fcn.10031730
mov edi, eax
add esp, 0xc
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x100327ed
cmp dword [esi + 0x34], 0xf
je 0x100328ca
mov dword [esi + 0x34], 0xf
push dword [ebp - 0x10]
or ebx, 0xffffffff
call dword [0x1006c31c]
jmp 0x10032a5c
cmp byte [ebp - 4], bl
jne 0x10032902
push dword [ebp - 0x10]
call dword [0x1006c31c]
mov eax, dword [esi + 0x120]
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, 3
mov dword [esi + 0x120], ebx
jmp 0x10032907
mov edi, 2
push 0
push 0
push esi
call fcn.10031730
push edi
push dword [ebp - 0x10]
push esi
call fcn.10047c10
mov edi, eax
add esp, 0x18
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x100327ed
cmp dword [esi + 0x34], 2
je 0x10032938
mov dword [esi + 0x34], 2
push dword [ebp - 0x10]
or ebx, 0xffffffff
call dword [0x1006c31c]
jmp 0x10032a5c
cmp byte [esi + 0xcff], bl
je 0x100327ed
push 8
push 0
push 0
push esi
call fcn.1002fd40
add esp, 0x10
push dword [ebp - 0x10]
call dword [0x1006c31c]
jmp 0x10032a5c
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
movdqu xmm0, xmmword [ecx]
push esi
movdqu xmmword [eax], xmm0
call fcn.10036f90
add esp, 0x14
cmp dword [esi + 0x34], 0xe
je 0x10032998
mov dword [esi + 0x34], 0xe
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmp edx, ecx
jl 0x100329c0
jg 0x100329ac
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
jb 0x100329c3
push 0xb
push edx
push dword [ebp - 0x14]
push esi
call fcn.1002fd40
add esp, 0x10
jmp case.0x10031da5.1
mov eax, dword [ebp - 0x1c]
push 0xb
push ecx
push eax
push esi
call fcn.1002fd40
add esp, 0x10
jmp case.0x10031da5.1
mov eax, dword [esi + 0x18]
or ebx, 0xffffffff
test eax, eax
je 0x10032a07
cmp byte [eax + 0x256], 0
je 0x100329f3
push dword [ebp + 8]
call fcn.100336e0
add esp, 4
push 0
push edi
push esi
call fcn.10031730
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [ebp - 0xc], edi
cmp byte [esi + 0xd06], 0
je 0x10032a2b
mov eax, dword [esi + 0xd18]
cmp byte [eax + 0x20], 7
je 0x10032a2b
cmp dword [esi + 0x34], 0
je case.0x10031da5.1
mov dword [esi + 0x34], 0
jmp 0x10032aa2
cmp dword [esi + 0x34], 0x10
je case.0x10031da5.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0x10
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x10032a50
push eax
call fcn.100335f0
add esp, 4
mov eax, dword [0x10075bf8]
test eax, eax
je case.0x10031da5.1
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x34]
cmp eax, 3
jl 0x10032a98
cmp eax, 9
jge 0x10032a98
cmp ebx, 0xffffffff
je 0x10032a98
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x10e]
test al, al
jne 0x10032a98
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x13]
push eax
push ecx
push esi
call fcn.10031b20
mov edi, dword [ebp - 0xc]
add esp, 0x14
cmp dword [esi + 0x34], 0x10
jge 0x10031f3f
test edi, edi
je 0x10031efd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x10032abf
push dword [ecx]
push eax
call fcn.100315d0
add esp, 8
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x10032b0b
cmp byte [ebp + 0x13], 0
je 0x10032b1a
cmp edi, 0x1c
push esi
push ebx
sete byte [ebp - 0x30]
call fcn.100085b0
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x280]
push eax
call fcn.1002a950
push 1
push ebx
push esi
mov dword [esi + 0x18], 0
call fcn.10009440
push dword [ebp - 0x30]
push ebx
push esi
call fcn.10049d20
add esp, 0x2c
jmp 0x10032b1a
cmp dword [esi + 0x34], 3
jne 0x10032b1a
push esi
call sym.libcurl.dll_curl_pushheader_byname
add esp, 4
cmp dword [esi + 0x34], 0x10
je 0x10031f38
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0x10
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x10032b43
push eax
call fcn.100335f0
add esp, 4
mov eax, dword [0x10075bf8]
test eax, eax
je 0x10031f38
push esi
call eax
add esp, 4
jmp 0x10031f38
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x648]
test eax, eax
je 0x10032b7d
push edi
push esi
call eax
mov ebx, dword [ebp + 8]
add esp, 8
jmp 0x10032b9e
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x3c]
push eax
push eax
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
lea eax, [ebx + 0x14]
push eax
call fcn.1002a7d0
add esp, 0xc
cmp dword [esi + 0x34], 0x11
je 0x10032bab
mov dword [esi + 0x34], 0x11
lea eax, [esi + 0x1c]
push eax
lea eax, [ebx + 0x34]
push esi
push eax
call fcn.1002a7d0
push esi
push ebx
call fcn.10033ce0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret