Function at 0x47c1f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d457a
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x52a0b0]
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 eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xdc], eax
test eax, eax
jne 0x47c398
cmp byte [0x52aaa4], al
jne 0x47c24e
cmp byte [0x530561], al
je 0x47c317
push 0
push ecx
push 0x4f7d1c
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0x4e7a18
mov dword [ebp - 0x88], 0x4e86a8
call fcn.00406ce0
mov dword [ebp - 4], 1
push 0
push ecx
push str.Parcel_extension_received_no_data_for_out_proc_extension_request
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0x4e7a18
mov dword [ebp - 0x58], 0x4e86a8
call fcn.00406ce0
mov byte [ebp - 4], 3
cmp byte [0x52aaa4], 0
je 0x47c2c7
cmp byte [0x530561], 0
jne 0x47c2b9
call fcn.0048ded0
test al, al
je 0x47c2c0
mov byte [0x530561], 1
mov byte [0x52aaa4], 0
cmp byte [0x530561], 0
je 0x47c2f9
cmp dword [ebp - 0x98], 8
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x7c]
cmovae edx, dword [ebp - 0xac]
cmp dword [ebp - 0x68], 8
push 0x305
cmovae ecx, dword [ebp - 0x7c]
call fcn.0048e340
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.00404850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00404850
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0xd4]
push 0
push eax
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0xe8], 0x80004005
push eax
push dword [ebx + 0x20]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x20], 0xde55adff
mov dword [ebp - 0x14], 0x55adffde
mov dword [ebp - 0x1c], SysReAllocString
mov dword [ebp - 0x18], 4
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x47c371
call esi
test eax, eax
jne 0x47c38e
push 0
lea eax, [ebp - 0xd4]
push eax
push 4
lea eax, [ebp - 0xe8]
push eax
push dword [ebx + 0x20]
call edi
test eax, eax
jne 0x47c38e
call esi
mov eax, 0x80004005
jmp 0x47c62d
mov eax, dword [eax]
cmp eax, 0xa
jbe 0x47c3f1
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4f7d1c
push str.Parcel_extension_received_unsupported_request___x__for_out_proc_extension
push eax
mov dword [ebp - 0xe0], 0x311
call fcn.0040b3b0
add esp, 0xc
mov dword [ebp - 0xd8], 0x8002000b
lea eax, [ebp - 0xd8]
mov ecx, ebx
push 4
push eax
push SysReAllocString
call fcn.00479640
mov eax, 0x8002000b
jmp 0x47c62d
push 4
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push eax
push SysReAllocString
mov ecx, ebx
call fcn.00479640
sub esp, 8
lea ecx, [ebp - 0x50]
xor esi, esi
call fcn.00404910
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xd0], esi
mov eax, dword [eax]
cmp eax, 0xa
ja case.default.0x47c43b
jmp dword [eax*4 + 0x47c64c]
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x50]
call fcn.004378b0
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403420
mov edx, dword [edi - 4]
lea ecx, [edi - 4]
push eax
push ecx
call dword [edx + 0x1c]
jmp 0x47c4c1
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x50]
call fcn.004378b0
mov byte [ebp - 4], 8
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403420
mov edx, dword [edi - 4]
lea ecx, [edi - 4]
push eax
push ecx
call dword [edx + 0x20]
jmp 0x47c4c1
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x50]
call fcn.004378b0
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403420
mov edx, dword [edi - 4]
lea ecx, [edi - 4]
push eax
push ecx
call dword [edx + 0x24]
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf8]
call fcn.00437830
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x38], 8
lea ebx, [eax + eax]
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
jmp 0x47c57f
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x28]
jmp 0x47c572
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x2c]
jmp 0x47c572
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x30]
jmp 0x47c572
mov esi, 0x80004001
jmp case.default.0x47c43b
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x38]
jmp 0x47c572
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x3c]
jmp 0x47c572
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x40]
jmp 0x47c572
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x44]
mov esi, eax
mov ebx, 4
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
lea eax, [ebx + 0x1c]
push eax
mov dword [ebp - 0xd4], eax
call fcn.004a0ee0
mov edi, eax
add esp, 4
test edi, edi
jne 0x47c5b7
mov eax, 0x1c
lea edi, [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
xor ebx, ebx
mov esi, 0x8007000e
jmp 0x47c5bd
mov eax, dword [ebp - 0xd4]
push eax
push 0
push edi
call fcn.004a2ef0
mov eax, dword [ebp - 0xdc]
add esp, 0xc
mov eax, dword [eax]
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
test ebx, ebx
je 0x47c5f0
push ebx
push dword [ebp - 0xd8]
lea eax, [edi + 0x18]
push eax
call fcn.004a3e50
add esp, 0xc
push dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xe0]
push edi
push SysReAllocString
call fcn.00479640
lea eax, [ebp - 0xcc]
cmp edi, eax
je 0x47c61c
push 0x1c
push edi
call fcn.004a15b5
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00404850
mov eax, esi
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.004a0eca
mov esp, ebp
pop ebp
ret 8