Function at 0x416370
Capabilities:
Connect to http server
Create http request
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
mov eax, 0x10a8
call fcn.004a1280
mov eax, dword [0x551bd0]
xor eax, esp
mov dword [esp + 0x10a4], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10bc]
push edi
mov edi, dword [esp + 0x10bc]
xor eax, eax
lea edx, [esp + 0x50]
mov word [esp + 0x38], ax
push edx
xor ebx, ebx
xor ecx, ecx
lea eax, [esp + 0x38]
push eax
mov ebp, 7
mov word [esp + 0x5c], cx
push edi
lea ecx, [esp + 0x1f]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x1f], bl
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebx
call fcn.00415dc0
add esp, 0xc
cmp dword [esp + 0x48], ebx
jne 0x416443
mov esi, 8
cmp dword [esp + 0x68], esi
jb 0x416404
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0049a490
add esp, 4
xor edx, edx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], dx
cmp dword [esp + 0x4c], esi
jb 0x416426
mov eax, dword [esp + 0x38]
push eax
call fcn.0049a490
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049a49b
add esp, 0x10a8
ret
push ebx
push ebx
push ebx
push ebx
push str.SogouMobileTool
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x1c], eax
cmp eax, ebx
jne 0x4164a8
mov edi, 8
cmp dword [esp + 0x68], edi
jb 0x416472
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0049a490
add esp, 4
xor edx, edx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], dx
cmp dword [esp + 0x4c], edi
jb 0x416494
mov eax, dword [esp + 0x38]
push eax
call fcn.0049a490
add esp, 4
xor ecx, ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
jmp 0x41673c
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea edx, [esp + 0x28]
push edx
push 5
push eax
mov dword [esp + 0x34], 0x7530
call esi
mov ecx, dword [esp + 0x1c]
push 4
lea eax, [esp + 0x28]
push eax
push 6
push ecx
call esi
mov eax, dword [esp + 0x38]
mov esi, 8
cmp dword [esp + 0x4c], esi
jae 0x4164e5
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push 3
push 0x535d58
push 0x535d58
push 0x50
push eax
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, eax
mov dword [esp + 0x2c], ecx
cmp ecx, ebx
jne 0x416554
cmp dword [esp + 0x68], esi
jb 0x41651e
mov eax, dword [esp + 0x54]
push eax
call fcn.0049a490
add esp, 4
xor ecx, ecx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], cx
cmp dword [esp + 0x4c], esi
jb 0x416540
mov edx, dword [esp + 0x38]
push edx
call fcn.0049a490
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
jmp 0x416729
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x68], esi
jae 0x416562
lea eax, [esp + 0x54]
push ebx
push 0x84280000
push ebx
push ebx
push ebx
push eax
push 0x53900c
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x4166d6
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x4165d4
cmp dword [esp + 0x68], esi
jb 0x4165a6
mov edx, dword [esp + 0x54]
push edx
call fcn.0049a490
add esp, 4
xor eax, eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], ax
cmp dword [esp + 0x4c], esi
jb 0x4165c8
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0049a490
add esp, 4
xor edx, edx
mov word [esp + 0x38], dx
jmp 0x416712
push 0x1046
lea ecx, [esp + 0x72]
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x3c], 0x824
mov word [esp + 0x78], ax
call fcn.0049d740
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push ebx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x74]
push eax
push 0x21
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x41669b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f76
jne 0x416593
push edi
call fcn.0049d71b
mov ecx, dword [esp + 0x10c8]
lea edx, [ecx - 1]
add esp, 4
cmp eax, edx
jbe 0x41667f
cmp dword [esp + 0x68], esi
jb 0x416651
mov eax, dword [esp + 0x54]
push eax
call fcn.0049a490
add esp, 4
xor ecx, ecx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], cx
cmp dword [esp + 0x4c], esi
jb 0x416673
mov edx, dword [esp + 0x38]
push edx
call fcn.0049a490
add esp, 4
xor eax, eax
mov word [esp + 0x38], ax
jmp 0x416712
push edi
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0049b0d6
add esp, 0xc
mov dword [esp + 0x18], 1
jmp 0x416593
lea eax, [esp + 0x6c]
push eax
call fcn.0049d71b
mov ecx, dword [esp + 0x10c8]
lea edx, [ecx - 1]
add esp, 4
cmp eax, edx
ja 0x41663e
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x6c]
push edx
push ecx
push eax
call fcn.0049b0d6
mov eax, 1
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], eax
cmp dword [esp + 0x68], esi
jb 0x4166e9
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0049a490
add esp, 4
xor edx, edx
mov word [esp + 0x54], dx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebp
cmp dword [esp + 0x4c], esi
jb 0x41670b
mov eax, dword [esp + 0x38]
push eax
call fcn.0049a490
add esp, 4
xor ecx, ecx
mov word [esp + 0x38], cx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebp
cmp eax, ebx
je 0x416729
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x416738
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41674b
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esp + 0x18], ebx
je 0x416426
cmp dword [esp + 0x28], ebx
je 0x416426
xor edx, edx
mov eax, esi
mov word [esp + 0x38], dx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416773
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x3c]
call fcn.00401a86
mov edx, dword [esp + 0x10c4]
cmp edx, ebx
jbe 0x4167b1
xor eax, eax
movzx ebx, ax
mov eax, ebx
shl ebx, 0x10
or eax, ebx
mov ecx, edx
shr ecx, 1
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x4167c0
lea eax, [esp + 0x38]
push edx
push esi
push eax
call fcn.00416370
add esp, 0xc
cmp dword [esp + 0x4c], 8
mov esi, eax
jb 0x4167e1
mov eax, dword [esp + 0x38]
push eax
call fcn.0049a490
add esp, 4
mov eax, esi
jmp 0x41642a