Function at 0x47bc50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4b38
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
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 esi, ecx
mov dword [ebp - 0xd4], esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xd8], ebx
test ebx, ebx
jne 0x47bde9
cmp byte [0x52aaa4], bl
jne 0x47bcb4
cmp byte [0x530565], bl
je 0x47bd68
push 0
push ecx
push 0x4f866c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
call fcn.00406ce0
mov dword [ebp - 4], 1
push 0
push ecx
push str.Suite_extension_received_no_data_for_out_proc_extension_request
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e81b4
mov dword [ebp - 0x48], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 3
cmp byte [0x52aaa4], 0
je 0x47bd24
cmp byte [0x530565], 0
jne 0x47bd16
call fcn.0048e190
test al, al
je 0x47bd1d
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x47bd4d
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x234
cmovae ecx, dword [ebp - 0x6c]
call fcn.0048e600
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00404850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404850
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0xd4]
push 0
push eax
push 0x10
lea eax, [ebp - 0x80]
mov dword [ebp - 0xe8], 0x80004005
push eax
push dword [edi + 0x20]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x80], 0xde55adff
mov dword [ebp - 0x74], 0x55adffde
mov dword [ebp - 0x7c], SysReAllocString
mov dword [ebp - 0x78], 4
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x47bdc2
call esi
test eax, eax
jne 0x47bddf
push 0
lea eax, [ebp - 0xd4]
push eax
push 4
lea eax, [ebp - 0xe8]
push eax
push dword [edi + 0x20]
call ebx
test eax, eax
jne 0x47bddf
call esi
mov eax, 0x80004005
jmp 0x47c33f
mov eax, dword [ebx]
cmp eax, 6
ja 0x47c2e6
test eax, eax
je 0x47c2e6
push 4
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push eax
push SysReAllocString
mov ecx, edi
call fcn.00479910
sub esp, 8
lea ecx, [ebp - 0xb0]
xor edi, edi
call fcn.00404910
mov dword [ebp - 4], 6
mov eax, dword [ebx]
dec eax
cmp eax, 5
ja case.default.0x47be3e
jmp dword [eax*4 + 0x47c360]
lea ecx, [ebp - 0xac]
call fcn.00406880
mov eax, dword [ebx + 8]
lea edx, [ebp - 0xcd]
push 0
shr eax, 1
lea ecx, [ebx + 0x18]
push edx
push eax
test ecx, ecx
mov dword [ebp - 0x40], 0x4e81b4
mov eax, 0x4e23a8
mov dword [ebp - 0x18], 0x4e8f38
cmovne eax, ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.00406f00
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
mov edi, dword [esi + 0x3c]
call fcn.00403f10
push dword [eax]
test edi, edi
je 0x47bea0
mov ecx, dword [edi]
push edi
call dword [ecx + 0x20]
jmp 0x47beaa
mov edx, dword [esi - 4]
lea ecx, [esi - 4]
push ecx
call dword [edx + 0x20]
mov edi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00404c20
jmp case.default.0x47be3e
mov eax, dword [ebx + 8]
lea edx, [ebp - 0xcd]
push 0
shr eax, 1
lea ecx, [ebx + 0x18]
push edx
push eax
test ecx, ecx
mov dword [ebp - 0x40], 0x4e81b4
mov eax, 0x4e23a8
mov dword [ebp - 0x18], 0x4e8f38
cmovne eax, ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.00406f00
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xe0]
mov edi, dword [esi + 0x3c]
lea ecx, [ebp - 0xb0]
push eax
call fcn.004379f0
test edi, edi
je 0x47bf31
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403420
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00403f10
mov ecx, dword [edi]
push esi
push dword [eax]
push edi
call dword [ecx + 0x24]
jmp 0x47bf5c
mov byte [ebp - 4], 0xd
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403420
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00403f10
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffffc
push esi
push dword [eax]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x24]
mov edi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe0]
call fcn.00437970
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00404c20
jmp case.default.0x47be3e
lea ecx, [ebp - 0xac]
call fcn.00406880
mov eax, dword [ebx + 8]
lea edx, [ebp - 0xcd]
push 0
shr eax, 1
lea ecx, [ebx + 0x18]
push edx
push eax
test ecx, ecx
mov dword [ebp - 0x70], 0x4e81b4
mov esi, 0x4e23a8
mov dword [ebp - 0x48], 0x4e8f38
mov eax, esi
cmovne eax, ecx
lea ecx, [ebp - 0x70]
push eax
call fcn.00406f00
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0xcd]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
add eax, 0x18
shr ecx, 1
add eax, ebx
push 0
push edx
push ecx
cmovne esi, eax
mov dword [ebp - 0x40], 0x4e81b4
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x4e8f38
call fcn.00406f00
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0xd4]
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x47c02d
call fcn.00403f10
lea ecx, [ebp - 0x70]
mov esi, dword [eax]
call fcn.00403f10
mov edx, dword [ebp - 0xd8]
push esi
push dword [eax]
mov ecx, dword [edx]
push edx
call dword [ecx + 0x28]
jmp 0x47c049
call fcn.00403f10
lea ecx, [ebp - 0x70]
mov esi, dword [eax]
call fcn.00403f10
mov edx, dword [edi - 4]
lea ecx, [edi - 4]
push esi
push dword [eax]
push ecx
call dword [edx + 0x28]
mov edi, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x40]
call fcn.00404c20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00404c20
jmp case.default.0x47be3e
mov eax, dword [ebx + 8]
lea edx, [ebp - 0xcd]
push 0
shr eax, 1
lea ecx, [ebx + 0x18]
push edx
push eax
test ecx, ecx
mov dword [ebp - 0x70], 0x4e81b4
mov eax, 0x4e23a8
mov dword [ebp - 0x48], 0x4e8f38
cmovne eax, ecx
lea ecx, [ebp - 0x70]
push eax
call fcn.00406f00
mov byte [ebp - 4], 0x16
mov eax, dword [ebx]
cmp eax, 4
jne 0x47c113
mov edi, dword [esi + 0x3c]
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0xb0]
push eax
call fcn.004379f0
test edi, edi
je 0x47c0e6
mov byte [ebp - 4], 0x17
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403420
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00403f10
mov ecx, dword [edi]
push esi
push dword [eax]
push edi
call dword [ecx + 0x2c]
jmp 0x47c180
mov byte [ebp - 4], 0x18
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403420
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00403f10
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffffc
push esi
push dword [eax]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x2c]
jmp 0x47c180
cmp eax, 5
jne 0x47c191
mov edi, dword [esi + 0x3c]
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0xb0]
push eax
call fcn.004379f0
test edi, edi
je 0x47c155
mov byte [ebp - 4], 0x19
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403420
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00403f10
mov ecx, dword [edi]
push esi
push dword [eax]
push edi
call dword [ecx + 0x30]
jmp 0x47c180
mov byte [ebp - 4], 0x1a
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403420
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00403f10
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffffc
push esi
push dword [eax]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x30]
mov edi, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xe0]
call fcn.00437970
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00404c20
jmp case.default.0x47be3e
mov eax, dword [ebx + 8]
lea edx, [ebp - 0xcd]
push 0
shr eax, 1
lea ecx, [ebx + 0x18]
push edx
push eax
test ecx, ecx
mov dword [ebp - 0x40], 0x4e81b4
mov eax, 0x4e23a8
mov dword [ebp - 0x18], 0x4e8f38
cmovne eax, ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.00406f00
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x40]
mov eax, dword [ebx + 8]
add eax, ebx
mov ebx, dword [eax + 0x18]
mov edi, dword [eax + 0x1c]
mov esi, dword [eax + 0x20]
call fcn.00403f10
mov ecx, dword [ebp - 0xd4]
push esi
add ecx, 0xfffffffc
push edi
push ebx
push dword [eax]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x34]
mov edi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00404c20
mov ebx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x9c]
add eax, eax
mov dword [ebp - 0xd8], eax
add eax, 0x1c
push eax
mov dword [ebp - 0xd4], eax
call fcn.004a14d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x47c25c
mov eax, 0x1c
mov dword [ebp - 0xd8], 0
lea esi, [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
mov edi, 0x8007000e
jmp 0x47c262
mov eax, dword [ebp - 0xd4]
push eax
push 0
push esi
call fcn.004a34a0
mov eax, dword [ebx]
add esp, 0xc
mov ecx, dword [ebp - 0xd8]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
test ecx, ecx
je 0x47c2a4
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0xac]
push ecx
cmovae eax, dword [ebp - 0xac]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.004a43d0
add esp, 0xc
push dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xe4]
push esi
push SysReAllocString
call fcn.00479910
lea eax, [ebp - 0xcc]
cmp esi, eax
je 0x47c2d0
push 0x1c
push esi
call fcn.004a1ba5
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00404850
mov eax, edi
jmp 0x47c33f
push eax
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0x4f866c
push str.Suite_extension_received_unsupported_request___x__for_out_proc_extension
push eax
mov dword [ebp - 0xd8], 0x240
call fcn.0040b3b0
add esp, 0xc
mov edx, 0x80004001
cmp dword [ebx], 0
mov ecx, 0x8002000b
cmove ecx, edx
mov dword [ebp - 0xe4], ecx
lea ecx, [ebp - 0xe4]
push 4
push ecx
push SysReAllocString
mov ecx, edi
call fcn.00479910
mov eax, 0x8002000b
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