Function at 0x10030370
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 0x1003129c
cmp dword [esi], 0xc0dedbad
jne 0x1003129c
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x110], 0
je 0x10030400
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.1002fe40
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x100303f7
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 0x100303e8
push eax
call fcn.10031b20
add esp, 4
mov eax, dword [0x10073c58]
test eax, eax
je 0x100303f7
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 0x10030428
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x10030428
push dword [eax]
push ecx
call fcn.1002fce0
add esp, 8
mov eax, dword [esi + 0x34]
cmp eax, 3
jle 0x10030441
cmp eax, 0x10
jge 0x1003043e
cmp dword [esi + 0x18], ebx
je case.default.0x10030475
cmp eax, 3
jl 0x10030469
cmp eax, 0x10
jge 0x10030469
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x13]
push eax
push dword [ebp + 0xc]
push esi
call fcn.100301f0
mov edi, dword [ebp - 0xc]
add esp, 0x14
test al, al
jne 0x10031168
mov eax, dword [esi + 0x34]
cmp eax, 0x11
ja case.default.0x10030475
jmp dword [eax*4 + 0x100312a8]
push esi
call fcn.10046380
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
test edi, edi
jne case.0x10030475.1
cmp dword [esi + 0x34], 2
je 0x1003049f
mov dword [esi + 0x34], 2
push 1
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.10034f40
add esp, 0xc
push 2
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.10034f40
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 0x100304e0
push 0xa
push 0
push eax
push esi
call fcn.1002e500
add esp, 0x10
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x100304f8
push 2
push 0
push eax
push esi
call fcn.1002e500
add esp, 0x10
cmp dword [esi + 0x34], 3
je case.0x10030475.3
mov eax, dword [0x10073c24]
mov dword [esi + 0x34], 3
test eax, eax
je case.0x10030475.3
push esi
call eax
add esp, 4
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 5]
push eax
push esi
call fcn.10047e20
mov edi, eax
add esp, 0xc
mov dword [ebp - 0xc], edi
cmp edi, 0x59
jne 0x10030561
cmp dword [esi + 0x34], 1
je 0x1003053c
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.10029420
push esi
push edi
call fcn.100321e0
add esp, 0x14
xor edi, edi
mov dword [ebp - 0xc], edi
jmp case.0x10030475.1
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x10030576
push dword [ecx]
push eax
call fcn.1002fce0
add esp, 8
test edi, edi
jne case.0x10030475.1
push 3
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.10034f40
mov ecx, dword [ebp + 0xc]
add esp, 0xc
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx], xmm0
cmp byte [ebp - 5], bl
je 0x100305b3
cmp dword [esi + 0x34], 4
je case.0x10030475.1
mov dword [esi + 0x34], 4
jmp 0x10031144
or ebx, 0xffffffff
cmp byte [ebp - 1], 0
je 0x1003063b
cmp dword [esi + 0x34], 7
je case.0x10030475.1
mov dword [esi + 0x34], 7
cmp dword [esi + 0x18], 0
je 0x1003060b
push esi
call fcn.10035110
add esp, 4
test eax, eax
je 0x1003060b
push 2
push dword [esi + 0x18]
mov edi, 0x2a
mov dword [ebp - 0xc], edi
call fcn.10009cd0
xor eax, eax
cmp dword [esi + 0x34], 0xf
setge al
add eax, 0xf
push eax
push esi
call fcn.1002fd50
add esp, 0x10
or ebx, 0xffffffff
cmp dword [esi + 0x34], 0x10
je 0x10031237
mov ecx, dword [ebp + 8]
cmp ebx, 0xffffffff
je 0x10030400
mov al, byte [ecx + 0x10e]
test al, al
jne 0x10030400
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.0x10030475.1
mov dword [esi + 0x34], 5
jmp 0x100305cd
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x10], ebx
cmp byte [eax + 0x240], bl
je 0x10030664
mov ebx, dword [eax + 0x78]
jmp 0x10030674
cmp byte [eax + 0x249], bl
je 0x10030671
mov ebx, dword [eax + 0x48]
jmp 0x10030674
mov ebx, dword [eax + 0x30]
push dword [eax + 0xec]
push ebx
push esi
call fcn.1001d5a0
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100306b1
push ebx
push 0x10073dd0
xor edi, edi
mov dword [esi + 0x920], eax
push esi
mov byte [esi + 0x934], 1
mov dword [ebp - 0xc], edi
call fcn.1000ffa0
add esp, 0xc
cmp dword [ebp - 0x10], edi
jne 0x100306c3
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.1001df80
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
push esi
push dword [ebp + 8]
call fcn.10031e10
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10030632
cmp dword [ebp - 0x10], eax
je 0x100306fb
lea eax, [ebp - 1]
push eax
push esi
call fcn.1001dbf0
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
test edi, edi
je 0x100305b3
mov dword [esi + 0x18], ebx
test edi, edi
je case.0x10030475.1
mov byte [ebp + 0x13], 1
jmp case.0x10030475.1
lea eax, [ebp - 2]
push eax
push esi
call fcn.1001f9d0
mov edi, eax
add esp, 8
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], edi
cmp byte [eax + 0x244], bl
je 0x1003075f
xor edi, edi
or ebx, 0xffffffff
push edi
push edi
push esi
mov dword [ebp - 0xc], edi
call fcn.1002fe40
add esp, 0xc
cmp dword [esi + 0x34], 3
je case.0x10030475.1
mov eax, dword [0x10073c24]
mov dword [esi + 0x34], 3
test eax, eax
je 0x100305cd
jmp 0x10031129
test edi, edi
jne 0x10030703
or ebx, 0xffffffff
jmp 0x100305bc
lea eax, [ebp - 1]
push eax
push 0
push 0
push esi
call fcn.100082f0
add esp, 0x10
mov edi, eax
mov dword [ebp - 0xc], edi
cmp byte [ebp - 1], bl
je 0x10030792
test edi, edi
jne 0x1003079a
or ebx, 0xffffffff
jmp 0x100305bc
test edi, edi
je case.0x10030475.1
push esi
call sym.libcurl.dll_curl_pushheader_byname
push 1
push edi
push esi
call fcn.1002fe40
add esp, 0x10
mov byte [ebp + 0x13], 1
jmp case.0x10030475.1
test edi, edi
jne 0x1003079a
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x247], bl
je 0x100307d3
mov dword [esi + 0x34], 9
or ebx, 0xffffffff
jmp 0x100305cd
lea eax, [ebp - 2]
push eax
push esi
call fcn.10031c30
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x1003079a
cmp byte [ebp - 2], bl
jne 0x10030822
cmp dword [esi + 0x34], 8
je 0x100307fb
mov dword [esi + 0x34], 8
or ebx, 0xffffffff
jmp case.0x10030475.1
lea eax, [ebp - 2]
push eax
push esi
call fcn.10031cb0
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x1003079a
cmp byte [ebp - 2], bl
je case.0x10030475.1
cmp dword [esi + 0x34], 9
je 0x1003082f
mov dword [esi + 0x34], 9
or ebx, 0xffffffff
jmp case.0x10030475.1
cmp dword [esi + 0x1b4], ebx
je 0x100308b7
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1003084d
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 0x10030885
mov byte [ecx + 0x10f], bl
test eax, eax
je 0x100308b7
push 0x10073df8
push esi
call fcn.1000ff00
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.1002fe40
add esp, 0x18
mov byte [ebp + 0x13], 1
jmp case.0x10030475.1
cmp byte [esi + 0x66d], 1
jne 0x100308e7
push 0
push dword [esi + 0x18]
call fcn.10009cd0
add esp, 8
cmp dword [esi + 0x34], 0xf
je 0x100308da
mov dword [esi + 0x34], 0xf
xor edi, edi
or ebx, 0xffffffff
mov dword [ebp - 0xc], edi
jmp case.0x10030475.1
mov eax, dword [esi + 0x18]
xor edi, edi
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 8]
test eax, eax
je 0x10030905
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 0x100309ad
cmp byte [ebp - 3], bl
jne 0x10030969
cmp byte [esi + 0xd06], bl
je 0x10030954
mov eax, dword [esi + 0xd18]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x1003092e
cmp al, 5
jne 0x10030954
push 0
push 0
push esi
call fcn.1002fe40
mov eax, dword [esi + 0x18]
neg eax
sbb eax, eax
add eax, 0x10
push eax
push esi
call fcn.1002fd50
add esp, 0x14
or ebx, 0xffffffff
jmp case.0x10030475.1
cmp dword [esi + 0x34], 0xa
je 0x10030961
mov dword [esi + 0x34], 0xa
or ebx, 0xffffffff
jmp case.0x10030475.1
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x24d], bl
je 0x10030989
cmp dword [esi + 0x34], 0xb
je 0x10030981
mov dword [esi + 0x34], 0xb
or ebx, 0xffffffff
jmp case.0x10030475.1
cmp dword [esi + 0x34], 0xc
je 0x100309a5
mov eax, dword [0x10073c48]
mov dword [esi + 0x34], 0xc
test eax, eax
je 0x100309a5
push esi
call eax
add esp, 4
or ebx, 0xffffffff
jmp case.0x10030475.1
cmp edi, 0x37
jne 0x10030a5b
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x247], bl
je 0x10030a5b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push esi
call fcn.10046a40
add esp, 8
test eax, eax
je 0x100309e2
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.1002fe40
mov ecx, dword [ebp - 0x10]
add esp, 0x10
test ecx, ecx
je 0x10030a4b
test eax, eax
je 0x10030a15
cmp eax, 0x37
je 0x10030a15
mov edi, eax
push ecx
mov dword [ebp - 0xc], edi
call dword [0x1006cc54]
jmp 0x1003112c
push 2
push ecx
push esi
call fcn.10045e00
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10030a39
cmp dword [esi + 0x34], 2
je 0x10030a34
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 [0x1006cc54]
jmp 0x1003112c
push ecx
mov byte [ebp + 0x13], 1
call dword [0x1006cc54]
jmp 0x1003112c
push esi
call sym.libcurl.dll_curl_pushheader_byname
add esp, 4
cmp dword [esi + 0x18], ebx
je 0x10030a75
push 0
push edi
push esi
call fcn.1002fe40
add esp, 0xc
mov byte [ebp + 0x13], 1
jmp case.0x10030475.1
lea eax, [ebp - 3]
push eax
push esi
call fcn.10031cf0
mov edi, eax
add esp, 8
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x10030ac0
cmp byte [ebp - 3], bl
je case.0x10030475.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.1002fd50
add esp, 8
or ebx, 0xffffffff
jmp case.0x10030475.1
push esi
call sym.libcurl.dll_curl_pushheader_byname
push 0
push edi
push esi
call fcn.1002fe40
add esp, 0x10
mov byte [ebp + 0x13], 1
jmp case.0x10030475.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 0x10030b01
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 0x10030ac0
test ecx, ecx
je case.0x10030475.1
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 0xa]
push eax
push esi
call fcn.1002fd50
add esp, 8
or ebx, 0xffffffff
jmp case.0x10030475.1
mov eax, dword [esi + 0x18]
cmp byte [eax + 0x256], bl
je 0x10030b51
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x10030b51
push dword [ecx]
push eax
call fcn.1002fce0
add esp, 8
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x278], 0xffffffff
jne 0x10030b9c
cmp dword [eax + 0x27c], 0xffffffff
jne 0x10030b9c
cmp byte [esi + 0xd06], bl
je 0x10030b87
mov eax, dword [eax + 0x260]
test dword [eax + 0x50], 0x1000
jne 0x10030b87
mov eax, dword [esi + 0xd18]
mov byte [eax + 0x20], 7
cmp dword [esi + 0x34], 0xf
je 0x10030ba9
mov dword [esi + 0x34], 0xf
or ebx, 0xffffffff
jmp case.0x10030475.1
cmp dword [esi + 0x34], 0xd
je 0x10030ba9
mov dword [esi + 0x34], 0xd
or ebx, 0xffffffff
jmp case.0x10030475.1
push esi
call fcn.10035110
add esp, 4
test eax, eax
je 0x10030bc8
mov edi, 0x2a
mov dword [ebp - 0xc], edi
jmp 0x10030bea
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
movdqu xmm0, xmmword [ecx]
push esi
movdqu xmmword [eax], xmm0
call fcn.100410c0
mov edi, eax
add esp, 0x14
mov dword [ebp - 0xc], edi
test edi, edi
je 0x10030c20
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x50], 2
jne 0x10030c09
cmp edi, 0x5c
je 0x10030c09
push 2
push ecx
call fcn.10009cd0
add esp, 8
push esi
call sym.libcurl.dll_curl_pushheader_byname
push 1
push edi
push esi
call fcn.1002fe40
add esp, 0x10
jmp case.0x10030475.1
mov eax, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
or eax, ecx
movlpd qword [ebp - 0x2c], xmm0
je 0x10030c86
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.10034c70
add esp, 0x38
mov dword [ebp - 0x14], edx
jmp 0x10030c8f
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 0x10030cf7
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.10034c70
add esp, 0x38
mov ecx, eax
jmp 0x10030cfd
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
or eax, dword [ebp - 0x14]
jne 0x10030d36
mov eax, ecx
or eax, edx
jne 0x10030d36
cmp dword [esi + 0x34], 0xd
je 0x10030d18
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.100352b0
add esp, 0x14
jmp case.0x10030475.1
cmp dword [ebp - 0x14], edx
jl 0x10030d58
mov eax, dword [ebp - 0x10]
jg 0x10030d44
cmp eax, ecx
jb 0x10030d58
push 0xb
push dword [ebp - 0x14]
push eax
push esi
call fcn.1002e500
add esp, 0x10
jmp case.0x10030475.1
push 0xb
push edx
push ecx
push esi
call fcn.1002e500
add esp, 0x10
jmp case.0x10030475.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 0x10030dd6
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.10034c70
add esp, 0x38
mov dword [ebp - 0x18], edx
jmp 0x10030ddf
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 0x10030e4a
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.10034c70
add esp, 0x38
mov dword [ebp - 0x1c], eax
mov ecx, eax
jmp 0x10030e53
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 0x10031042
mov eax, ecx
or eax, edx
jne 0x10031042
push esi
call fcn.10046730
add esp, 4
mov edi, eax
mov dword [ebp - 0xc], edi
cmp byte [esi + 0x12e], bl
jne 0x10030ecb
cmp edi, 0x38
je 0x10030ecb
cmp edi, 0x5c
jne 0x10030f00
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x50], 2
jne 0x10030eab
cmp edi, 0x5c
je 0x10030eab
push 2
push ecx
call fcn.10009cd0
add esp, 8
push esi
call sym.libcurl.dll_curl_pushheader_byname
push 1
push edi
push esi
call fcn.1002fe40
add esp, 0x10
push dword [ebp - 0x10]
call dword [0x1006cc54]
jmp 0x1003112c
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.10046a40
add esp, 8
test eax, eax
jne 0x10030ef7
cmp dword [ebp - 0x10], ebx
setne al
mov byte [ebp - 4], al
test al, al
je 0x10030f00
xor edi, edi
mov byte [esi + 0x12e], 1
mov dword [ebp - 0xc], edi
jmp 0x10030f04
test edi, edi
jne 0x10030e8c
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x10030e8c
cmp byte [esi + 0x12e], bl
je 0x10031019
push esi
call fcn.10039660
add esp, 4
test al, al
jne 0x10031019
push esi
call sym.libcurl.dll_curl_pushheader_byname
add esp, 4
cmp dword [esi + 0x120], ebx
jne 0x10030fab
cmp byte [ebp - 4], bl
jne 0x10030fd2
cmp dword [esi + 0x11c], ebx
je 0x10030f8d
push dword [ebp - 0x10]
call dword [0x1006cc54]
mov eax, dword [esi + 0x11c]
push 1
push eax
push esi
mov dword [ebp - 0x10], eax
mov dword [esi + 0x11c], ebx
call fcn.10045e00
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc], edi
test edi, edi
je 0x10030f8d
push 1
push edi
push esi
mov byte [ebp + 0x13], 1
call fcn.1002fe40
mov edi, eax
add esp, 0xc
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x10030ebd
cmp dword [esi + 0x34], 0xf
je 0x10030f9a
mov dword [esi + 0x34], 0xf
push dword [ebp - 0x10]
or ebx, 0xffffffff
call dword [0x1006cc54]
jmp 0x1003112c
cmp byte [ebp - 4], bl
jne 0x10030fd2
push dword [ebp - 0x10]
call dword [0x1006cc54]
mov eax, dword [esi + 0x120]
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, 3
mov dword [esi + 0x120], ebx
jmp 0x10030fd7
mov edi, 2
push 0
push 0
push esi
call fcn.1002fe40
push edi
push dword [ebp - 0x10]
push esi
call fcn.10045e00
mov edi, eax
add esp, 0x18
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x10030ebd
cmp dword [esi + 0x34], 2
je 0x10031008
mov dword [esi + 0x34], 2
push dword [ebp - 0x10]
or ebx, 0xffffffff
call dword [0x1006cc54]
jmp 0x1003112c
cmp byte [esi + 0xcff], bl
je 0x10030ebd
push 8
push 0
push 0
push esi
call fcn.1002e500
add esp, 0x10
push dword [ebp - 0x10]
call dword [0x1006cc54]
jmp 0x1003112c
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
movdqu xmm0, xmmword [ecx]
push esi
movdqu xmmword [eax], xmm0
call fcn.100352b0
add esp, 0x14
cmp dword [esi + 0x34], 0xe
je 0x10031068
mov dword [esi + 0x34], 0xe
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmp edx, ecx
jl 0x10031090
jg 0x1003107c
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
jb 0x10031093
push 0xb
push edx
push dword [ebp - 0x14]
push esi
call fcn.1002e500
add esp, 0x10
jmp case.0x10030475.1
mov eax, dword [ebp - 0x1c]
push 0xb
push ecx
push eax
push esi
call fcn.1002e500
add esp, 0x10
jmp case.0x10030475.1
mov eax, dword [esi + 0x18]
or ebx, 0xffffffff
test eax, eax
je 0x100310d7
cmp byte [eax + 0x256], 0
je 0x100310c3
push dword [ebp + 8]
call fcn.10031c10
add esp, 4
push 0
push edi
push esi
call fcn.1002fe40
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [ebp - 0xc], edi
cmp byte [esi + 0xd06], 0
je 0x100310fb
mov eax, dword [esi + 0xd18]
cmp byte [eax + 0x20], 7
je 0x100310fb
cmp dword [esi + 0x34], 0
je case.0x10030475.1
mov dword [esi + 0x34], 0
jmp 0x10031172
cmp dword [esi + 0x34], 0x10
je case.0x10030475.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 0x10031120
push eax
call fcn.10031b20
add esp, 4
mov eax, dword [0x10073c58]
test eax, eax
je case.0x10030475.1
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x34]
cmp eax, 3
jl 0x10031168
cmp eax, 9
jge 0x10031168
cmp ebx, 0xffffffff
je 0x10031168
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x10e]
test al, al
jne 0x10031168
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x13]
push eax
push ecx
push esi
call fcn.100301f0
mov edi, dword [ebp - 0xc]
add esp, 0x14
cmp dword [esi + 0x34], 0x10
jge 0x1003060f
test edi, edi
je 0x100305cd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x1003118f
push dword [ecx]
push eax
call fcn.1002fce0
add esp, 8
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x100311db
cmp byte [ebp + 0x13], 0
je 0x100311ea
cmp edi, 0x1c
push esi
push ebx
sete byte [ebp - 0x30]
call fcn.10008430
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x280]
push eax
call fcn.10029590
push 1
push ebx
push esi
mov dword [esi + 0x18], 0
call fcn.10009270
push dword [ebp - 0x30]
push ebx
push esi
call fcn.10047ec0
add esp, 0x2c
jmp 0x100311ea
cmp dword [esi + 0x34], 3
jne 0x100311ea
push esi
call sym.libcurl.dll_curl_pushheader_byname
add esp, 4
cmp dword [esi + 0x34], 0x10
je 0x10030608
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 0x10031213
push eax
call fcn.10031b20
add esp, 4
mov eax, dword [0x10073c58]
test eax, eax
je 0x10030608
push esi
call eax
add esp, 4
jmp 0x10030608
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x648]
test eax, eax
je 0x1003124d
push edi
push esi
call eax
mov ebx, dword [ebp + 8]
add esp, 8
jmp 0x1003126e
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.10029420
add esp, 0xc
cmp dword [esi + 0x34], 0x11
je 0x1003127b
mov dword [esi + 0x34], 0x11
lea eax, [esi + 0x1c]
push eax
lea eax, [ebx + 0x34]
push esi
push eax
call fcn.10029420
push esi
push ebx
call fcn.100321e0
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