Function at 0x498ed3
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1360]
mov eax, 0x1360
call fcn.004a1280
push 0xffffffffffffffff
push 0x50d5e8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp + 0x135c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1378]
push dword [ebp + 0x1374]
mov esi, dword [ebp + 0x137c]
mov dword [ebp - 0x10], eax
lea eax, [ebp]
xor ebx, ebx
push eax
mov byte [esi], bl
call fcn.00490558
xor eax, eax
mov edi, 0x7fe
push edi
mov word [ebp + 0x54], ax
lea eax, [ebp + 0x56]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0049d740
mov eax, dword [ebp + 4]
add esp, 0x14
cmp dword [ebp + 0x18], 8
jae 0x498f58
lea eax, [ebp + 4]
push dword [ebp + 0x136c]
push dword [ebp + 0x1368]
push dword [ebp + 0x1370]
push eax
push str.OSVersion_sOSType_dVid_dPid_d
lea eax, [ebp + 0x54]
push 0x3ff
push eax
call fcn.0049c53d
add esp, 0x1c
push str.http:__config.zhushou.sogou.com_client_index.php_routedriver_driverinfo
lea ecx, [ebp + 0x1c]
call fcn.00401685
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 1
call fcn.00403850
xor eax, eax
push 0xfe
mov word [ebp + 0x1054], ax
lea eax, [ebp + 0x1056]
push ebx
push eax
call fcn.0049d740
add esp, 0xc
push 0x7f
lea eax, [ebp + 0x1054]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
push 0x206
mov word [ebp + 0x1154], ax
lea eax, [ebp + 0x1156]
push ebx
push eax
call fcn.0049d740
lea eax, [ebp + 0x1154]
push eax
push str.SogouApkTool_
call fcn.0047abe5
add esp, 0x14
lea eax, [ebp + 0x1154]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.drv.ini
lea eax, [ebp + 0x1154]
push 0x104
push eax
call fcn.0049bcab
add esp, 0xc
push ebx
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], 0xf
call fcn.00401979
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.0043850a
cmp dword [ebp + 0x34], 8
pop ecx
mov ecx, dword [ebp + 0x20]
jae 0x49904c
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x499058
lea eax, [ebp + 0x3c]
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp + 0x1154]
push edx
push 0x523a68
push ecx
push eax
call fcn.00415c80
movzx eax, al
add esp, 0x20
cmp eax, ebx
jne 0x4990c1
xor esi, esi
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.004017de
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.0040184d
push ebx
push 1
lea ecx, [ebp]
call fcn.0040184d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x135c]
xor ecx, ebp
call fcn.0049a49b
add ebp, 0x1360
leave
ret
xor eax, eax
push edi
mov word [ebp + 0x854], ax
lea eax, [ebp + 0x856]
push ebx
push eax
call fcn.0049d740
add esp, 0xc
lea eax, [ebp + 0x1154]
push eax
push 0x400
lea eax, [ebp + 0x854]
push eax
mov edi, 0x537d6c
push edi
push 0x538be8
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x1154]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x854]
push edi
push eax
call fcn.0049bf35
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
test eax, eax
jne 0x49915f
push str.http:__download.zhushou.sogou.com_drivers_
mov byte [esi], 1
call fcn.00401829
mov eax, dword [0x558d80]
cmp eax, 0x20
jne 0x499145
push str.Android_Android32.zip
jmp 0x49914f
cmp eax, 0x40
jne 0x499157
push str.Android_Android64.zip
mov ecx, dword [ebp - 0x10]
call fcn.00403850
xor esi, esi
inc esi
jmp 0x49907b
lea eax, [ebp + 0x854]
push eax
call fcn.00401829
jmp 0x499157