Function at 0x47c250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d46ba
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 0x47c3f8
cmp byte [0x52aaa4], al
jne 0x47c2ae
cmp byte [0x530565], al
je 0x47c377
push 0
push ecx
push str.ProxyApi.cpp
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0x4e7908
mov dword [ebp - 0x88], 0x4e793c
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], 0x4e7908
mov dword [ebp - 0x58], 0x4e793c
call fcn.00406ce0
mov byte [ebp - 4], 3
cmp byte [0x52aaa4], 0
je 0x47c327
cmp byte [0x530565], 0
jne 0x47c319
call fcn.0048df20
test al, al
je 0x47c320
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x47c359
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.0048e390
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 0x47c3d1
call esi
test eax, eax
jne 0x47c3ee
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 0x47c3ee
call esi
mov eax, 0x80004005
jmp 0x47c68d
mov eax, dword [eax]
cmp eax, 0xa
jbe 0x47c451
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xe4], str.ProxyApi.cpp
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.004796a0
mov eax, 0x8002000b
jmp 0x47c68d
push 4
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push eax
push SysReAllocString
mov ecx, ebx
call fcn.004796a0
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.0x47c49b
jmp dword [eax*4 + 0x47c6ac]
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 0x47c521
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 0x47c521
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 0x47c5df
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x28]
jmp 0x47c5d2
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x2c]
jmp 0x47c5d2
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x30]
jmp 0x47c5d2
mov esi, 0x80004001
jmp case.default.0x47c49b
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x38]
jmp 0x47c5d2
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x3c]
jmp 0x47c5d2
mov ecx, dword [edi - 4]
lea eax, [edi - 4]
lea edx, [ebp - 0xd0]
push edx
push eax
call dword [ecx + 0x40]
jmp 0x47c5d2
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.004a1050
mov edi, eax
add esp, 4
test edi, edi
jne 0x47c617
mov eax, 0x1c
lea edi, [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
xor ebx, ebx
mov esi, 0x8007000e
jmp 0x47c61d
mov eax, dword [ebp - 0xd4]
push eax
push 0
push edi
call fcn.004a3000
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 0x47c650
push ebx
push dword [ebp - 0xd8]
lea eax, [edi + 0x18]
push eax
call fcn.004a3f30
add esp, 0xc
push dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xe0]
push edi
push SysReAllocString
call fcn.004796a0
lea eax, [ebp - 0xcc]
cmp edi, eax
je 0x47c67c
push 0x1c
push edi
call fcn.004a1725
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.004a103a
mov esp, ebp
pop ebp
ret 8