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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ac97
mov eax, dword fs:[0]
push eax
mov eax, 0x1ae4
call fcn.00419ec0
mov eax, dword [0x42500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.V1.0.2_20230110
push 0x40a8e0
call fcn.0040a6a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x1aac]
call fcn.0040ed80
push 0x208
lea eax, [ebp - 0x1aac]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea eax, [ebp - 0x1aac]
push str.CfgFeedback.ini
push 0x104
push eax
call ebx
lea eax, [ebp - 0x18a4]
push eax
lea eax, [ebp - 0x169c]
push 0x104
push eax
call ebx
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x169c]
push 0x4203ec
push 0x104
push eax
call esi
lea eax, [ebp - 0x1aac]
push eax
lea eax, [ebp - 0x169c]
push 0x104
push eax
call esi
add esp, 0x3c
lea eax, [ebp - 0x169c]
push eax
push 0x41f638
push 0x4204ac
push str.FEEDBACK
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0xc8
lea eax, [ebp - 0x1494]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x169c]
add esp, 0xc
push eax
push 0xc8
lea eax, [ebp - 0x1494]
push eax
push 0x41f638
push str.MODE
push str.FEEDBACK
call ebx
lea ecx, [ebp - 0x1494]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f981
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
sub ecx, edx
sar ecx, 1
je 0x40f9a4
lea eax, [ebp - 0x1494]
push eax
call esi
add esp, 4
push 0xc8
lea eax, [ebp - 0x1494]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x169c]
push eax
push 0xc8
lea eax, [ebp - 0x1494]
push eax
push 0x41f638
push str.MANUAL
push str.FEEDBACK
call ebx
lea ecx, [ebp - 0x1494]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f9e7
sub ecx, edx
sar ecx, 1
je 0x40fa08
lea eax, [ebp - 0x1494]
push eax
call esi
add esp, 4
mov edi, eax
jmp 0x40fa0b
or edi, 0xffffffff
push 0xc8
lea eax, [ebp - 0x1494]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x169c]
push eax
push 0xc8
lea eax, [ebp - 0x1494]
push eax
push 0x41f638
push str.MODE
push str.FEEDBACK
call ebx
lea ecx, [ebp - 0x1494]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fa50
sub ecx, edx
sar ecx, 1
je 0x40fa81
lea eax, [ebp - 0x1494]
push eax
call esi
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1ab0], ebx
cmp ebx, 1
jne 0x40fa8a
mov edx, 0x4204e4
jmp 0x40fa8f
or ebx, 0xffffffff
mov dword [ebp - 0x1ab0], ebx
mov edx, 0x4204f4
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x40a8e0
call fcn.0040a6a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 6
push str.UnKnow
lea ecx, [ebp - 0x105c]
mov dword [ebp - 0x1048], 0xf
mov dword [ebp - 0x104c], 0
mov byte [ebp - 0x105c], 0
call fcn.004098a0
push 0x180
lea eax, [ebp - 0x1304]
mov dword [ebp - 4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1304]
call fcn.0040f650
test al, al
je 0x40fc84
push 1
push 0x41f788
lea ecx, [ebp - 0x105c]
call fcn.004098a0
cmp byte [ebp - 0x12c4], 0
jne 0x40fb23
xor ecx, ecx
jmp 0x40fb39
lea ecx, [ebp - 0x12c4]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fb30
sub ecx, edx
push ecx
lea eax, [ebp - 0x12c4]
push eax
lea ecx, [ebp - 0x105c]
call fcn.00409b70
push 2
push 0x420504
lea ecx, [ebp - 0x105c]
call fcn.00409b70
cmp byte [ebp - 0x1204], 0
jne 0x40fb6b
xor ecx, ecx
jmp 0x40fb7d
lea ecx, [ebp - 0x1204]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fb74
sub ecx, edx
push ecx
lea eax, [ebp - 0x1204]
push eax
lea ecx, [ebp - 0x105c]
call fcn.00409b70
push 2
push 0x420504
lea ecx, [ebp - 0x105c]
call fcn.00409b70
cmp byte [ebp - 0x11c4], 0
jne 0x40fbaf
xor ecx, ecx
jmp 0x40fbc1
lea ecx, [ebp - 0x11c4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fbb8
sub ecx, edx
push ecx
lea eax, [ebp - 0x11c4]
push eax
lea ecx, [ebp - 0x105c]
call fcn.00409b70
push 7
push str.__Lon:
lea ecx, [ebp - 0x105c]
call fcn.00409b70
cmp byte [ebp - 0x1244], 0
jne 0x40fbf3
xor ecx, ecx
jmp 0x40fc09
lea ecx, [ebp - 0x1244]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fc00
sub ecx, edx
push ecx
lea eax, [ebp - 0x1244]
push eax
lea ecx, [ebp - 0x105c]
call fcn.00409b70
push 6
push str.__Lat:
lea ecx, [ebp - 0x105c]
call fcn.00409b70
cmp byte [ebp - 0x1284], 0
jne 0x40fc3b
xor ecx, ecx
jmp 0x40fc4d
lea ecx, [ebp - 0x1284]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fc44
sub ecx, edx
push ecx
lea eax, [ebp - 0x1284]
push eax
lea ecx, [ebp - 0x105c]
call fcn.00409b70
push 1
push 0x420518
lea ecx, [ebp - 0x105c]
call fcn.00409b70
push 1
push 0x41f788
lea ecx, [ebp - 0x105c]
call fcn.00409b70
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x105c]
push 0x40a8e0
call fcn.0040a910
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x110
lea eax, [ebp - 0x1184]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x1aec], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x40fce6
mov eax, dword [ecx]
jmp 0x40fce8
mov eax, ecx
push 0x12
push str.zhangsq_puwell.com
mov byte [eax], 0
call fcn.004098a0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x1af0], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x40fd2c
mov eax, dword [ecx]
jmp 0x40fd2e
mov eax, ecx
push 0x10
push str.zdbwtyuuaipedhab
mov byte [eax], 0
call fcn.004098a0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x1ab8], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x40fd72
mov eax, dword [ecx]
jmp 0x40fd74
mov eax, ecx
push 0x11
push str.3150342139_qq.com
mov byte [eax], 0
call fcn.004098a0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x40fdb2
mov eax, dword [ecx]
jmp 0x40fdb4
mov eax, ecx
push 0xb
push str.smtp.qq.com
mov byte [eax], 0
call fcn.004098a0
push ecx
lea ecx, [ebp - 0x1184]
mov byte [ebp - 4], 0
call fcn.0040ef40
lea ecx, [ebp - 0x1184]
mov byte [ebp - 4], 4
call fcn.00406910
test al, al
jne 0x40fe4c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.InitService_failed_
push 0x40a8e0
call fcn.0040a6a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x169c]
push eax
push str.CreateSocket_failed_
push 0x4205a4
push str.FEEDBACK
call esi
lea ecx, [ebp - 0x1184]
call fcn.00410c60
mov eax, dword [ebp - 0x1048]
cmp eax, 0x10
jb 0x40fe44
inc eax
push eax
push dword [ebp - 0x105c]
call fcn.0040a320
or eax, 0xffffffff
jmp 0x410c36
push 0x32
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [ebp - 0x84]
call fcn.0040d110
push 0x208
lea eax, [ebp - 0x102c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x102c]
call fcn.0040cd90
mov dword [ebp - 0x1030], 0xf
mov dword [ebp - 0x1034], 0
mov byte [ebp - 0x1044], 0
mov byte [ebp - 4], 5
cmp ebx, 1
jne 0x40feb5
push 0xd
push 0x4205ac
jmp 0x40fec8
push 0x11
cmp edi, 1
jne 0x40fec3
push 0x4205bc
jmp 0x40fec8
push 0x4205d0
lea ecx, [ebp - 0x1044]
call fcn.004098a0
cmp byte [ebp - 0x84], 0
jne 0x40fee0
xor ecx, ecx
jmp 0x40fef9
lea ecx, [ebp - 0x84]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fef0
sub ecx, edx
push ecx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x1044]
call fcn.00409b70
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1abc], 0xf
push eax
lea ecx, [ebp - 0x1ad0]
mov dword [ebp - 0x1ac0], 0
mov byte [ebp - 0x1ad0], 0
call fcn.004099a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1ad0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x1108]
call fcn.004099a0
mov eax, dword [ebp - 0x1abc]
cmp eax, 0x10
jb 0x40ff6f
inc eax
push eax
push dword [ebp - 0x1ad0]
call fcn.0040a320
mov eax, dword [ebp - 0x1030]
cmp eax, 0x10
jb 0x40ff87
inc eax
push eax
push dword [ebp - 0x1044]
call fcn.0040a320
mov dword [ebp - 0x1030], 0xf
mov dword [ebp - 0x1034], 0
mov byte [ebp - 0x1044], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x105c]
cmp dword [ebp - 0x1048], 0x10
mov edx, dword [ebp - 0x104c]
cmovae ecx, dword [ebp - 0x105c]
push 6
push ecx
call fcn.00411130
add esp, 8
test eax, eax
jne 0x410042
lea eax, [ebp - 0x1074]
push eax
call fcn.004083c0
mov esi, eax
lea eax, [ebp - 0x105c]
cmp eax, esi
je 0x410026
mov eax, dword [ebp - 0x1048]
cmp eax, 0x10
jb 0x40ffff
inc eax
push eax
push dword [ebp - 0x105c]
call fcn.0040a320
push esi
lea ecx, [ebp - 0x105c]
mov dword [ebp - 0x1048], 0xf
mov dword [ebp - 0x104c], 0
mov byte [ebp - 0x105c], 0
call fcn.00409d80
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1060]
cmp eax, 0x10
jb 0x410042
inc eax
push eax
push dword [ebp - 0x1074]
call fcn.0040a320
push 7
push str.From:_t
lea ecx, [ebp - 0x1044]
call fcn.00409b70
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x105c]
push eax
lea ecx, [ebp - 0x1044]
call fcn.00409c90
push 1
push 0x41f47c
lea ecx, [ebp - 0x1044]
call fcn.00409b70
lea eax, [ebp - 0x1074]
push eax
lea ecx, [ebp - 0x1184]
call fcn.0040f1d0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x1044]
mov byte [ebp - 4], 9
call fcn.00409c90
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1060]
cmp eax, 0x10
jb 0x4100be
inc eax
push eax
push dword [ebp - 0x1074]
call fcn.0040a320
push 1
push 0x41f788
lea ecx, [ebp - 0x1044]
call fcn.00409b70
cmp ebx, 1
je 0x4101ae
push 0xc
push 0x4205ec
lea ecx, [ebp - 0x1044]
call fcn.00409b70
push 0x200
lea eax, [ebp - 0x814]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x814]
push pe_nt_image_headers32
push eax
push str.INFO
push ecx
lea ecx, [ebp - 0x1aac]
call fcn.0040eed0
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410127
sub ecx, edx
sar ecx, 1
je 0x4101ae
push pe_nt_image_headers32
lea eax, [ebp - 0x40c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push pe_nt_image_headers32
lea edx, [ebp - 0x40c]
lea ecx, [ebp - 0x814]
call fcn.0040ceb0
add esp, 0x10
cmp byte [ebp - 0x40c], 0
jne 0x410171
xor ecx, ecx
jmp 0x410189
lea ecx, [ebp - 0x40c]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410180
sub ecx, edx
push ecx
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x1044]
call fcn.00409b70
push 2
push 0x420608
lea ecx, [ebp - 0x1044]
call fcn.00409b70
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x64
lea eax, [ebp - 0xe8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
add esp, 0x18
mov word [ebp - 0x106c], ax
xorps xmm0, xmm0
mov dword [ebp - 0x1062], eax
mov word [ebp - 0x105e], ax
lea eax, [ebp - 0x106c]
push eax
movq qword [ebp - 0x106a], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x106a]
push eax
movzx eax, word [ebp - 0x106c]
push eax
push str._d_02d
lea eax, [ebp - 0xe8]
push 0x32
push eax
call fcn.0040cd10
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x4c]
push 0x1e
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
push 0x208
lea eax, [ebp - 0xe24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x102c]
push eax
push str._sLog_
lea eax, [ebp - 0xe24]
push 0x104
push eax
call fcn.0040cd10
add esp, 0x48
lea ecx, [ebp - 0xe24]
call fcn.0040d210
push 0x208
lea eax, [ebp - 0xc1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x104
lea eax, [ebp - 0x30c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push str.ver.txt
lea eax, [ebp - 0xe24]
push eax
push str._s_s
lea eax, [ebp - 0xc1c]
push 0x104
push eax
call fcn.0040cd10
add esp, 0x2c
lea eax, [ebp - 0xc1c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
call ebx
mov esi, eax
test esi, esi
je 0x410324
cmp esi, 0x104
jg 0x410324
push 0x104
lea eax, [ebp - 0x30c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x30c]
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xc1c]
push eax
push 0
push 0
call ebx
lea eax, [ebp - 0x30c]
push 0x4201b4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
mov edi, eax
add esp, 8
test edi, edi
je 0x410420
push 2
push 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push edi
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
test esi, esi
jle 0x410420
lea eax, [ebp - 0x30c]
push 0x4201b4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x410420
push 0x400
lea eax, [ebp - 0xa14]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
call ebx
add esp, 0x10
test eax, eax
jne 0x410416
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
push 0x400
lea eax, [ebp - 0xa14]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0xa14]
push 0x400
push eax
call edi
add esp, 0x18
cmp byte [ebp - 0xa14], 0
jne 0x4103e3
xor ecx, ecx
jmp 0x4103f9
lea ecx, [ebp - 0xa14]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4103f0
sub ecx, edx
push ecx
lea eax, [ebp - 0xa14]
push eax
lea ecx, [ebp - 0x1044]
call fcn.00409b70
push esi
call ebx
add esp, 4
test eax, eax
je 0x4103b1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
push 0x41f78c
lea eax, [ebp - 0xe24]
push eax
push str._s_s
lea eax, [ebp - 0xc1c]
push 0x104
push eax
call fcn.0040cd10
add esp, 0x14
lea ecx, [ebp - 0xc1c]
call fcn.0040bb50
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xc1c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
mov esi, eax
test esi, esi
je 0x4104ac
cmp esi, 0x104
jg 0x4104ac
push 0x104
lea eax, [ebp - 0x30c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x30c]
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xc1c]
push eax
push 0
push 0
call edi
lea eax, [ebp - 0x30c]
push 0x4201b4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x41059c
push 2
push 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push edi
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
test esi, esi
jle 0x41059c
lea eax, [ebp - 0x30c]
push 0x4201b4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x41059c
push 0x400
xor esi, esi
lea eax, [ebp - 0xa14]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push edi
call ebx
add esp, 4
test eax, eax
jne 0x410592
push 0x400
push eax
lea eax, [ebp - 0xa14]
push eax
call sub.VCRUNTIME140.dll_memset
push edi
lea eax, [ebp - 0xa14]
push 0x400
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
add esp, 0x18
cmp byte [ebp - 0xa14], 0
jne 0x410566
xor ecx, ecx
jmp 0x410579
lea ecx, [ebp - 0xa14]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410570
sub ecx, edx
push ecx
lea eax, [ebp - 0xa14]
push eax
lea ecx, [ebp - 0x1044]
call fcn.00409b70
inc esi
cmp esi, 8
jl 0x410527
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1ad4], 0xf
push eax
lea ecx, [ebp - 0x1ae8]
mov dword [ebp - 0x1ad8], 0
mov byte [ebp - 0x1ae8], 0
call fcn.004099a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1ae8]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x10f0]
call fcn.004099a0
mov eax, dword [ebp - 0x1ad4]
cmp eax, 0x10
jb 0x4105ff
inc eax
push eax
push dword [ebp - 0x1ae8]
call fcn.0040a320
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1030]
cmp eax, 0x10
jb 0x41061b
inc eax
push eax
push dword [ebp - 0x1044]
call fcn.0040a320
push 0x104
lea eax, [ebp - 0x208]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x104
lea eax, [ebp - 0x510]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x102c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test esi, esi
je 0x4106a6
cmp esi, 0x104
jg 0x4106a6
push 0x104
lea eax, [ebp - 0x510]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x510]
push 0
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x102c]
push eax
push 0
push 0
call esi
jmp 0x4106ac
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x510]
push eax
push str._sLog_s.zip
lea eax, [ebp - 0x208]
push 0x104
push eax
call fcn.0040afa0
add esp, 0x14
lea ecx, [ebp - 0x208]
cmp dword [ebp - 0x1ab0], 1
jne 0x4106e9
call fcn.004187b0
jmp 0x4106ee
call fcn.00416fa0
mov ebx, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
lea eax, [ebp - 0x208]
push 4
push eax
call ebx
add esp, 8
test eax, eax
jne 0x41077f
mov dword [ebp - 0x1030], 0xf
mov dword [ebp - 0x1034], eax
mov byte [ebp - 0x1044], al
cmp byte [ebp - 0x208], al
jne 0x410728
xor ecx, ecx
jmp 0x41073a
lea ecx, [ebp - 0x208]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410731
sub ecx, edx
push ecx
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x1044]
call fcn.004098a0
lea eax, [ebp - 0x1044]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x10b4]
call fcn.0040dae0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1030]
cmp eax, 0x10
jb 0x41077f
inc eax
push eax
push dword [ebp - 0x1044]
call fcn.0040a320
lea ecx, [ebp - 0x1184]
call fcn.00406cd0
test al, al
je 0x410b15
xorps xmm0, xmm0
mov dword [ebp - 0x1060], 0
movq qword [ebp - 0x1068], xmm0
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 0
mov dword [ebp - 0x1060], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1044]
push 0x12
push str.zhangsq_puwell.com
mov dword [ebp - 0x1030], 0xf
mov dword [ebp - 0x1034], 0
mov byte [ebp - 0x1044], 0
call fcn.004098a0
lea eax, [ebp - 0x1044]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x1068]
call fcn.00408780
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x1030]
cmp eax, 0x10
jb 0x410828
inc eax
push eax
push dword [ebp - 0x1044]
call fcn.0040a320
push 0x80
lea eax, [ebp - 0x104]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x80
lea eax, [ebp - 0x38c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
xor edi, edi
inc edi
lea eax, [ebp - 0x38c]
push edi
push str.ADDR_d
push eax
call fcn.00411220
push 0xc8
lea eax, [ebp - 0x1494]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x169c]
push eax
push 0xc8
lea eax, [ebp - 0x1494]
push eax
push 0x41f638
lea eax, [ebp - 0x38c]
push eax
push str.FEEDBACK
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1494]
push eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x104]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call esi
mov esi, eax
test esi, esi
je 0x41091e
cmp esi, 0x40
jg 0x41091e
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x50]
push 0
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x104]
push eax
push 0
push 0
call esi
jmp 0x410924
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410930
sub ecx, edx
cmp ecx, 1
jbe 0x4109cd
mov byte [ebp - 0x1044], al
xor eax, eax
cmp byte [ebp - 0x50], al
mov dword [ebp - 0x1030], 0xf
cmove ecx, eax
mov dword [ebp - 0x1034], 0
push ecx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1044]
call fcn.004098a0
lea eax, [ebp - 0x1044]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x1068]
call fcn.00408780
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x1030]
cmp eax, 0x10
jb 0x4109a6
inc eax
push eax
push dword [ebp - 0x1044]
call fcn.0040a320
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.copy_to:
push 0x40a8e0
call fcn.0040a6a0
lea edx, [ebp - 0x50]
mov ecx, eax
call fcn.0040a6a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp edi, 5
jl 0x410853
sub esp, 0xc
lea eax, [ebp - 0x1068]
mov ecx, esp
mov dword [ebp - 0x1ab4], esp
push eax
call fcn.00410e80
cmp dword [ebp - 0x1ab0], 1
jne 0x410a37
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x410a2c
mov eax, dword [ecx]
push 0xe
push str.Puwell_Factory
jmp 0x410a6f
push 0xe
mov eax, ecx
push str.Puwell_Factory
jmp 0x410a6f
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x410a66
mov eax, dword [ecx]
jmp 0x410a68
mov eax, ecx
push 7
push str.Factory
mov byte [eax], 0
call fcn.004098a0
lea ecx, [ebp - 0x1184]
mov byte [ebp - 4], 0xc
call fcn.00407350
lea ecx, [ebp - 0x1184]
mov edi, eax
call fcn.00407220
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x1068]
test esi, esi
je 0x410ad8
push dword [ebp - 0x1ab4]
mov edx, dword [ebp - 0x1064]
push ecx
mov ecx, esi
call fcn.0040aee0
mov ecx, dword [ebp - 0x1060]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a170
test edi, edi
je 0x410b15
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push edi
push 0x4203f0
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.0040cd10
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x169c]
add esp, 0x1c
push eax
lea eax, [ebp - 0x50]
push eax
push 0x4205a4
jmp 0x410b44
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x169c]
push eax
push 0x42067c
push 0x420680
push str.FEEDBACK
call esi
lea eax, [ebp - 0x169c]
push eax
push 0x41f638
push str.INFO
push str.FEEDBACK
call esi
lea eax, [ebp - 0x208]
push 0
push eax
call ebx
mov esi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 8
test eax, eax
jne 0x410b99
lea eax, [ebp - 0x208]
push eax
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
mov edx, str.remove:_t
push 0x40a8e0
call fcn.0040a6a0
lea edx, [ebp - 0x208]
mov ecx, eax
call fcn.0040a6a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x104
lea eax, [ebp - 0x614]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x510]
push eax
push str._sLogDump.dmp
lea eax, [ebp - 0x614]
push 0x104
push eax
call fcn.0040afa0
lea eax, [ebp - 0x614]
push 0
push eax
call ebx
add esp, 0x24
test eax, eax
jne 0x410c11
lea eax, [ebp - 0x614]
push eax
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
mov edx, str.remove:_t
push 0x40a8e0
call fcn.0040a6a0
lea edx, [ebp - 0x614]
mov ecx, eax
call fcn.0040a6a0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0x1184]
call fcn.00410c60
mov eax, dword [ebp - 0x1048]
cmp eax, 0x10
jb 0x410c34
inc eax
push eax
push dword [ebp - 0x105c]
call fcn.0040a320
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 - 0x10]
xor ecx, ebp
call fcn.00418d36
mov esp, ebp
pop ebp
ret