Function at 0x404887
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0x54
push 0x44
mov eax, 0x45d495
call fcn.00443770
mov esi, ecx
lea ecx, [ebp - 0x2c]
call fcn.004211f8
xor ebx, ebx
push 0x47cb9c
lea ecx, [ebp + 0x50]
mov dword [ebp - 4], ebx
call fcn.00402ed7
mov eax, dword [ebp + 0x50]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], ebx
jne 0x4048ea
lea ecx, [eax - 0x10]
call fcn.004010f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00421328
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x58
leave
ret 4
push 1
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x50]
call fcn.0040308c
mov edi, 0x463424
push edi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00402cb3
mov ecx, dword [ebp + 0x40]
test eax, eax
setne byte [ebp + 0x4b]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004010f6
cmp byte [ebp + 0x4b], bl
je 0x40492c
push edi
lea ecx, [ebp + 0x50]
call fcn.00403269
push str.UPDATE_ABCHINAIS
lea ecx, [ebp + 0x50]
call fcn.00403269
push str..CFG
lea ecx, [ebp + 0x50]
call fcn.00403269
mov edi, dword [ebp + 0x50]
push 0x46345c
lea eax, [ebp + 0x4c]
push edi
push eax
mov dword [ebp + 0x4c], ebx
call fcn.00445ca0
add esp, 0xc
test eax, eax
je 0x40496a
lea ecx, [edi - 0x10]
jmp 0x4048c2
cmp dword [ebp + 0x4c], ebx
je 0x404962
lea ecx, [ebp - 0x2c]
call fcn.00421204
push str.UPDATE_CONFIG
lea ecx, [ebp - 0x50]
call fcn.00403364
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004212a6
push ebx
push 1
lea ecx, [ebp - 0x50]
mov dword [ebp + 0x54], eax
mov byte [ebp - 4], 1
call fcn.004014f6
cmp dword [ebp + 0x54], ebx
jne 0x4049b6
push dword [ebp + 0x4c]
call fcn.0044588c
pop ecx
jmp 0x404962
lea edi, [esi + 0xbc]
mov eax, dword [edi]
push dword [eax - 0xc]
mov ecx, edi
call fcn.004014cc
push eax
lea ecx, [ebp + 0x1c]
call fcn.00403364
push str.Adr1
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.00403364
mov ecx, dword [ebp + 0x54]
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 5
call fcn.0042101d
push ebx
push 1
lea ecx, [ebp]
call fcn.004014f6
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 1
call fcn.004014f6
lea ecx, [esi + 0xc0]
mov eax, dword [ecx]
push dword [eax - 0xc]
call fcn.004014cc
push eax
lea ecx, [ebp]
call fcn.00403364
push str.Adr2
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 6
call fcn.00403364
mov ecx, dword [ebp + 0x54]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 7
call fcn.0042101d
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.004014f6
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.004014f6
lea ecx, [esi + 0xc4]
mov eax, dword [ecx]
push dword [eax - 0xc]
call fcn.004014cc
push eax
lea ecx, [ebp]
call fcn.00403364
push str.Adr3
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 8
call fcn.00403364
mov ecx, dword [ebp + 0x54]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 9
call fcn.0042101d
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.004014f6
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.004014f6
push 0xffffffffffffffff
mov ecx, edi
call fcn.00401cc8
or edi, 0xffffffff
push edi
lea ecx, [esi + 0xc0]
call fcn.00401cc8
push edi
lea ecx, [esi + 0xc4]
call fcn.00401cc8
cmp dword [ebp + 0x60], ebx
je 0x404c16
push 0x462c08
lea ecx, [ebp + 0x44]
call fcn.00401a70
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x44]
cmp dword [esi + 0xd0], ebx
je 0x404b11
push dword [esi + 0xcc]
jmp 0x404b13
push 0xa
push 0x463474
push eax
call fcn.00401834
mov eax, dword [ebp + 0x44]
add esp, 0xc
push dword [eax - 0xc]
lea ecx, [ebp + 0x44]
call fcn.004014cc
push eax
lea ecx, [ebp]
call fcn.00403364
push str.Updatetime
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xb
call fcn.00403364
mov ecx, dword [ebp + 0x54]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 0xc
call fcn.0042101d
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp + 0x1c]
call fcn.004014f6
push ebx
push esi
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call fcn.004014f6
push edi
lea ecx, [ebp + 0x44]
call fcn.00401cc8
lea eax, [ebp - 0x34]
push eax
call fcn.00402d56
push str._Y__m__d__H:_M:_S
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040475e
mov eax, dword [ebp + 0x38]
push dword [eax - 0xc]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xd
call fcn.004014cc
push eax
lea ecx, [ebp]
call fcn.00403364
push str.setup_time
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xe
call fcn.00403364
mov ecx, dword [ebp + 0x54]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 0xf
call fcn.0042101d
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.004014f6
push ebx
push esi
lea ecx, [ebp]
mov byte [ebp - 4], 0xd
call fcn.004014f6
push edi
lea ecx, [ebp + 0x38]
call fcn.00401cc8
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
call fcn.004010f6
mov ecx, dword [ebp + 0x44]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004010f6
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0041f92c
mov edi, eax
cmp edi, ebx
jne 0x404c39
push dword [ebp + 0x4c]
call fcn.0044588c
pop ecx
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
jmp 0x4048c2
push edi
call fcn.00425fde
push edi
push ebx
push eax
mov dword [ebp + 0x60], eax
call fcn.00443310
add esp, 0x10
push dword [ebp + 0x60]
lea ecx, [ebp - 0x2c]
call fcn.0041f92c
mov eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
lea esi, [eax*8 + 8]
push esi
call fcn.00425fde
push esi
push ebx
push eax
mov dword [ebp + 0x3c], eax
call fcn.00443310
push edi
push dword [ebp + 0x60]
push esi
push dword [ebp + 0x3c]
call fcn.00442e5a
mov eax, dword [ebp + 0x3c]
add esp, 0x20
push esi
push edi
push 8
add eax, edi
push eax
call fcn.0041090f
test al, al
jne 0x404cdc
push dword [ebp + 0x3c]
call fcn.00425fd3
pop ecx
cmp dword [ebp + 0x60], ebx
je 0x404cb5
push dword [ebp + 0x60]
call fcn.00425fd3
pop ecx
push dword [ebp + 0x4c]
call fcn.0044588c
pop ecx
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
call fcn.004010f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00421328
mov eax, ebx
jmp 0x4048d5
push esi
call fcn.00425fde
push esi
push ebx
push eax
mov dword [ebp + 0x40], eax
call fcn.00443310
add esp, 0x10
xor edi, edi
mov dword [ebp + 0x54], 0x100
mov eax, dword [ebp + 0x54]
add eax, edi
cmp eax, esi
jle 0x404d09
mov eax, esi
sub eax, edi
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x3c]
push str.EnterSafe_2010Feitian__0
push dword [ebp + 0x54]
add eax, edi
push eax
mov eax, dword [ebp + 0x40]
add eax, edi
push eax
call fcn.0041062b
add edi, dword [ebp + 0x54]
cmp dword [ebp + 0x54], 0x100
jge 0x404cf9
push dword [ebp + 0x4c]
push esi
push 1
push dword [ebp + 0x40]
call fcn.00445e8d
push dword [ebp + 0x40]
call fcn.00425fd3
add esp, 0x14
cmp dword [ebp + 0x60], ebx
je 0x404d55
push dword [ebp + 0x60]
call fcn.00425fd3
pop ecx
push dword [ebp + 0x4c]
call fcn.0044588c
pop ecx
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
call fcn.004010f6
xor ebx, ebx
inc ebx
jmp 0x404cc9