Function at 0x47f090
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641a2e
mov eax, dword fs:[0]
push eax
sub esp, 0x8b4
mov eax, dword [0x6bc858]
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 edi, ecx
mov dword [ebp - 0x884], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x840], ebx
push 8
mov byte [ebp - 4], 1
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x47f614
mov dword [ebp - 0x840], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x840]
mov dword [ecx], eax
mov esi, 0xf
mov dword [ebp - 0x828], esi
mov dword [ebp - 0x82c], ebx
mov byte [ebp - 0x83c], bl
mov dword [ebp - 0x820], ebx
push 8
mov byte [ebp - 4], 3
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x47f5e1
mov dword [ebp - 0x820], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x820]
lea edx, [ebp - 0x820]
mov dword [eax], edx
mov dword [ebp - 0x808], esi
mov dword [ebp - 0x80c], ebx
mov byte [ebp - 0x81c], bl
mov ecx, edx
mov byte [ebp - 4], 4
mov esi, dword [edi + 0x18]
push ecx
lea ebx, [ebp - 0x840]
call fcn.00484fd0
cmp dword [ebp - 0x82c], 0
jne 0x47f196
cmp dword [ebp - 0x80c], 0
jne 0x47f196
push 0
push 0x687df0
jmp 0x47f19d
push 0
push 0x66d280
push str.duanxin
mov ecx, str.LOGINTYPE
mov eax, edi
call fcn.004804d0
mov eax, dword [edi + 0x98]
mov esi, 0x10
cmp dword [edi + 0x9c], esi
jb 0x47f1c9
mov edi, dword [edi + 0x88]
jmp 0x47f1cf
add edi, 0x88
push edi
mov edi, eax
mov eax, dword [ebp - 0x82c]
lea ebx, [ebp - 0x840]
call fcn.004127d0
test eax, eax
jne 0x47f222
mov eax, dword [ebp - 0x884]
mov edi, dword [eax + 0xb8]
cmp dword [eax + 0xbc], esi
jb 0x47f203
mov eax, dword [eax + 0xa8]
jmp 0x47f208
add eax, 0xa8
push eax
mov eax, dword [ebp - 0x80c]
lea ebx, [ebp - 0x820]
call fcn.004127d0
test eax, eax
je 0x47f458
xor ebx, ebx
mov dword [ebp - 0x860], ebx
push 8
mov byte [ebp - 4], 5
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x47f5ae
mov dword [ebp - 0x860], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x860]
lea edx, [ebp - 0x860]
mov dword [eax], edx
mov dword [ebp - 0x848], 0xf
mov dword [ebp - 0x84c], ebx
mov byte [ebp - 0x85c], bl
mov esi, edx
mov byte [ebp - 4], 6
call fcn.004c4b60
push 0xd
push str.config_ad.ini
mov ecx, esi
call fcn.00412ae0
mov ecx, dword [ebp - 0x85c]
mov edi, 0x10
cmp dword [ebp - 0x848], edi
jae 0x47f2a3
lea ecx, [ebp - 0x85c]
mov eax, dword [ebp - 0x83c]
cmp dword [ebp - 0x828], edi
jae 0x47f2b7
lea eax, [ebp - 0x83c]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ecx
push eax
push str.interface
push str.msggateway
call esi
mov ecx, dword [ebp - 0x85c]
cmp dword [ebp - 0x848], edi
jae 0x47f2df
lea ecx, [ebp - 0x85c]
mov eax, dword [ebp - 0x81c]
cmp dword [ebp - 0x808], edi
jae 0x47f2f3
lea eax, [ebp - 0x81c]
push ecx
push eax
push str.content
push str.msggateway
call esi
push 0x7eb
lea ecx, [ebp - 0x7ff]
push ebx
push ecx
mov byte [ebp - 0x800], bl
call fcn.005ff630
mov ecx, dword [ebp - 0x81c]
add esp, 0xc
cmp dword [ebp - 0x808], edi
jae 0x47f330
lea ecx, [ebp - 0x81c]
mov eax, dword [ebp - 0x83c]
cmp dword [ebp - 0x828], edi
jae 0x47f344
lea eax, [ebp - 0x83c]
push ecx
push eax
lea edx, [ebp - 0x800]
push str._smuban_s
push edx
call fcn.005f1060
mov dword [ebp - 0x880], ebx
push 8
mov byte [ebp - 4], 7
call fcn.005f0fe0
add esp, 0x14
cmp eax, ebx
je 0x47f57b
mov dword [ebp - 0x880], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x880]
lea eax, [ebp - 0x880]
mov dword [ecx], eax
mov dword [ebp - 0x868], 0xf
mov dword [ebp - 0x86c], ebx
mov byte [ebp - 0x87c], bl
mov esi, eax
mov byte [ebp - 4], 8
call fcn.004c4b60
push edi
push str.wwwdxgetway.txt
mov ecx, esi
call fcn.00412ae0
mov eax, dword [ebp - 0x87c]
cmp dword [ebp - 0x868], edi
jae 0x47f3d2
lea eax, [ebp - 0x87c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x87c]
cmp dword [ebp - 0x868], edi
jae 0x47f3ed
lea eax, [ebp - 0x87c]
push 0x67f510
push eax
call fcn.005f5530
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x47f433
lea eax, [ebp - 0x800]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47f410
sub eax, edx
push esi
inc eax
push eax
lea edx, [ebp - 0x800]
push 1
push edx
call fcn.005f5d70
push esi
call fcn.005f64a0
add esp, 0x14
lea ecx, [ebp - 0x880]
mov byte [ebp - 4], 6
call fcn.00412410
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 4
call fcn.00412410
mov esi, 0x10
jmp 0x47f45a
xor ebx, ebx
cmp dword [ebp - 0x808], esi
jb 0x47f471
mov eax, dword [ebp - 0x81c]
push eax
call fcn.005f0cb0
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x808], edi
mov dword [ebp - 0x80c], ebx
mov byte [ebp - 0x81c], bl
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 9
call fcn.0040ed70
mov ecx, dword [ebp - 0x820]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x820]
mov dword [ebp - 0x820], ebx
mov byte [ebp - 4], 2
call fcn.0040ed70
cmp dword [ebp - 0x828], esi
jb 0x47f4d2
mov edx, dword [ebp - 0x83c]
push edx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x828], edi
mov dword [ebp - 0x82c], ebx
mov byte [ebp - 0x83c], bl
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 0xa
call fcn.0040ed70
mov eax, dword [ebp - 0x840]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x840], ebx
mov byte [ebp - 4], bl
call fcn.0040ed70
cmp dword [ebp + 0x20], esi
jb 0x47f527
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xb
call fcn.0040ed70
mov edx, dword [ebp + 8]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp + 8]
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0040ed70
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.005f0da0
mov esp, ebp
pop ebp
ret 0x20
lea eax, [ebp - 0x884]
push eax
lea ecx, [ebp - 0x8c0]
mov dword [ebp - 0x884], ebx
call fcn.005f41f0
push 0x6a361c
lea ecx, [ebp - 0x8c0]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
lea edx, [ebp - 0x888]
push edx
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 0x888], ebx
call fcn.005f41f0
push 0x6a361c
lea eax, [ebp - 0x8a8]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
lea ecx, [ebp - 0x890]
push ecx
lea ecx, [ebp - 0x89c]
mov dword [ebp - 0x890], ebx
call fcn.005f41f0
push 0x6a361c
lea edx, [ebp - 0x89c]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
lea eax, [ebp - 0x88c]
push eax
lea ecx, [ebp - 0x8b4]
mov dword [ebp - 0x88c], ebx
call fcn.005f41f0
push 0x6a361c
lea ecx, [ebp - 0x8b4]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
int3