Function at 0x10043ef0
Capabilities:
Create directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d395
mov eax, dword fs:[0]
push eax
sub esp, 0x7cc
mov eax, dword [0x1019142c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6e8], ecx
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x274
call fcn.100185f0
movzx eax, al
test eax, eax
jne 0x10043f57
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x274
call fcn.10021de0
mov dword [ebp - 0x700], eax
jmp 0x10044005
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7a4], esp
push 0x1014ac48
call fcn.100213a0
mov dword [ebp - 0x730], eax
mov ecx, dword [ebp - 0x730]
mov dword [ebp - 0x7a0], ecx
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x79c], esp
push 0x1014ac4c
call fcn.100213a0
mov dword [ebp - 0x798], eax
lea edx, [ebp - 0x1c4]
push edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x6e8]
call sym.UserAndPayClient.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_Talk2Svr::CTalk2Svr::GetValueByIni_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
mov dword [ebp - 0x734], eax
mov eax, dword [ebp - 0x734]
mov dword [ebp - 0x738], eax
mov ecx, dword [ebp - 0x738]
push ecx
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x274
call fcn.10018890
lea ecx, [ebp - 0x1c4]
call fcn.10022960
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x274
call fcn.10021de0
mov dword [ebp - 0x700], eax
mov dword [ebp - 0x73c], 0
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x2cc
call fcn.100226d0
push eax
lea ecx, [ebp - 0x134]
call fcn.10022620
mov dword [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x794], esp
push 0x1014ac54
call fcn.10022620
mov dword [ebp - 0x72c], eax
mov edx, dword [ebp - 0x72c]
mov dword [ebp - 0x790], edx
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78c], esp
push 0x1014ac58
call fcn.10022620
mov dword [ebp - 0x788], eax
lea eax, [ebp - 0x134]
push eax
mov byte [ebp - 4], 1
call fcn.1002fd80
add esp, 0x34
push 0x1014ac5c
call fcn.1001f8a0
add esp, 4
lea ecx, [ebp - 0x73c]
push ecx
mov edx, dword [ebp - 0x6e8]
movzx eax, byte [edx + 0x2f9]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x784], esp
lea edx, [ebp - 0x134]
push edx
push ecx
call fcn.1003c5e0
add esp, 8
mov dword [ebp - 0x740], eax
mov eax, dword [ebp - 0x740]
mov dword [ebp - 0x780], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x148
push ecx
mov edx, dword [ebp - 0x6e8]
add edx, 0x2a4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x77c], esp
push edx
call fcn.10021a90
mov dword [ebp - 0x778], eax
lea eax, [ebp - 0x1dc]
push eax
mov byte [ebp - 4], 1
call sym.UserAndPayClient.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Talk2Svr::CTalk2Svr::GetSetting_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____struct_tag_Check_Update_Info___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____bool__int__
add esp, 0x40
mov dword [ebp - 0x744], eax
mov ecx, dword [ebp - 0x744]
mov dword [ebp - 0x748], ecx
mov edx, dword [ebp - 0x748]
push edx
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x274
call fcn.10018890
lea ecx, [ebp - 0x1dc]
call fcn.10022960
push 0x1014ac6c
call fcn.1001f8a0
add esp, 4
mov eax, dword [ebp - 0x6e8]
movzx ecx, byte [eax + 0x1e2]
test ecx, ecx
je 0x10044a57
push 0x1014ac78
call fcn.1001f8a0
add esp, 4
mov edx, dword [ebp - 0x6e8]
movzx eax, byte [edx + 0x1e1]
test eax, eax
je 0x10044a01
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp - 0x6e8]
call sym.UserAndPayClient.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_Talk2Svr::CTalk2Svr::GetCurrentPathW_void_
mov byte [ebp - 4], 4
lea edx, [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x74]
call fcn.10021b20
mov byte [ebp - 4], 5
push 0x1014ac88
lea ecx, [ebp - 0x74]
call fcn.10018620
lea ecx, [ebp - 0x74]
call fcn.100226d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
je 0x100441f6
push 0
lea ecx, [ebp - 0x74]
call fcn.100226d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x6e8]
add eax, 0x1b0
push eax
lea ecx, [ebp - 0xbc]
call fcn.10021b20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.10018760
mov byte [ebp - 4], 7
push 0x1014ac98
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x1fc
call fcn.1001a390
test eax, eax
jne 0x10044302
push 0xffffffffffffffff
push 0x1014ac9c
lea ecx, [ebp - 0xbc]
call fcn.1002fc40
mov dword [ebp - 0x74c], eax
lea ecx, [ebp - 0xbc]
call fcn.10018830
push eax
mov ecx, dword [ebp - 0x74c]
add ecx, 1
push ecx
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x1f4]
push eax
call fcn.1001bf00
add esp, 0x10
mov dword [ebp - 0x750], eax
mov ecx, dword [ebp - 0x750]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.10018670
lea ecx, [ebp - 0x1f4]
call fcn.10022b70
lea ecx, [ebp - 0xbc]
call fcn.100226d0
push eax
lea ecx, [ebp - 0x74]
call fcn.100226d0
push eax
push 0x1014aca0
lea edx, [ebp - 0x20c]
push edx
call fcn.1003d290
add esp, 0x10
mov dword [ebp - 0x754], eax
mov eax, dword [ebp - 0x754]
push eax
lea ecx, [ebp - 0x74]
call fcn.10018670
lea ecx, [ebp - 0x20c]
call fcn.10022b70
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.10025480
jmp 0x1004436e
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x1fc
call fcn.100226d0
push eax
lea ecx, [ebp - 0x74]
call fcn.100226d0
push eax
push 0x1014acac
lea edx, [ebp - 0x224]
push edx
call fcn.1003d290
add esp, 0x10
mov dword [ebp - 0x758], eax
mov eax, dword [ebp - 0x758]
push eax
lea ecx, [ebp - 0x74]
call fcn.10018670
lea ecx, [ebp - 0x224]
call fcn.10022b70
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x1fc
call fcn.100226d0
push eax
lea ecx, [ebp - 0xd4]
call fcn.10018650
mov dword [ebp - 0x6fc], 0
jmp 0x10044389
mov ecx, dword [ebp - 0x6fc]
add ecx, 1
mov dword [ebp - 0x6fc], ecx
cmp dword [ebp - 0x6fc], 2
jge 0x100449c6
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x774], esp
lea eax, [ebp - 0x74]
push eax
push edx
call fcn.1003c5e0
add esp, 8
mov dword [ebp - 0x7b0], eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.1002ad40
add esp, 0x1c
mov dword [ebp - 0x7a8], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x1c8
call fcn.10021de0
push eax
lea ecx, [ebp - 0x11c]
call fcn.1001de20
test eax, eax
jne 0x100449b2
mov edx, dword [ebp - 0x6e8]
movzx eax, byte [edx + 0x1e0]
test eax, eax
je 0x1004497e
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x198
push ecx
lea edx, [ebp - 0x23c]
push edx
call fcn.1003c5e0
add esp, 8
mov dword [ebp - 0x75c], eax
mov eax, dword [ebp - 0x75c]
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x704]
call fcn.10021de0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7ac], esp
push eax
call fcn.100213a0
mov dword [ebp - 0x708], eax
mov ecx, dword [ebp - 0x708]
mov dword [ebp - 0x7b4], ecx
mov byte [ebp - 4], 0xa
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7b8], esp
push str.packdt
call fcn.100213a0
mov dword [ebp - 0x70c], eax
mov edx, dword [ebp - 0x70c]
mov dword [ebp - 0x7bc], edx
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7c0], esp
push 0x1014acc0
call fcn.100213a0
mov dword [ebp - 0x7c4], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x6e8]
call sym.UserAndPayClient.dll_public:_void___thiscall_Talk2Svr::CTalk2Svr::WriteValuetoIni_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x23c]
call fcn.10022960
lea ecx, [ebp - 0xd4]
call fcn.100226d0
push eax
lea ecx, [ebp - 0xa4]
call fcn.100226d0
push eax
push str._supdate_s
lea eax, [ebp - 0x254]
push eax
call fcn.1003d290
add esp, 0x10
mov dword [ebp - 0x710], eax
mov ecx, dword [ebp - 0x710]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.10018670
lea ecx, [ebp - 0x254]
call fcn.10022b70
push 0
lea ecx, [ebp - 0xd4]
call fcn.100226d0
push eax
call fcn.10059f10
add esp, 8
mov dword [ebp - 0x6f0], eax
lea edx, [ebp - 0x6e4]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x6f0]
push eax
call fcn.10059f30
add esp, 0xc
mov dword [ebp - 0x6f8], 0
mov dword [ebp - 0x6ec], 0
jmp 0x10044577
mov ecx, dword [ebp - 0x6ec]
add ecx, 1
mov dword [ebp - 0x6ec], ecx
mov edx, dword [ebp - 0x6ec]
cmp edx, dword [ebp - 0x6e4]
jge 0x1004496d
lea eax, [ebp - 0x4b4]
push eax
mov ecx, dword [ebp - 0x6ec]
push ecx
mov edx, dword [ebp - 0x6f0]
push edx
call fcn.10059f30
add esp, 0xc
lea ecx, [ebp - 0x8c]
call fcn.10018760
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x284]
call fcn.10021e90
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x104]
call fcn.10022620
mov byte [ebp - 4], 0xe
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7c8], esp
push 0x1014ace4
call fcn.10022620
mov dword [ebp - 0x714], eax
mov ecx, dword [ebp - 0x714]
mov dword [ebp - 0x7cc], ecx
mov byte [ebp - 4], 0xf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7d0], esp
push 0x1014ace8
call fcn.10022620
mov dword [ebp - 0x7d4], eax
lea edx, [ebp - 0x104]
push edx
mov byte [ebp - 4], 0xe
call fcn.1002fd80
add esp, 0x34
lea eax, [ebp - 0x104]
push eax
push 0x1014acec
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.1001b0d0
mov ecx, eax
call fcn.10018620
mov ecx, eax
call fcn.1001b0d0
lea ecx, [ebp - 0x8c]
call fcn.100226d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x8c]
call fcn.100226d0
push eax
mov edx, dword [ebp - 0x6ec]
push edx
mov eax, dword [ebp - 0x6f0]
push eax
call fcn.1005a030
add esp, 0xc
test eax, eax
je 0x1004493b
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xec]
call fcn.10021b20
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x14c]
call fcn.10021b20
mov byte [ebp - 4], 0x11
push 0x1014acf0
lea ecx, [ebp - 0xec]
call fcn.10018620
push str.updateerror.ini
lea ecx, [ebp - 0x14c]
call fcn.10018620
mov eax, dword [ebp - 0x6f8]
add eax, 1
mov dword [ebp - 0x6f8], eax
push 0xffffffffffffffff
push 0x1014ad3c
lea ecx, [ebp - 0x8c]
call fcn.1002fc40
mov dword [ebp - 0x718], eax
lea ecx, [ebp - 0x8c]
call fcn.10018830
push eax
mov ecx, dword [ebp - 0x718]
push ecx
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x1ac]
push eax
call fcn.1001bf00
add esp, 0x10
mov byte [ebp - 4], 0x12
mov ecx, 0x12
mov esi, 0x1014ad40
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0xc
push 0x1014ad8c
lea ecx, [ebp - 0x164]
call fcn.1002fe60
mov byte [ebp - 4], 0x13
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.100fb985
add esp, 4
mov dword [ebp - 0x6f4], 0
jmp 0x1004478c
mov ecx, dword [ebp - 0x6f4]
add ecx, 1
mov dword [ebp - 0x6f4], ecx
cmp dword [ebp - 0x6f4], 0xc
jge 0x100447c0
call fcn.100fb964
cdq
mov ecx, 0x24
idiv ecx
mov esi, edx
mov edx, dword [ebp - 0x6f4]
push edx
lea ecx, [ebp - 0x164]
call fcn.1002fc70
mov cx, word [ebp + esi*2 - 0x5c]
mov word [eax], cx
jmp 0x1004477d
lea ecx, [ebp - 0x1ac]
call fcn.100226d0
push eax
lea ecx, [ebp - 0x164]
call fcn.100226d0
push eax
lea ecx, [ebp - 0xa4]
call fcn.100226d0
push eax
push 0x1014ad90
lea edx, [ebp - 0x17c]
push edx
call fcn.1003d290
add esp, 0x14
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x17c]
call fcn.100226d0
push eax
lea ecx, [ebp - 0x8c]
call fcn.100226d0
push eax
call fcn.100fba58
add esp, 8
test eax, eax
je 0x10044843
lea ecx, [ebp - 0x14c]
call fcn.100226d0
push eax
push 0x1014ada0
lea eax, [ebp - 0x4b0]
push eax
push 0x1014ada4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x8c]
call fcn.100226d0
push eax
mov ecx, dword [ebp - 0x6ec]
push ecx
mov edx, dword [ebp - 0x6f0]
push edx
call fcn.1005a030
add esp, 0xc
lea ecx, [ebp - 0x194]
call fcn.10018760
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x6f8]
push eax
push 0x1014adb4
lea ecx, [ebp - 0x26c]
push ecx
call fcn.1003d290
add esp, 0xc
mov dword [ebp - 0x71c], eax
mov edx, dword [ebp - 0x71c]
push edx
lea ecx, [ebp - 0x194]
call fcn.10018670
lea ecx, [ebp - 0x26c]
call fcn.10022b70
lea ecx, [ebp - 0xec]
call fcn.100226d0
push eax
lea ecx, [ebp - 0x17c]
call fcn.100226d0
push eax
lea ecx, [ebp - 0x194]
call fcn.100226d0
push eax
push 0x1014adc0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x194]
call fcn.10022b70
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x17c]
call fcn.10022b70
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x164]
call fcn.10022b70
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1ac]
call fcn.10022b70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x14c]
call fcn.10022b70
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xec]
call fcn.10022b70
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x104]
call fcn.10022b70
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x284]
call fcn.10022960
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8c]
call fcn.10022b70
jmp 0x10044568
mov eax, dword [ebp - 0x6f0]
push eax
call fcn.1005a050
add esp, 4
jmp 0x100449a1
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x1e4
call fcn.100226d0
push eax
lea ecx, [ebp - 0x74]
call fcn.100226d0
push eax
call fcn.1004fa50
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x11c]
call fcn.10022960
jmp 0x100449c6
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x11c]
call fcn.10022960
jmp 0x1004437a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.10022b70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbc]
call fcn.10022b70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.10022b70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.10022b70
jmp 0x10044a57
mov ecx, dword [ebp - 0x6e8]
mov edx, dword [ecx + 0x2e4]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x10044a2f
push 9
mov eax, dword [ebp - 0x6e8]
mov ecx, dword [eax + 0x2e4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10044a44
push 8
mov edx, dword [ebp - 0x6e8]
mov eax, dword [edx + 0x2e4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
push 5
mov ecx, dword [ebp - 0x6e8]
call sym.UserAndPayClient.dll_public:_int___thiscall_Talk2Svr::CTalk2Svr::MessageWndUI_enum_Talk2Svr::CTalk2Svr::MessageBoxUI__bool__wchar_t___bool_
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x274
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x7d8], esp
push ecx
mov ecx, edx
call fcn.10021a90
mov dword [ebp - 0x720], eax
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x760], eax
mov byte [ebp - 4], 0x16
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x764], esp
push 0x1014add0
call fcn.100213a0
mov dword [ebp - 0x724], eax
mov ecx, dword [ebp - 0x724]
mov dword [ebp - 0x768], ecx
mov byte [ebp - 4], 0x17
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x76c], esp
push 0x1014add4
call fcn.100213a0
mov dword [ebp - 0x770], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6e8]
call sym.UserAndPayClient.dll_public:_void___thiscall_Talk2Svr::CTalk2Svr::WriteValuetoIni_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
push 0x1014addc
call fcn.1001f8a0
add esp, 4
mov edx, dword [ebp - 0x700]
mov dword [ebp - 0x728], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.10022b70
mov eax, dword [ebp - 0x728]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ddfee
mov esp, ebp
pop ebp
ret