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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1006d860]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], esi
jmp 0x1000a879
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x44]
mov byte [ecx], 0
push eax
call fcn.10047980
xor ecx, ecx
mov dword [ebp - 0x20], esi
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
movdqu xmm0, xmmword [eax]
xor eax, eax
mov dword [ebp - 0x30], eax
movdqu xmmword [ebp - 0x14], xmm0
mov esi, dword [esi]
test esi, esi
je 0x1000a975
cmp byte [esi + 0x4e], 0
jne 0x1000a975
cmp byte [esi + 0x4d], 0
jne 0x1000a8c4
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x1000a975
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push ebx
call fcn.1000a170
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0x44], eax
movzx ecx, byte [ecx]
push ecx
push eax
push dword [esi]
push 0x1006fc3c
push ebx
push edi
call fcn.10010850
add esp, 0x2c
cmp dword [esi + 0x44], 0
jne 0x1000a906
mov ecx, dword [ebp - 0x28]
cmp byte [ecx], 0
jne 0x1000a98d
inc dword [ebp - 0x1c]
jmp 0x1000a972
cmp byte [esi + 0x4e], 0
jne 0x1000a972
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1000a922
mov dword [edi + 0x8a8], eax
push dword [esi + 0x48]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.1000a020
push edx
push eax
push esi
push edi
push ebx
call fcn.1000a3f0
add esp, 0x20
cmp byte [esi + 0x4e], 0
push dword [esi]
je 0x1000a954
push 0x1006fc5c
push ebx
push edi
call fcn.10010850
add esp, 0x10
jmp 0x1000a972
push 0x1006fc64
push ebx
push edi
call fcn.10010850
inc dword [ebp - 0x1c]
push 8
push 0
push 0
push edi
call fcn.1002fd40
add esp, 0x20
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
add dword [ebp - 0x20], 4
inc esi
mov dword [ebp - 0x30], esi
cmp esi, 2
jae 0x1000a9a0
mov esi, dword [ebp - 0x20]
jmp 0x1000a8a1
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x18], esi
mov dword [edx + eax*4 + 0x10], 0
jmp 0x1000a9a6
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x18], 0
jne 0x1000ac36
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x1000a9c2
test esi, esi
je 0x1000aaa5
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.1000a020
add esp, 0xc
test edx, edx
jl 0x1000abec
jg 0x1000a9e3
test eax, eax
jb 0x1000abec
mov eax, dword [ebp - 0x1c]
test esi, esi
jle 0x1000aaa5
mov esi, dword [ebp - 0x2c]
xor edx, edx
mov ecx, 2
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], ecx
mov esi, dword [esi]
test esi, esi
je 0x1000aa8a
cmp byte [esi + 0x4d], 0
jne 0x1000aa8a
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000aa1e
cmp byte [eax + 0x4e], 0
jne 0x1000aa51
mov ecx, dword [ebp - 0x24]
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 - 0x14]
movdqu xmmword [eax], xmm0
call fcn.10047a20
add esp, 0x20
cmp edx, dword [esi + 0x24]
jl 0x1000aa81
jg 0x1000aa51
cmp eax, dword [esi + 0x20]
jb 0x1000aa81
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.1000a020
push edx
push eax
push esi
push edi
push ebx
call fcn.1000a310
add esp, 0x20
cmp byte [esi + 0x4e], 0
je 0x1000aac2
push dword [esi]
push 0x1006fc5c
push ebx
push edi
call fcn.10010850
add esp, 0x10
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
add esi, 4
dec ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], ecx
jne 0x1000aa01
test edx, edx
jg 0x1000a873
test eax, eax
jle 0x1000aae9
mov eax, dword [ebp - 0x28]
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10052617
mov esp, ebp
pop ebp
ret
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi]
push 0x1006fc98
push ebx
push edi
call fcn.10010850
mov eax, dword [ebp - 0x1c]
add esp, 0x18
mov edx, dword [ebp - 0x18]
inc eax
inc edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
jmp 0x1000aa87
push 0x1006fcb8
push ebx
push edi
call fcn.10010850
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x24], 0
mov esi, dword [eax]
test esi, esi
je 0x1000ab30
push dword [esi + 0x44]
movzx eax, byte [esi + 0x4d]
push eax
push dword [esi]
push 0x1006fcd0
push ebx
push edi
call fcn.10010850
add esp, 0x18
cmp byte [esi + 0x4d], 0
je 0x1000ab2d
cmp dword [esi + 0x44], 0
jne 0x1000ab58
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
add eax, 4
inc esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], esi
cmp esi, 2
jb 0x1000ab02
mov ebx, 7
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x241], 0
je 0x1000ab5d
mov esi, dword [eax + 0x58]
jmp 0x1000ab7c
mov ebx, dword [esi + 0x44]
jmp 0x1000ab47
cmp byte [eax + 0x240], 0
je 0x1000ab6b
mov esi, dword [eax + 0x78]
jmp 0x1000ab7c
cmp byte [eax + 0x249], 0
je 0x1000ab79
mov esi, dword [eax + 0x48]
jmp 0x1000ab7c
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 - 0x14]
movdqu xmmword [eax], xmm0
call fcn.10047a20
add esp, 0x20
push edx
mov edx, dword [ebp - 0x34]
push eax
push dword [edx + 0xec]
push esi
push 0x1006fcf0
push edi
call fcn.10010750
add esp, 0x1c
mov eax, 0x1c
cmp dword [edi + 0x8a8], 0x274c
cmove ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10052617
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 - 0x14]
movdqu xmmword [eax], xmm0
call fcn.10047a20
push edx
push eax
push 0x1006fc74
push edi
call fcn.10010750
add esp, 0x30
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10052617
mov esp, ebp
pop ebp
ret
mov byte [ecx], 1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10052617
mov esp, ebp
pop ebp
ret