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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122805
mov eax, dword fs:[0]
push eax
sub esp, 0x7cc
mov eax, dword [0x1019742c]
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.100192c0
movzx eax, al
test eax, eax
jne 0x10047e87
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x370
call fcn.10023550
mov dword [ebp - 0x700], eax
jmp 0x10047f35
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7a4], esp
push 0x101502cc
call fcn.10022500
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 0x101502d0
call fcn.10022500
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.10019560
lea ecx, [ebp - 0x1c4]
call fcn.100238b0
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x370
call fcn.10023550
mov dword [ebp - 0x700], eax
mov dword [ebp - 0x73c], 0
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x3c8
call fcn.10023620
push eax
lea ecx, [ebp - 0x134]
call fcn.1001fdb0
mov dword [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x794], esp
push 0x101502d8
call fcn.1001fdb0
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 0x101502dc
call fcn.1001fdb0
mov dword [ebp - 0x788], eax
lea eax, [ebp - 0x134]
push eax
mov byte [ebp - 4], 1
call fcn.10032290
add esp, 0x34
push 0x101502e0
call fcn.10020a00
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.1003eb00
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.10022bf0
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.10019560
lea ecx, [ebp - 0x1dc]
call fcn.100238b0
push 0x101502f0
call fcn.10020a00
add esp, 4
mov eax, dword [ebp - 0x6e8]
movzx ecx, byte [eax + 0x1ee]
test ecx, ecx
je 0x10048987
push 0x101502fc
call fcn.10020a00
add esp, 4
mov edx, dword [ebp - 0x6e8]
movzx eax, byte [edx + 0x1ed]
test eax, eax
je 0x10048931
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.10023290
mov byte [ebp - 4], 5
push 0x1015030c
lea ecx, [ebp - 0x74]
call fcn.100192f0
lea ecx, [ebp - 0x74]
call fcn.10023620
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
je 0x10048126
push 0
lea ecx, [ebp - 0x74]
call fcn.10023620
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.10023290
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.10019430
mov byte [ebp - 4], 7
push 0x1015031c
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x208
call fcn.1002b1f0
test eax, eax
jne 0x10048232
push 0xffffffffffffffff
push 0x10150320
lea ecx, [ebp - 0xbc]
call fcn.10032150
mov dword [ebp - 0x74c], eax
lea ecx, [ebp - 0xbc]
call fcn.10019500
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.1001cb90
add esp, 0x10
mov dword [ebp - 0x750], eax
mov ecx, dword [ebp - 0x750]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.10019340
lea ecx, [ebp - 0x1f4]
call fcn.10023ac0
lea ecx, [ebp - 0xbc]
call fcn.10023620
push eax
lea ecx, [ebp - 0x74]
call fcn.10023620
push eax
push 0x10150324
lea edx, [ebp - 0x20c]
push edx
call fcn.1003f7b0
add esp, 0x10
mov dword [ebp - 0x754], eax
mov eax, dword [ebp - 0x754]
push eax
lea ecx, [ebp - 0x74]
call fcn.10019340
lea ecx, [ebp - 0x20c]
call fcn.10023ac0
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.10026b00
jmp 0x1004829e
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x208
call fcn.10023620
push eax
lea ecx, [ebp - 0x74]
call fcn.10023620
push eax
push 0x10150330
lea edx, [ebp - 0x224]
push edx
call fcn.1003f7b0
add esp, 0x10
mov dword [ebp - 0x758], eax
mov eax, dword [ebp - 0x758]
push eax
lea ecx, [ebp - 0x74]
call fcn.10019340
lea ecx, [ebp - 0x224]
call fcn.10023ac0
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x208
call fcn.10023620
push eax
lea ecx, [ebp - 0xd4]
call fcn.10019320
mov dword [ebp - 0x6fc], 0
jmp 0x100482b9
mov ecx, dword [ebp - 0x6fc]
add ecx, 1
mov dword [ebp - 0x6fc], ecx
cmp dword [ebp - 0x6fc], 2
jge 0x100488f6
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x774], esp
lea eax, [ebp - 0x74]
push eax
push edx
call fcn.1003eb00
add esp, 8
mov dword [ebp - 0x7b0], eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.1002d150
add esp, 0x1c
mov dword [ebp - 0x7a8], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x1d4
call fcn.10023550
push eax
lea ecx, [ebp - 0x11c]
call fcn.1001ed10
test eax, eax
jne 0x100488e2
mov edx, dword [ebp - 0x6e8]
movzx eax, byte [edx + 0x1ec]
test eax, eax
je 0x100488ae
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x1a4
push ecx
lea edx, [ebp - 0x23c]
push edx
call fcn.1003eb00
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.10023550
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7ac], esp
push eax
call fcn.10022500
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.10022500
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 0x10150344
call fcn.10022500
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.100238b0
lea ecx, [ebp - 0xd4]
call fcn.10023620
push eax
lea ecx, [ebp - 0xa4]
call fcn.10023620
push eax
push str._supdate_s
lea eax, [ebp - 0x254]
push eax
call fcn.1003f7b0
add esp, 0x10
mov dword [ebp - 0x710], eax
mov ecx, dword [ebp - 0x710]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.10019340
lea ecx, [ebp - 0x254]
call fcn.10023ac0
push 0
lea ecx, [ebp - 0xd4]
call fcn.10023620
push eax
call fcn.1005ef60
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.1005ef90
add esp, 0xc
mov dword [ebp - 0x6f8], 0
mov dword [ebp - 0x6ec], 0
jmp 0x100484a7
mov ecx, dword [ebp - 0x6ec]
add ecx, 1
mov dword [ebp - 0x6ec], ecx
mov edx, dword [ebp - 0x6ec]
cmp edx, dword [ebp - 0x6e4]
jge 0x1004889d
lea eax, [ebp - 0x4b4]
push eax
mov ecx, dword [ebp - 0x6ec]
push ecx
mov edx, dword [ebp - 0x6f0]
push edx
call fcn.1005ef90
add esp, 0xc
lea ecx, [ebp - 0x8c]
call fcn.10019430
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x284]
call fcn.10023590
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x104]
call fcn.1001fdb0
mov byte [ebp - 4], 0xe
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7c8], esp
push 0x10150368
call fcn.1001fdb0
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 0x1015036c
call fcn.1001fdb0
mov dword [ebp - 0x7d4], eax
lea edx, [ebp - 0x104]
push edx
mov byte [ebp - 4], 0xe
call fcn.10032290
add esp, 0x34
lea eax, [ebp - 0x104]
push eax
push 0x10150370
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.1001bdc0
mov ecx, eax
call fcn.100192f0
mov ecx, eax
call fcn.1001bdc0
lea ecx, [ebp - 0x8c]
call fcn.10023620
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x8c]
call fcn.10023620
push eax
mov edx, dword [ebp - 0x6ec]
push edx
mov eax, dword [ebp - 0x6f0]
push eax
call fcn.1005f090
add esp, 0xc
test eax, eax
je 0x1004886b
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xec]
call fcn.10023290
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x14c]
call fcn.10023290
mov byte [ebp - 4], 0x11
push 0x10150374
lea ecx, [ebp - 0xec]
call fcn.100192f0
push str.updateerror.ini
lea ecx, [ebp - 0x14c]
call fcn.100192f0
mov eax, dword [ebp - 0x6f8]
add eax, 1
mov dword [ebp - 0x6f8], eax
push 0xffffffffffffffff
push 0x101503c0
lea ecx, [ebp - 0x8c]
call fcn.10032150
mov dword [ebp - 0x718], eax
lea ecx, [ebp - 0x8c]
call fcn.10019500
push eax
mov ecx, dword [ebp - 0x718]
push ecx
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x1ac]
push eax
call fcn.1001cb90
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 0x101503c4
lea ecx, [ebp - 0x164]
call fcn.10032370
mov byte [ebp - 4], 0x13
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10100a45
add esp, 4
mov dword [ebp - 0x6f4], 0
jmp 0x100486bc
mov ecx, dword [ebp - 0x6f4]
add ecx, 1
mov dword [ebp - 0x6f4], ecx
cmp dword [ebp - 0x6f4], 0xc
jge 0x100486f0
call fcn.10100a24
cdq
mov ecx, 0x24
idiv ecx
mov esi, edx
mov edx, dword [ebp - 0x6f4]
push edx
lea ecx, [ebp - 0x164]
call fcn.10032180
mov cx, word [ebp + esi*2 - 0x5c]
mov word [eax], cx
jmp 0x100486ad
lea ecx, [ebp - 0x1ac]
call fcn.10023620
push eax
lea ecx, [ebp - 0x164]
call fcn.10023620
push eax
lea ecx, [ebp - 0xa4]
call fcn.10023620
push eax
push 0x10150414
lea edx, [ebp - 0x17c]
push edx
call fcn.1003f7b0
add esp, 0x14
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x17c]
call fcn.10023620
push eax
lea ecx, [ebp - 0x8c]
call fcn.10023620
push eax
call fcn.10100b18
add esp, 8
test eax, eax
je 0x10048773
lea ecx, [ebp - 0x14c]
call fcn.10023620
push eax
push 0x10150424
lea eax, [ebp - 0x4b0]
push eax
push 0x10150428
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x8c]
call fcn.10023620
push eax
mov ecx, dword [ebp - 0x6ec]
push ecx
mov edx, dword [ebp - 0x6f0]
push edx
call fcn.1005f090
add esp, 0xc
lea ecx, [ebp - 0x194]
call fcn.10019430
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x6f8]
push eax
push 0x10150438
lea ecx, [ebp - 0x26c]
push ecx
call fcn.1003f7b0
add esp, 0xc
mov dword [ebp - 0x71c], eax
mov edx, dword [ebp - 0x71c]
push edx
lea ecx, [ebp - 0x194]
call fcn.10019340
lea ecx, [ebp - 0x26c]
call fcn.10023ac0
lea ecx, [ebp - 0xec]
call fcn.10023620
push eax
lea ecx, [ebp - 0x17c]
call fcn.10023620
push eax
lea ecx, [ebp - 0x194]
call fcn.10023620
push eax
push 0x10150444
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x194]
call fcn.10023ac0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x17c]
call fcn.10023ac0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x164]
call fcn.10023ac0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x1ac]
call fcn.10023ac0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x14c]
call fcn.10023ac0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xec]
call fcn.10023ac0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x104]
call fcn.10023ac0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x284]
call fcn.100238b0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8c]
call fcn.10023ac0
jmp 0x10048498
mov eax, dword [ebp - 0x6f0]
push eax
call fcn.1005f0b0
add esp, 4
jmp 0x100488d1
mov ecx, dword [ebp - 0x6e8]
add ecx, 0x1f0
call fcn.10023620
push eax
lea ecx, [ebp - 0x74]
call fcn.10023620
push eax
call fcn.10054520
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x11c]
call fcn.100238b0
jmp 0x100488f6
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x11c]
call fcn.100238b0
jmp 0x100482aa
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd4]
call fcn.10023ac0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbc]
call fcn.10023ac0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.10023ac0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.10023ac0
jmp 0x10048987
mov ecx, dword [ebp - 0x6e8]
mov edx, dword [ecx + 0x3e0]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1004895f
push 9
mov eax, dword [ebp - 0x6e8]
mov ecx, dword [eax + 0x3e0]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10048974
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.10022bf0
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 0x10150454
call fcn.10022500
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 0x10150458
call fcn.10022500
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 0x10150460
call fcn.10020a00
add esp, 4
mov edx, dword [ebp - 0x700]
mov dword [ebp - 0x728], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.10023ac0
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.100e3069
mov esp, ebp
pop ebp
ret