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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10123035
mov eax, dword fs:[0]
push eax
sub esp, 0x7cc
mov eax, dword [0x1019842c]
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, 0x370
call fcn.10019520
movzx eax, al
test eax, eax
jne 0x100484e7
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x370
call fcn.100237b0
mov dword [ebp - 0x700], eax
jmp 0x10048595
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7a4], esp
push 0x101513f4
call fcn.10022760
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 0x101513f8
call fcn.10022760
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, 0x370
call fcn.100197c0
lea ecx, [ebp - 0x1c4]
call fcn.10023b10
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x370
call fcn.100237b0
mov dword [ebp - 0x700], eax
mov dword [ebp - 0x73c], 0
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x3c8
call fcn.10023880
push eax
lea ecx, [ebp - 0x134]
call fcn.10020010
mov dword [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x794], esp
push 0x10151400
call fcn.10020010
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 0x10151404
call fcn.10020010
mov dword [ebp - 0x788], eax
lea eax, [ebp - 0x134]
push eax
mov byte [ebp - 4], 1
call fcn.100324e0
add esp, 0x34
push 0x10151408
call fcn.10020c60
add esp, 4
lea ecx, [ebp - 0x73c]
push ecx
mov edx, dword [ebp - 0x6e8]
movzx eax, byte [edx + 0x3f5]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x784], esp
lea edx, [ebp - 0x134]
push edx
push ecx
call fcn.1003efe0
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, 0x154
push ecx
mov edx, dword [ebp - 0x6e8]
add edx, 0x3a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x77c], esp
push edx
call fcn.10022e50
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, 0x370
call fcn.100197c0
lea ecx, [ebp - 0x1dc]
call fcn.10023b10
push 0x10151418
call fcn.10020c60
add esp, 4
mov eax, dword [ebp - 0x6e8]
movzx ecx, byte [eax + 0x1ee]
test ecx, ecx
je 0x10048fe7
push 0x10151424
call fcn.10020c60
add esp, 4
mov edx, dword [ebp - 0x6e8]
movzx eax, byte [edx + 0x1ed]
test eax, eax
je 0x10048f91
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.100234f0
mov byte [ebp - 4], 5
push 0x10151434
lea ecx, [ebp - 0x74]
call fcn.10019550
lea ecx, [ebp - 0x74]
call fcn.10023880
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
je 0x10048786
push 0
lea ecx, [ebp - 0x74]
call fcn.10023880
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x6e8]
add eax, 0x1bc
push eax
lea ecx, [ebp - 0xbc]
call fcn.100234f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.10019690
mov byte [ebp - 4], 7
push 0x10151444
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x208
call fcn.1002b450
test eax, eax
jne 0x10048892
push 0xffffffffffffffff
push 0x10151448
lea ecx, [ebp - 0xbc]
call fcn.100323a0
mov dword [ebp - 0x74c], eax
lea ecx, [ebp - 0xbc]
call fcn.10019760
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.1001cdf0
add esp, 0x10
mov dword [ebp - 0x750], eax
mov ecx, dword [ebp - 0x750]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.100195a0
lea ecx, [ebp - 0x1f4]
call fcn.10023d20
lea ecx, [ebp - 0xbc]
call fcn.10023880
push eax
lea ecx, [ebp - 0x74]
call fcn.10023880
push eax
push 0x1015144c
lea edx, [ebp - 0x20c]
push edx
call fcn.1003fc90
add esp, 0x10
mov dword [ebp - 0x754], eax
mov eax, dword [ebp - 0x754]
push eax
lea ecx, [ebp - 0x74]
call fcn.100195a0
lea ecx, [ebp - 0x20c]
call fcn.10023d20
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.10026d60
jmp 0x100488fe
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x208
call fcn.10023880
push eax
lea ecx, [ebp - 0x74]
call fcn.10023880
push eax
push 0x10151458
lea edx, [ebp - 0x224]
push edx
call fcn.1003fc90
add esp, 0x10
mov dword [ebp - 0x758], eax
mov eax, dword [ebp - 0x758]
push eax
lea ecx, [ebp - 0x74]
call fcn.100195a0
lea ecx, [ebp - 0x224]
call fcn.10023d20
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x208
call fcn.10023880
push eax
lea ecx, [ebp - 0xd4]
call fcn.10019580
mov dword [ebp - 0x6fc], 0
jmp 0x10048919
mov ecx, dword [ebp - 0x6fc]
add ecx, 1
mov dword [ebp - 0x6fc], ecx
cmp dword [ebp - 0x6fc], 2
jge 0x10048f56
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x774], esp
lea eax, [ebp - 0x74]
push eax
push edx
call fcn.1003efe0
add esp, 8
mov dword [ebp - 0x7b0], eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.1002d3a0
add esp, 0x1c
mov dword [ebp - 0x7a8], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x1d4
call fcn.100237b0
push eax
lea ecx, [ebp - 0x11c]
call fcn.1001ef70
test eax, eax
jne 0x10048f42
mov edx, dword [ebp - 0x6e8]
movzx eax, byte [edx + 0x1ec]
test eax, eax
je 0x10048f0e
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x1a4
push ecx
lea edx, [ebp - 0x23c]
push edx
call fcn.1003efe0
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.100237b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7ac], esp
push eax
call fcn.10022760
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.10022760
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 0x1015146c
call fcn.10022760
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.10023b10
lea ecx, [ebp - 0xd4]
call fcn.10023880
push eax
lea ecx, [ebp - 0xa4]
call fcn.10023880
push eax
push str._supdate_s
lea eax, [ebp - 0x254]
push eax
call fcn.1003fc90
add esp, 0x10
mov dword [ebp - 0x710], eax
mov ecx, dword [ebp - 0x710]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.100195a0
lea ecx, [ebp - 0x254]
call fcn.10023d20
push 0
lea ecx, [ebp - 0xd4]
call fcn.10023880
push eax
call fcn.1005f580
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.1005f5a0
add esp, 0xc
mov dword [ebp - 0x6f8], 0
mov dword [ebp - 0x6ec], 0
jmp 0x10048b07
mov ecx, dword [ebp - 0x6ec]
add ecx, 1
mov dword [ebp - 0x6ec], ecx
mov edx, dword [ebp - 0x6ec]
cmp edx, dword [ebp - 0x6e4]
jge 0x10048efd
lea eax, [ebp - 0x4b4]
push eax
mov ecx, dword [ebp - 0x6ec]
push ecx
mov edx, dword [ebp - 0x6f0]
push edx
call fcn.1005f5a0
add esp, 0xc
lea ecx, [ebp - 0x8c]
call fcn.10019690
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x284]
call fcn.100237f0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x104]
call fcn.10020010
mov byte [ebp - 4], 0xe
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7c8], esp
push 0x10151490
call fcn.10020010
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 0x10151494
call fcn.10020010
mov dword [ebp - 0x7d4], eax
lea edx, [ebp - 0x104]
push edx
mov byte [ebp - 4], 0xe
call fcn.100324e0
add esp, 0x34
lea eax, [ebp - 0x104]
push eax
push 0x10151498
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.1001c020
mov ecx, eax
call fcn.10019550
mov ecx, eax
call fcn.1001c020
lea ecx, [ebp - 0x8c]
call fcn.10023880
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x8c]
call fcn.10023880
push eax
mov edx, dword [ebp - 0x6ec]
push edx
mov eax, dword [ebp - 0x6f0]
push eax
call fcn.1005f6a0
add esp, 0xc
test eax, eax
je 0x10048ecb
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xec]
call fcn.100234f0
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x14c]
call fcn.100234f0
mov byte [ebp - 4], 0x11
push 0x1015149c
lea ecx, [ebp - 0xec]
call fcn.10019550
push str.updateerror.ini
lea ecx, [ebp - 0x14c]
call fcn.10019550
mov eax, dword [ebp - 0x6f8]
add eax, 1
mov dword [ebp - 0x6f8], eax
push 0xffffffffffffffff
push 0x101514e8
lea ecx, [ebp - 0x8c]
call fcn.100323a0
mov dword [ebp - 0x718], eax
lea ecx, [ebp - 0x8c]
call fcn.10019760
push eax
mov ecx, dword [ebp - 0x718]
push ecx
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x1ac]
push eax
call fcn.1001cdf0
add esp, 0x10
mov byte [ebp - 4], 0x12
mov ecx, 0x12
mov esi, str.0123456789abcdefghijklmnopqrstuvwxyz
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0xc
push 0x101514ec
lea ecx, [ebp - 0x164]
call fcn.100325c0
mov byte [ebp - 4], 0x13
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10101225
add esp, 4
mov dword [ebp - 0x6f4], 0
jmp 0x10048d1c
mov ecx, dword [ebp - 0x6f4]
add ecx, 1
mov dword [ebp - 0x6f4], ecx
cmp dword [ebp - 0x6f4], 0xc
jge 0x10048d50
call fcn.10101204
cdq
mov ecx, 0x24
idiv ecx
mov esi, edx
mov edx, dword [ebp - 0x6f4]
push edx
lea ecx, [ebp - 0x164]
call fcn.100323d0
mov cx, word [ebp + esi*2 - 0x5c]
mov word [eax], cx
jmp 0x10048d0d
lea ecx, [ebp - 0x1ac]
call fcn.10023880
push eax
lea ecx, [ebp - 0x164]
call fcn.10023880
push eax
lea ecx, [ebp - 0xa4]
call fcn.10023880
push eax
push 0x1015153c
lea edx, [ebp - 0x17c]
push edx
call fcn.1003fc90
add esp, 0x14
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x17c]
call fcn.10023880
push eax
lea ecx, [ebp - 0x8c]
call fcn.10023880
push eax
call fcn.101012f8
add esp, 8
test eax, eax
je 0x10048dd3
lea ecx, [ebp - 0x14c]
call fcn.10023880
push eax
push 0x1015154c
lea eax, [ebp - 0x4b0]
push eax
push 0x10151550
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x8c]
call fcn.10023880
push eax
mov ecx, dword [ebp - 0x6ec]
push ecx
mov edx, dword [ebp - 0x6f0]
push edx
call fcn.1005f6a0
add esp, 0xc
lea ecx, [ebp - 0x194]
call fcn.10019690
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x6f8]
push eax
push 0x10151560
lea ecx, [ebp - 0x26c]
push ecx
call fcn.1003fc90
add esp, 0xc
mov dword [ebp - 0x71c], eax
mov edx, dword [ebp - 0x71c]
push edx
lea ecx, [ebp - 0x194]
call fcn.100195a0
lea ecx, [ebp - 0x26c]
call fcn.10023d20
lea ecx, [ebp - 0xec]
call fcn.10023880
push eax
lea ecx, [ebp - 0x17c]
call fcn.10023880
push eax
lea ecx, [ebp - 0x194]
call fcn.10023880
push eax
push 0x1015156c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x194]
call fcn.10023d20
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x17c]
call fcn.10023d20
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x164]
call fcn.10023d20
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1ac]
call fcn.10023d20
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x14c]
call fcn.10023d20
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xec]
call fcn.10023d20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x104]
call fcn.10023d20
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x284]
call fcn.10023b10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8c]
call fcn.10023d20
jmp 0x10048af8
mov eax, dword [ebp - 0x6f0]
push eax
call fcn.1005f6c0
add esp, 4
jmp 0x10048f31
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x1f0
call fcn.10023880
push eax
lea ecx, [ebp - 0x74]
call fcn.10023880
push eax
call fcn.10054b90
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x11c]
call fcn.10023b10
jmp 0x10048f56
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x11c]
call fcn.10023b10
jmp 0x1004890a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.10023d20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbc]
call fcn.10023d20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.10023d20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.10023d20
jmp 0x10048fe7
mov ecx, dword [ebp - 0x6e8]
mov edx, dword [ecx + 0x3e0]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x10048fbf
push 9
mov eax, dword [ebp - 0x6e8]
mov ecx, dword [eax + 0x3e0]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10048fd4
push 8
mov edx, dword [ebp - 0x6e8]
mov eax, dword [edx + 0x3e0]
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, 0x370
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x7d8], esp
push ecx
mov ecx, edx
call fcn.10022e50
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 0x1015157c
call fcn.10022760
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 0x10151580
call fcn.10022760
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 0x10151588
call fcn.10020c60
add esp, 4
mov edx, dword [ebp - 0x700]
mov dword [ebp - 0x728], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.10023d20
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.100e3849
mov esp, ebp
pop ebp
ret