Function at 0x47e2bc
Capabilities:
Copy file
Gather firefox profile information
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x47e2c5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405410
mov eax, dword [ebp - 8]
call fcn.00405410
mov eax, dword [ebp - 0xc]
call fcn.00405410
xor eax, eax
push ebp
push 0x47e629
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404f70
xor eax, eax
push ebp
push 0x47e583
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
jne 0x47e3e6
lea eax, [ebp - 0x24]
call fcn.0047b24c
cmp dword [ebp - 0x24], 0
jne 0x47e3e6
lea eax, [ebp - 0x30]
call fcn.0047bf7c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.00405844
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0045ae2c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
call fcn.004051f0
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x20]
call fcn.00405844
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov edx, 0x47e640
call fcn.00455f84
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0xc]
call fcn.004051f0
lea edx, [ebp - 0x3c]
mov eax, 0x47e65c
call fcn.00459fc0
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x1c]
call fcn.004051f0
push dword [ebp - 0x1c]
push 0x47e670
push dword [ebp - 0x20]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.004052e8
mov eax, dword [ebp - 0x40]
call fcn.00405420
push eax
push 0x47e674
call sub.KERNEL32.DLL_SetEnvironmentVariableA
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0xc]
call fcn.00405844
mov eax, dword [ebp - 0x44]
call fcn.0045a9f0
test al, al
jne 0x47e3e6
lea eax, [ebp - 0xc]
call fcn.00404f70
lea eax, [ebp - 0x48]
call fcn.0047b24c
cmp dword [ebp - 0x48], 0
jne 0x47e3fc
mov eax, dword [ebp - 0xc]
call fcn.0047b204
lea eax, [ebp - 0x54]
call fcn.0047bd8c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
call fcn.00405844
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x4c]
mov edx, 0x47e680
call fcn.00455f84
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
call fcn.004051f0
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x14]
call fcn.00405844
mov eax, dword [ebp - 0x58]
call fcn.0045a9f0
test al, al
jne 0x47e44e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47e58d
mov eax, 0x7fffffff
call fcn.00403560
lea edx, [ebp - 0x64]
call fcn.00458b58
lea eax, [ebp - 0x64]
mov edx, 0x47e6a8
call fcn.00405230
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
call fcn.00405844
mov eax, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x68]
call fcn.0045ed50
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
pop edx
call fcn.00455f84
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x18]
call fcn.004051f0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405420
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405420
push eax
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x47e4c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47e58d
xor eax, eax
push ebp
push 0x47e572
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x47e6c0
push dword [ebp - 4]
push 0x47e6f8
push dword [ebp - 4]
push 0x47e710
push dword [ebp - 4]
push 0x47e72c
push dword [ebp - 8]
push 0x47e744
lea eax, [ebp - 0x6c]
mov edx, 9
call fcn.004052e8
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x18]
call fcn.0047b260
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47e54f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x47e539
mov ecx, ebx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e556
mov eax, dword [ebp - 0x10]
call fcn.00404180
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e633
lea eax, [ebp - 0x6c]
call fcn.00404f70
lea eax, [ebp - 0x68]
call fcn.00405660
lea eax, [ebp - 0x64]
call fcn.00404f70
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00405678
lea eax, [ebp - 0x54]
call fcn.00404f70
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00405678
lea eax, [ebp - 0x48]
call fcn.00404f70
lea eax, [ebp - 0x44]
call fcn.00405660
lea eax, [ebp - 0x40]
call fcn.00404f70
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00405678
lea eax, [ebp - 0x30]
call fcn.00404f70
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00405678
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404f94
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f94
ret