Function at 0x47c4c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4bca
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 0x47c668
cmp byte [0x52aaa4], al
jne 0x47c51e
cmp byte [0x530565], al
je 0x47c5e7
push 0
push ecx
push 0x4f866c
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0x4e81b4
mov dword [ebp - 0x88], 0x4e8f38
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], 0x4e81b4
mov dword [ebp - 0x58], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 3
cmp byte [0x52aaa4], 0
je 0x47c597
cmp byte [0x530565], 0
jne 0x47c589
call fcn.0048e190
test al, al
je 0x47c590
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x47c5c9
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.0048e600
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 0x47c641
call esi
test eax, eax
jne 0x47c65e
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 0x47c65e
call esi
mov eax, 0x80004005
jmp 0x47c8fd
mov eax, dword [eax]
cmp eax, 0xa
jbe 0x47c6c1
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xe4], 0x4f866c
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.00479910
mov eax, 0x8002000b
jmp 0x47c8fd
push 4
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push eax
push SysReAllocString
mov ecx, ebx
call fcn.00479910
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.0x47c70b
jmp dword [eax*4 + 0x47c91c]
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x50]
call fcn.004379f0
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 0x47c791
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x50]
call fcn.004379f0
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 0x47c791
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x50]
call fcn.004379f0
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.00437970
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x38], 8
lea ebx, [eax + eax]
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
jmp 0x47c84f
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x28]
jmp 0x47c842
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x2c]
jmp 0x47c842
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x30]
jmp 0x47c842
mov esi, 0x80004001
jmp case.default.0x47c70b
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x38]
jmp 0x47c842
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x3c]
jmp 0x47c842
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x40]
jmp 0x47c842
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.004a14d0
mov edi, eax
add esp, 4
test edi, edi
jne 0x47c887
mov eax, 0x1c
lea edi, [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
xor ebx, ebx
mov esi, 0x8007000e
jmp 0x47c88d
mov eax, dword [ebp - 0xd4]
push eax
push 0
push edi
call fcn.004a34a0
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 0x47c8c0
push ebx
push dword [ebp - 0xd8]
lea eax, [edi + 0x18]
push eax
call fcn.004a43d0
add esp, 0xc
push dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xe0]
push edi
push SysReAllocString
call fcn.00479910
lea eax, [ebp - 0xcc]
cmp edi, eax
je 0x47c8ec
push 0x1c
push edi
call fcn.004a1ba5
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.004a14ba
mov esp, ebp
pop ebp
ret 8