Function at 0x4043f2
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2058]
mov eax, 0x2058
call fcn.00448ed0
push 0xffffffffffffffff
push 0x4605c2
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x47d550]
xor eax, ebp
mov dword [ebp + 0x2054], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x48]
call fcn.00421743
xor ebx, ebx
push 0x47ebb4
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040349b
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], ebx
jne 0x404460
lea ecx, [eax - 0x10]
jmp 0x4049d8
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.004038d8
mov esi, 0x4663f4
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040324d
mov ecx, dword [ebp - 0x20]
test eax, eax
setne byte [ebp - 0x15]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004010f6
cmp byte [ebp - 0x15], bl
je 0x4044a2
push esi
lea ecx, [ebp - 0x10]
call fcn.00403b47
push str.UPDATE_ABCHINAIS
lea ecx, [ebp - 0x10]
call fcn.00403b47
push str..CFG
lea ecx, [ebp - 0x10]
call fcn.00403b47
mov esi, dword [ebp - 0x10]
push 0x4663d4
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x24], ebx
call fcn.00448e74
add esp, 0xc
test eax, eax
je 0x4044e0
lea ecx, [esi - 0x10]
jmp 0x4049d8
cmp dword [ebp - 0x24], ebx
je 0x4044d8
push 0x1fff
lea eax, [ebp + 0x55]
push ebx
push eax
mov byte [ebp + 0x54], bl
call fcn.00446500
push dword [ebp - 0x24]
mov esi, 0x2000
push esi
lea eax, [ebp + 0x54]
push 1
push eax
call fcn.00448d93
push dword [ebp - 0x24]
mov edi, eax
mov dword [ebp - 0x14], edi
call fcn.00448a77
add esp, 0x20
cmp edi, esi
jg 0x4049d2
cmp edi, ebx
je 0x4049d2
mov eax, edi
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x404539
dec eax
or eax, 0xfffffff8
inc eax
jne 0x4049d2
push edi
call fcn.00429370
pop ecx
mov dword [ebp - 0x20], eax
mov esi, 0x100
xor edi, edi
lea eax, [edi + esi]
cmp eax, dword [ebp - 0x14]
jle 0x40455d
mov esi, dword [ebp - 0x14]
sub esi, edi
push str.EnterSafe_2010Feitian__0
push esi
lea eax, [ebp + edi + 0x54]
push eax
mov eax, dword [ebp - 0x20]
add eax, edi
push eax
call fcn.00410a2d
add edi, esi
cmp esi, 0x100
jge 0x404550
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
push 8
push esi
call fcn.00410be9
test al, al
jne 0x4045a2
push esi
call fcn.00429365
pop ecx
jmp 0x4049d2
push dword [ebp - 0x1c]
call fcn.00429370
push dword [ebp - 0x1c]
mov edi, eax
push esi
push dword [ebp - 0x1c]
push edi
call fcn.0044604f
push esi
call fcn.00429365
add esp, 0x18
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x48]
push edi
call fcn.00421a5f
push 0xf
pop esi
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], esi
call fcn.00401484
push ebx
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], esi
call fcn.00401484
push str.UPDATE_CONFIG
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00403c42
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.0042025e
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
call fcn.004014e8
push edi
call fcn.00429365
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x4049be
push str.Adr1
lea ecx, [ebp]
call fcn.00403c08
mov ecx, dword [ebp - 0x14]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00420380
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 6
call fcn.00403a43
push ebx
push esi
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.004014e8
lea eax, [ebp + 0x38]
push 3
push eax
call fcn.004203e3
pop ecx
pop ecx
mov esi, str.DEFAULT_F94174A7C1D94A0E9D57739193CF18CC
push esi
lea ecx, [ebp + 0x38]
call fcn.00403479
test eax, eax
jne 0x40469d
mov edi, dword [ebp - 0x28]
lea ecx, [edi + 0xa4]
push 0x465c28
call fcn.004017f7
jmp 0x404706
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x4046a9
lea eax, [ebp + 0x3c]
mov edi, dword [ebp - 0x28]
add edi, 0xa4
push eax
mov ecx, edi
call fcn.004017f7
push ebx
push ebx
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0042617b
add esp, 0x10
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 7
jae 0x4046dc
lea eax, [ebp + 0x20]
push ebx
push eax
push ebx
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x4046f4
push 0x465c28
mov ecx, edi
call fcn.004017f7
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.0040342e
mov edi, dword [ebp - 0x28]
push str.Adr2
lea ecx, [ebp]
call fcn.00403c08
mov ecx, dword [ebp - 0x14]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00420380
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 8
call fcn.00403a43
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.004014e8
lea eax, [ebp + 0x38]
push 3
push eax
call fcn.004203e3
pop ecx
pop ecx
push esi
lea ecx, [ebp + 0x38]
call fcn.00403479
test eax, eax
jne 0x40476e
lea ecx, [edi + 0xa8]
push 0x465c28
call fcn.004017f7
jmp 0x4047d3
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x40477a
lea eax, [ebp + 0x3c]
lea ecx, [edi + 0xa8]
push eax
call fcn.004017f7
push ebx
push ebx
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0042617b
add esp, 0x10
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 9
jae 0x4047a8
lea eax, [ebp + 0x20]
push ebx
push eax
push ebx
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x4047c4
push 0x465c28
lea ecx, [edi + 0xa8]
call fcn.004017f7
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.0040342e
push str.Adr3
lea ecx, [ebp]
call fcn.00403c08
mov ecx, dword [ebp - 0x14]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00420380
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xa
call fcn.00403a43
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.004014e8
lea eax, [ebp + 0x38]
push 3
push eax
call fcn.004203e3
pop ecx
pop ecx
push esi
lea ecx, [ebp + 0x38]
call fcn.00403479
test eax, eax
jne 0x40483b
lea ecx, [edi + 0xac]
push 0x465c28
call fcn.004017f7
jmp 0x4048a0
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x404847
lea eax, [ebp + 0x3c]
lea ecx, [edi + 0xac]
push eax
call fcn.004017f7
push ebx
push ebx
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0042617b
add esp, 0x10
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 0xb
jae 0x404875
lea eax, [ebp + 0x20]
push ebx
push eax
push ebx
call sub.urlmon.dll_IsValidURL
test eax, eax
je 0x404891
push 0x465c28
lea ecx, [edi + 0xac]
call fcn.004017f7
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.0040342e
push str.setup_time
lea ecx, [ebp]
call fcn.00403c08
mov ecx, dword [ebp - 0x14]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00420380
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xc
call fcn.00403a43
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.004014e8
lea eax, [ebp + 0x38]
push 3
push eax
call fcn.004203e3
pop ecx
pop ecx
push esi
lea ecx, [ebp + 0x38]
call fcn.00403479
test eax, eax
jne 0x4048fd
push 0x465c28
jmp 0x40490a
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x404909
lea eax, [ebp + 0x3c]
push eax
lea ecx, [edi + 0xb8]
call fcn.004017f7
push str.Updatetime
lea ecx, [ebp]
call fcn.00403c08
mov ecx, dword [ebp - 0x14]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00420380
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xd
call fcn.00403a43
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 4
call fcn.004014e8
lea eax, [ebp + 0x38]
push 3
push eax
call fcn.004203e3
pop ecx
pop ecx
push esi
lea ecx, [ebp + 0x38]
call fcn.00403479
test eax, eax
jne 0x404973
mov dword [edi + 0xb4], ebx
jmp 0x40498c
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x40497f
lea eax, [ebp + 0x3c]
push eax
call fcn.004489ea
pop ecx
mov dword [edi + 0xb4], eax
push ebx
push 1
lea ecx, [ebp + 0x38]
call fcn.004014e8
push ebx
push 1
lea ecx, [ebp]
call fcn.004014e8
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00421873
xor eax, eax
inc eax
jmp 0x4049eb
push ebx
push esi
lea ecx, [ebp + 0x38]
call fcn.004014e8
push ebx
push esi
lea ecx, [ebp]
call fcn.004014e8
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00421873
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2054]
xor ecx, ebp
call fcn.004464e5
add ebp, 0x2058
leave
ret