Function at 0x47b9e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4628
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 0x47bb79
cmp byte [0x52aaa4], bl
jne 0x47ba44
cmp byte [0x530565], bl
je 0x47baf8
push 0
push ecx
push str.ProxyApi.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e7908
mov dword [ebp - 0x18], 0x4e793c
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], 0x4e7908
mov dword [ebp - 0x48], 0x4e793c
call fcn.00406ce0
mov byte [ebp - 4], 3
cmp byte [0x52aaa4], 0
je 0x47bab4
cmp byte [0x530565], 0
jne 0x47baa6
call fcn.0048df20
test al, al
je 0x47baad
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x47badd
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.0048e390
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 0x47bb52
call esi
test eax, eax
jne 0x47bb6f
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 0x47bb6f
call esi
mov eax, 0x80004005
jmp 0x47c0cf
mov eax, dword [ebx]
cmp eax, 6
ja 0x47c076
test eax, eax
je 0x47c076
push 4
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push eax
push SysReAllocString
mov ecx, edi
call fcn.004796a0
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.0x47bbce
jmp dword [eax*4 + 0x47c0f0]
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], 0x4e7908
mov eax, 0x4e23a8
mov dword [ebp - 0x18], 0x4e793c
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 0x47bc30
mov ecx, dword [edi]
push edi
call dword [ecx + 0x20]
jmp 0x47bc3a
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.0x47bbce
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], 0x4e7908
mov eax, 0x4e23a8
mov dword [ebp - 0x18], 0x4e793c
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.004378b0
test edi, edi
je 0x47bcc1
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 0x47bcec
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.00437830
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00404c20
jmp case.default.0x47bbce
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], 0x4e7908
mov esi, 0x4e23a8
mov dword [ebp - 0x48], 0x4e793c
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], 0x4e7908
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x4e793c
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 0x47bdbd
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 0x47bdd9
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.0x47bbce
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], 0x4e7908
mov eax, 0x4e23a8
mov dword [ebp - 0x48], 0x4e793c
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 0x47bea3
mov edi, dword [esi + 0x3c]
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0xb0]
push eax
call fcn.004378b0
test edi, edi
je 0x47be76
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 0x47bf10
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 0x47bf10
cmp eax, 5
jne 0x47bf21
mov edi, dword [esi + 0x3c]
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0xb0]
push eax
call fcn.004378b0
test edi, edi
je 0x47bee5
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 0x47bf10
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.00437830
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00404c20
jmp case.default.0x47bbce
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], 0x4e7908
mov eax, 0x4e23a8
mov dword [ebp - 0x18], 0x4e793c
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.004a1050
mov esi, eax
add esp, 4
test esi, esi
jne 0x47bfec
mov eax, 0x1c
mov dword [ebp - 0xd8], 0
lea esi, [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
mov edi, 0x8007000e
jmp 0x47bff2
mov eax, dword [ebp - 0xd4]
push eax
push 0
push esi
call fcn.004a3000
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 0x47c034
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.004a3f30
add esp, 0xc
push dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xe4]
push esi
push SysReAllocString
call fcn.004796a0
lea eax, [ebp - 0xcc]
cmp esi, eax
je 0x47c060
push 0x1c
push esi
call fcn.004a1725
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00404850
mov eax, edi
jmp 0x47c0cf
push eax
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], str.ProxyApi.cpp
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.004796a0
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.004a103a
mov esp, ebp
pop ebp
ret 8