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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
lea esi, [eax + 0x10]
mov dword [ebp - 8], esi
jmp 0x1000a666
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x48]
push eax
mov byte [ecx], 0
call fcn.10045b70
xor ecx, ecx
mov dword [ebp - 0xc], esi
add esp, 4
mov dword [ebp - 4], ecx
mov dword [ebp + 8], ecx
movdqu xmm0, xmmword [eax]
xor eax, eax
mov dword [ebp - 0x10], eax
movdqu xmmword [ebp - 0x38], xmm0
movdqu xmmword [ebp - 0x28], xmm0
mov esi, dword [esi]
test esi, esi
je 0x1000a76a
cmp byte [esi + 0x4e], 0
jne 0x1000a76a
cmp byte [esi + 0x4d], 0
jne 0x1000a6b9
inc ecx
mov dword [ebp - 4], ecx
jmp 0x1000a76a
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
push esi
push edi
push ebx
call fcn.10009f90
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x44], eax
movzx ecx, byte [ecx]
push ecx
push eax
push dword [esi]
push 0x1006dc9c
push ebx
push edi
call fcn.1000ffe0
add esp, 0x2c
cmp dword [esi + 0x44], 0
jne 0x1000a6fb
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0
jne 0x1000a782
inc dword [ebp + 8]
jmp 0x1000a767
cmp byte [esi + 0x4e], 0
jne 0x1000a767
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1000a717
mov dword [edi + 0x8a8], eax
push dword [esi + 0x48]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 1
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.10009e60
push edx
push eax
push esi
push edi
push ebx
call fcn.1000a210
add esp, 0x20
cmp byte [esi + 0x4e], 0
push dword [esi]
je 0x1000a749
push 0x1006dcbc
push ebx
push edi
call fcn.1000ffe0
add esp, 0x10
jmp 0x1000a767
push 0x1006dcc4
push ebx
push edi
call fcn.1000ffe0
inc dword [ebp + 8]
push 8
push 0
push 0
push edi
call fcn.1002e500
add esp, 0x20
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
add dword [ebp - 0xc], 4
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 2
jae 0x1000a795
mov esi, dword [ebp - 0xc]
jmp 0x1000a696
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x18], esi
mov dword [edx + eax*4 + 0x10], 0
jmp 0x1000a79b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x18], 0
jne 0x1000aa10
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 4]
test eax, eax
jne 0x1000a7b7
test esi, esi
je 0x1000a896
push 1
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.10009e60
add esp, 0xc
test edx, edx
jl 0x1000a9d0
jg 0x1000a7d8
test eax, eax
jb 0x1000a9d0
mov eax, dword [ebp + 8]
test esi, esi
jle 0x1000a896
mov esi, dword [ebp - 8]
xor edx, edx
mov ecx, 2
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ecx
mov esi, dword [esi]
test esi, esi
je 0x1000a87b
cmp byte [esi + 0x4d], 0
jne 0x1000a87b
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000a80f
cmp byte [eax + 0x4e], 0
jne 0x1000a842
mov ecx, dword [ebp - 0x14]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmm0, xmmword [ecx + 0x20]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x38]
movdqu xmmword [eax], xmm0
call fcn.10045c10
add esp, 0x20
cmp edx, dword [esi + 0x24]
jl 0x1000a872
jg 0x1000a842
cmp eax, dword [esi + 0x20]
jb 0x1000a872
push 1
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.10009e60
push edx
push eax
push esi
push edi
push ebx
call fcn.1000a130
add esp, 0x20
cmp byte [esi + 0x4e], 0
je 0x1000a8a9
push dword [esi]
push 0x1006dcbc
push ebx
push edi
call fcn.1000ffe0
add esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
add esi, 4
dec ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ecx
jne 0x1000a7f6
test edx, edx
jg 0x1000a663
test eax, eax
jle 0x1000a8d0
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi]
push 0x1006dcf8
push ebx
push edi
call fcn.1000ffe0
mov eax, dword [ebp + 8]
add esp, 0x18
mov edx, dword [ebp - 4]
inc eax
inc edx
mov dword [ebp + 8], eax
mov dword [ebp - 4], edx
jmp 0x1000a878
push 0x1006dd18
push ebx
push edi
call fcn.1000ffe0
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp + 0x10], 0
lea esp, [esp]
mov esi, dword [eax]
test esi, esi
je 0x1000a91e
push dword [esi + 0x44]
movzx eax, byte [esi + 0x4d]
push eax
push dword [esi]
push 0x1006dd30
push ebx
push edi
call fcn.1000ffe0
add esp, 0x18
cmp byte [esi + 0x4d], 0
je 0x1000a91b
cmp dword [esi + 0x44], 0
jne 0x1000a946
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 0x10]
add eax, 4
inc esi
mov dword [ebp - 8], eax
mov dword [ebp + 0x10], esi
cmp esi, 2
jb 0x1000a8f0
mov ebx, 7
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x241], 0
je 0x1000a94b
mov esi, dword [eax + 0x58]
jmp 0x1000a96a
mov ebx, dword [esi + 0x44]
jmp 0x1000a935
cmp byte [eax + 0x240], 0
je 0x1000a959
mov esi, dword [eax + 0x78]
jmp 0x1000a96a
cmp byte [eax + 0x249], 0
je 0x1000a967
mov esi, dword [eax + 0x48]
jmp 0x1000a96a
mov esi, dword [eax + 0x30]
push ebx
call sym.libcurl.dll_curl_easy_strerror
movdqu xmm0, xmmword [edi + 0x750]
add esp, 4
push eax
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x38]
movdqu xmmword [eax], xmm0
call fcn.10045c10
mov ecx, dword [ebp - 0x18]
add esp, 0x20
push edx
push eax
push dword [ecx + 0xec]
push esi
push 0x1006dd50
push edi
call fcn.1000ff00
add esp, 0x1c
mov eax, 0x1c
cmp dword [edi + 0x8a8], 0x274c
cmove ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movdqu xmm0, xmmword [edi + 0x750]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x38]
movdqu xmmword [eax], xmm0
call fcn.10045c10
push edx
push eax
push 0x1006dcd4
push edi
call fcn.1000ff00
add esp, 0x30
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov byte [ecx], 1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret