Function at 0x41cae1
Capabilities:
Get geographical location
Get hostname
Move file
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1060
call fcn.00423f50
mov eax, dword [0x46b880]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0x50
pop esi
push eax
mov dword [ebp - 0x1030], ecx
lea eax, [ebp - 0x1010]
movzx ecx, word [edx + 0x100]
mov edi, 0x1bb
push 1
cmp cx, di
push 0x3c
push eax
cmove ecx, esi
movzx eax, cx
push eax
push edx
call sym.FortiClientInstaller.exe_FR_connect
add esp, 0x18
test eax, eax
jns 0x41cb46
xor eax, eax
jmp 0x41d26b
push 0x453718
push 0
call sym.FortiClientInstaller.exe_FCP_chk_partial_obj_files
push 0x800
lea eax, [ebp - 0xe08]
push 0
push eax
call fcn.00425c30
mov eax, dword [ebx + 4]
add esp, 0x14
mov ecx, dword [ebx]
sub eax, ecx
cdq
and dword [ebp - 0x1014], 0
push 0x18
pop esi
idiv esi
mov dword [ebp - 0x102c], esi
test eax, eax
je 0x41cdec
xor esi, esi
mov dword [ebp - 0x101c], esi
and dword [ebp - 0xc], 0
lea eax, [ecx + esi]
mov byte [ebp - 8], 0
cmp dword [eax + 0x14], 0x10
jb 0x41cba5
mov eax, dword [eax]
add eax, 8
push 4
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042f410
push 4
lea eax, [ebp - 0xc]
mov byte [ebp - 8], 0
push 0x44f2c4
push eax
call fcn.0042f390
add esp, 0x18
test eax, eax
je 0x41cc18
push 4
lea eax, [ebp - 0xc]
push str.FVDB
push eax
call fcn.0042f390
add esp, 0xc
test eax, eax
je 0x41cc18
push 4
lea eax, [ebp - 0xc]
push str.FVEN
push eax
call fcn.0042f390
add esp, 0xc
test eax, eax
je 0x41cc18
push 4
lea eax, [ebp - 0xc]
push str.ASEN
push eax
call fcn.0042f390
add esp, 0xc
test eax, eax
jne 0x41cd79
xor eax, eax
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
push 0x20a
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
push eax
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x1020], eax
mov dword [ebp - 0x1024], eax
lea eax, [ebp - 0x300]
push eax
call fcn.00425c30
add esp, 0xc
lea edi, [ebp - 0x3c]
xor eax, eax
push 8
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x41cc62
mov eax, dword [eax]
push 0x11
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0042f410
mov eax, dword [ebx]
add esp, 0xc
add eax, esi
mov byte [ebp - 0x43], 0
cmp dword [eax + 0x14], 0x10
jb 0x41cc81
mov eax, dword [eax]
add eax, 0x12
push 5
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00425130
lea eax, [ebp - 0x3c]
push eax
call fcn.0042f0c9
push 0x20
mov dword [ebp - 0x1028], eax
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00425c30
mov eax, dword [ebx]
add esp, 0x1c
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x41ccbb
mov eax, dword [eax]
add eax, 0x18
push 5
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00425130
lea eax, [ebp - 0x3c]
push eax
call fcn.0042f0c9
mov edi, eax
lea eax, [ebp - 0x300]
push eax
lea eax, [ebp - 0x1018]
push eax
push 0
lea eax, [ebp - 0x1024]
push eax
lea eax, [ebp - 0x1020]
push eax
lea eax, [ebp - 0x54]
push eax
call sym.FortiClientInstaller.exe_FCP_get_obj_resume_info
add esp, 0x28
cmp eax, 1
jne 0x41cd79
mov eax, dword [ebp - 0x1028]
cmp dword [ebp - 0x1020], eax
jne 0x41cd6c
cmp dword [ebp - 0x1024], edi
jne 0x41cd6c
cmp dword [ebp - 0x1018], 0
jbe 0x41cd6c
push 0x20
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00425c30
push dword [ebp - 0x1018]
lea eax, [ebp - 0x3c]
push 0x453724
push eax
call fcn.00402c40
mov esi, dword [ebx]
lea eax, [ebp - 0x3c]
add esi, dword [ebp - 0x101c]
push eax
call fcn.0042ddf0
add esp, 0x1c
mov ecx, esi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0040b265
mov esi, dword [ebp - 0x101c]
jmp 0x41cd79
lea eax, [ebp - 0x300]
push eax
call fcn.0042f0f3
pop ecx
mov eax, dword [ebx]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x41cd85
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xe08]
push eax
call fcn.0042f2a0
mov edi, dword [ebx + 4]
mov eax, edi
pop ecx
pop ecx
mov ecx, dword [ebx]
sub eax, ecx
cdq
idiv dword [ebp - 0x102c]
dec eax
cmp dword [ebp - 0x1014], eax
jae 0x41cdc5
lea eax, [ebp - 0xe08]
push 0x453714
push eax
call fcn.0042f2a0
mov edi, dword [ebx + 4]
pop ecx
pop ecx
mov ecx, dword [ebx]
push 0x18
pop eax
add esi, eax
inc dword [ebp - 0x1014]
sub edi, ecx
mov dword [ebp - 0x101c], esi
mov eax, edi
push 0x18
cdq
pop edi
idiv edi
cmp dword [ebp - 0x1014], eax
jb 0x41cb92
push 0x30
xor ebx, ebx
lea eax, [ebp - 0x1060]
push ebx
push eax
call fcn.00425c30
lea eax, [ebp - 0x1060]
push eax
call sym.FortiClientInstaller.exe_FCP_clear_request
lea eax, [ebp - 0x1060]
push eax
call sym.FortiClientInstaller.exe_FCP_init_request
cmp byte [ebp + 0x18], bl
mov ecx, 0x453728
mov eax, 0x453738
cmovne eax, ecx
push 0x44f474
push eax
lea eax, [ebp - 0x1060]
push eax
call sym.FortiClientInstaller.exe_FCP_init_request_for_sending
push str.FCT100_FW_6.0.6_0242
lea eax, [ebp - 0x105c]
push str.Firmware
push eax
call sym.FortiClientInstaller.exe_FCP_set_param
lea eax, [ebp - 0xe08]
push eax
lea eax, [ebp - 0x105c]
push 0x453740
push eax
call sym.FortiClientInstaller.exe_FCP_set_param
push 0x44f454
lea eax, [ebp - 0x105c]
push str.AcceptDelta
push eax
call sym.FortiClientInstaller.exe_FCP_set_param
add esp, 0x44
lea eax, [ebp - 0x74]
push 0x20
push ebx
push eax
call fcn.00425c30
lea eax, [ebp - 0x74]
push 0x20
push eax
call fcn.00414805
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x105c]
push 0x44f470
push eax
call sym.FortiClientInstaller.exe_FCP_set_param
lea eax, [ebp - 0x74]
push eax
push 0x45374c
push 0x453754
lea eax, [ebp - 0xb4]
push 0x20
push eax
call fcn.00414147
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x105c]
push 0x44f3f0
push eax
call sym.FortiClientInstaller.exe_FCP_set_param
add esp, 0x40
lea eax, [ebp - 0xf4]
push 0x40
push ebx
push eax
call fcn.00425c30
lea eax, [ebp - 0x1c]
push eax
call fcn.004144cc
movzx eax, byte [ebp - 0xd]
push eax
movzx eax, byte [ebp - 0xe]
push eax
movzx eax, byte [ebp - 0xf]
push eax
movzx eax, byte [ebp - 0x10]
push eax
movzx eax, byte [ebp - 0x11]
push eax
movzx eax, byte [ebp - 0x12]
push eax
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
push str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
lea eax, [ebp - 0xf4]
push 0x40
push eax
call fcn.00414147
add esp, 0x5c
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x105c]
push 0x45375c
push eax
call sym.FortiClientInstaller.exe_FCP_set_param
mov esi, 0x100
lea eax, [ebp - 0x400]
push esi
push ebx
push eax
call fcn.00425c30
add esp, 0x18
lea edi, [ebp - 0x94]
xor eax, eax
push 8
pop ecx
rep stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x41cfd8
mov eax, dword [eax + 0xc]
push 0x1f
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0042f410
add esp, 0xc
lea eax, [ebp - 0x94]
mov byte [ebp - 0x75], bl
push eax
lea eax, [ebp - 0x105c]
push 0x453764
push eax
call sym.FortiClientInstaller.exe_FCP_set_param
push 0x208
lea eax, [ebp - 0x608]
push ebx
push eax
call fcn.00425c30
add esp, 0x18
lea eax, [ebp - 0x608]
mov esi, 0x104
push esi
push eax
push 2
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41d073
push esi
lea eax, [ebp - 0x1fc]
push ebx
push eax
call fcn.00425c30
add esp, 0xc
lea eax, [ebp - 0x1fc]
push ebx
push ebx
push esi
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x608]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x1fc]
mov byte [ebp - 0xf9], bl
push eax
lea eax, [ebp - 0x105c]
push 0x45376c
push eax
call sym.FortiClientInstaller.exe_FCP_set_param
add esp, 0xc
lea eax, [ebp - 0x1060]
push eax
lea eax, [ebp - 0x1010]
push eax
call sym.FortiClientInstaller.exe_FCP_send_request
pop ecx
pop ecx
test eax, eax
jns 0x41d0ab
lea eax, [ebp - 0x1010]
push eax
call sym.FortiClientInstaller.exe_FR_close
lea eax, [ebp - 0x1060]
push eax
call sym.FortiClientInstaller.exe_FCP_clear_request
pop ecx
pop ecx
jmp 0x41cb3f
push 0x30
push ebx
mov ebx, dword [ebp - 0x1030]
push ebx
call fcn.00425c30
push ebx
call sym.FortiClientInstaller.exe_FCP_init_response
push 0x4208c0
lea eax, [ebp - 0x1010]
push ebx
push eax
call sym.FortiClientInstaller.exe_FCP_recv_response
mov esi, eax
lea eax, [ebp - 0x1010]
push eax
call sym.FortiClientInstaller.exe_FR_close
add esp, 0x20
test esi, esi
jns 0x41d0ef
push ebx
call sym.FortiClientInstaller.exe_FCP_clear_response
jmp 0x41d098
lea eax, [ebp - 0x1060]
push eax
call sym.FortiClientInstaller.exe_FCP_clear_request
and dword [ebp - 0x1018], 0
cmp dword [ebx + 0x24], 0
pop ecx
jle 0x41d268
xor ecx, ecx
mov dword [ebp - 0x1014], ecx
mov esi, dword [ebx + 0x20]
push 4
add esi, ecx
push str.FVDB
push esi
call fcn.0042f390
add esp, 0xc
test eax, eax
je 0x41d16e
push 4
push str.FVEN
push esi
call fcn.0042f390
add esp, 0xc
test eax, eax
je 0x41d16e
push 4
push str.ASEN
push esi
call fcn.0042f390
add esp, 0xc
test eax, eax
je 0x41d16e
push 4
push 0x44f2c4
push esi
call fcn.0042f390
add esp, 0xc
test eax, eax
jne 0x41d240
cmp dword [esi + 0x48], 0
lea edi, [esi + 0x80]
jne 0x41d18f
push edi
call sym.FortiClientInstaller.exe_FCP_get_file_size
pop ecx
mov ecx, dword [esi + 0x34]
add ecx, dword [esi + 0x30]
cmp eax, ecx
jae 0x41d240
and dword [ebp - 0x101c], 0
lea eax, [ebp - 0x1024]
and dword [ebp - 0x1020], 0
and dword [ebp - 0x1024], 0
push eax
lea eax, [ebp - 0x1020]
push eax
push 0x12
lea eax, [ebp - 0x54]
push eax
push esi
call sym.FortiClientInstaller.exe_FCP_break_obj_header
add esp, 0x14
lea eax, [ebp - 0x40]
push 0x12
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp - 0x1024]
xor eax, eax
push dword [ebp - 0x1020]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x40]
push eax
push str.part_obj
push str._s__s_05d_05d
lea eax, [ebp - 0x300]
push 0x200
push eax
call fcn.00408fc5
lea eax, [ebp - 0x101c]
push eax
push 0
lea eax, [ebp - 0x300]
push eax
push edi
call sym.FortiClientInstaller.exe_FCP_append_objdata_ff
add esp, 0x2c
cmp dword [ebp - 0x101c], 0
je 0x41d240
push edi
call sym.FortiClientInstaller.exe_FCP_delete_file
lea eax, [ebp - 0x300]
push edi
push eax
call fcn.00436cb0
add esp, 0xc
mov eax, dword [ebp - 0x1018]
mov ecx, dword [ebp - 0x1014]
inc eax
add ecx, 0x29c
mov dword [ebp - 0x1018], eax
mov dword [ebp - 0x1014], ecx
cmp eax, dword [ebx + 0x24]
jl 0x41d115
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423dc5
mov esp, ebp
pop ebp
ret