Function at 0x47dda0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641c18
mov eax, dword fs:[0]
push eax
sub esp, 0x94
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
xor ebx, ebx
mov dword [ebp - 0x70], ebx
push 8
mov dword [ebp - 4], ebx
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x47e174
mov dword [ebp - 0x70], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x70]
mov dword [ecx], eax
mov edi, 0xf
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
mov esi, eax
mov dword [ebp - 4], 1
call fcn.004c4b60
push 0xc
push str.Template_tmp
mov ecx, esi
call fcn.00412ae0
mov ecx, dword [ebp - 0x6c]
mov esi, 0x10
cmp dword [ebp - 0x58], esi
jae 0x47de34
lea ecx, [ebp - 0x6c]
call fcn.004c3dc0
test eax, eax
je 0x47de4d
mov ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x58], esi
jae 0x47de48
lea ecx, [ebp - 0x6c]
call fcn.004c4240
call fcn.0047e840
call fcn.0047eaf0
mov dword [ebp - 0x50], ebx
push 8
mov byte [ebp - 4], 2
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x47e147
mov dword [ebp - 0x50], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x50]
mov dword [eax], edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov dword [ebp - 0x30], ebx
push 8
mov byte [ebp - 4], 4
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x47e11a
mov dword [ebp - 0x30], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
mov dword [edx], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.004c4b60
lea esi, [ebp - 0x30]
call fcn.004c4b60
push 4
push str.www_
mov ecx, esi
call fcn.00412ae0
mov ecx, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x47def1
lea ecx, [ebp - 0x2c]
call fcn.004c3dc0
test eax, eax
je 0x47df0a
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x47df05
lea ecx, [ebp - 0x2c]
call fcn.004c4240
push 0x14
push str.Templatehtml_sys.js
lea ecx, [ebp - 0x50]
call fcn.00412ae0
push 6
push str.sys.js
lea ecx, [ebp - 0x30]
call fcn.00412ae0
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x47df33
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x47df3e
lea eax, [ebp - 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
push ecx
push eax
call edi
lea esi, [ebp - 0x50]
call fcn.004c4b60
lea esi, [ebp - 0x30]
call fcn.004c4b60
push 0x1c
push str.Templatehtmlwifidayxy.html
lea ecx, [ebp - 0x50]
call fcn.00412ae0
push 0x1f
push str.TemplateTmpwwwwifidayxy.html
mov ecx, esi
call fcn.00412ae0
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10
cmp dword [ebp - 0x18], eax
jae 0x47df86
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
jae 0x47df91
lea eax, [ebp - 0x4c]
push ebx
push ecx
push eax
call edi
lea esi, [ebp - 0x50]
call fcn.004c4b60
lea esi, [ebp - 0x30]
call fcn.004c4b60
push 0x1d
push str.Templatehtmlwifiweixin.html
lea ecx, [ebp - 0x50]
call fcn.00412ae0
push 0x20
push str.TemplateTmpwwwwifiweixin.html
mov ecx, esi
call fcn.00412ae0
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10
cmp dword [ebp - 0x18], eax
jae 0x47dfd3
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
jae 0x47dfde
lea eax, [ebp - 0x4c]
push ebx
push ecx
push eax
call edi
lea esi, [ebp - 0x50]
call fcn.004c4b60
lea esi, [ebp - 0x30]
call fcn.004c4b60
push 0x1c
push str.Templatehtmlwifidayyh.html
lea ecx, [ebp - 0x50]
call fcn.00412ae0
push 0x1f
push str.TemplateTmpwwwwifidayyh.html
mov ecx, esi
call fcn.00412ae0
mov ecx, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x47e020
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], esi
jae 0x47e02b
lea eax, [ebp - 0x4c]
push ebx
push ecx
push eax
call edi
cmp dword [ebp - 0x18], esi
jb 0x47e041
mov eax, dword [ebp - 0x2c]
push eax
call fcn.005f0cb0
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.0040ed70
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 3
call fcn.0040ed70
cmp dword [ebp - 0x38], esi
jb 0x47e087
mov edx, dword [ebp - 0x4c]
push edx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.0040ed70
mov eax, dword [ebp - 0x50]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 1
call fcn.0040ed70
cmp dword [ebp - 0x58], esi
jb 0x47e0c8
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 8
call fcn.0040ed70
mov edx, dword [ebp - 0x70]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 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
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x7c], ebx
call fcn.005f41f0
push 0x6a361c
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], vtable.std::bad_alloc.0
call fcn.006009e0
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], ebx
call fcn.005f41f0
push 0x6a361c
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], vtable.std::bad_alloc.0
call fcn.006009e0
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x74], ebx
call fcn.005f41f0
push 0x6a361c
lea edx, [ebp - 0x94]
push edx
mov dword [ebp - 0x94], vtable.std::bad_alloc.0
call fcn.006009e0
int3