Function at 0x473340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c97a8
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x51c0b0]
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 0x4734d9
cmp byte [0x51caa5], bl
jne 0x4733a4
cmp byte [0x522582], bl
je 0x473458
push 0
push ecx
push str.ProxyApi.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
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], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 3
cmp byte [0x51caa5], 0
je 0x473414
cmp byte [0x522582], 0
jne 0x473406
call fcn.00486870
test al, al
je 0x47340d
mov byte [0x522582], 1
mov byte [0x51caa5], 0
cmp byte [0x522582], 0
je 0x47343d
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x22e
cmovae ecx, dword [ebp - 0x6c]
call fcn.00486ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004049f0
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], VariantInit
mov dword [ebp - 0x78], 4
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4734b2
call esi
test eax, eax
jne 0x4734cf
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 0x4734cf
call esi
mov eax, 0x80004005
jmp 0x473a2f
mov eax, dword [ebx]
cmp eax, 6
ja 0x4739d6
test eax, eax
je 0x4739d6
push 4
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push eax
push SysReAllocStringLen
mov ecx, edi
call fcn.00471000
sub esp, 8
lea ecx, [ebp - 0xb0]
xor edi, edi
call fcn.00404aa0
mov dword [ebp - 4], 6
mov eax, dword [ebx]
dec eax
cmp eax, 5
ja case.default.0x47352e
jmp dword [eax*4 + 0x473a50]
lea ecx, [ebp - 0xac]
call fcn.00406a10
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], 0x4dd804
mov eax, 0x4d7438
mov dword [ebp - 0x18], 0x4dcac4
cmovne eax, ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.00407090
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
mov edi, dword [esi + 0x3c]
call fcn.00404040
push dword [eax]
test edi, edi
je 0x473590
mov ecx, dword [edi]
push edi
call dword [ecx + 0x20]
jmp 0x47359a
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.00404db0
jmp case.default.0x47352e
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], 0x4dd804
mov eax, 0x4d7438
mov dword [ebp - 0x18], 0x4dcac4
cmovne eax, ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.00407090
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xe0]
mov edi, dword [esi + 0x3c]
lea ecx, [ebp - 0xb0]
push eax
call fcn.004341b0
test edi, edi
je 0x473621
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403550
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00404040
mov ecx, dword [edi]
push esi
push dword [eax]
push edi
call dword [ecx + 0x24]
jmp 0x47364c
mov byte [ebp - 4], 0xd
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403550
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00404040
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.00434130
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00404db0
jmp case.default.0x47352e
lea ecx, [ebp - 0xac]
call fcn.00406a10
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], 0x4dd804
mov esi, 0x4d7438
mov dword [ebp - 0x48], 0x4dcac4
mov eax, esi
cmovne eax, ecx
lea ecx, [ebp - 0x70]
push eax
call fcn.00407090
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], 0x4dd804
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00407090
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 0x47371d
call fcn.00404040
lea ecx, [ebp - 0x70]
mov esi, dword [eax]
call fcn.00404040
mov edx, dword [ebp - 0xd8]
push esi
push dword [eax]
mov ecx, dword [edx]
push edx
call dword [ecx + 0x28]
jmp 0x473739
call fcn.00404040
lea ecx, [ebp - 0x70]
mov esi, dword [eax]
call fcn.00404040
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.00404db0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00404db0
jmp case.default.0x47352e
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], 0x4dd804
mov eax, 0x4d7438
mov dword [ebp - 0x48], 0x4dcac4
cmovne eax, ecx
lea ecx, [ebp - 0x70]
push eax
call fcn.00407090
mov byte [ebp - 4], 0x16
mov eax, dword [ebx]
cmp eax, 4
jne 0x473803
mov edi, dword [esi + 0x3c]
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0xb0]
push eax
call fcn.004341b0
test edi, edi
je 0x4737d6
mov byte [ebp - 4], 0x17
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403550
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00404040
mov ecx, dword [edi]
push esi
push dword [eax]
push edi
call dword [ecx + 0x2c]
jmp 0x473870
mov byte [ebp - 4], 0x18
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403550
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00404040
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffffc
push esi
push dword [eax]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x2c]
jmp 0x473870
cmp eax, 5
jne 0x473881
mov edi, dword [esi + 0x3c]
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0xb0]
push eax
call fcn.004341b0
test edi, edi
je 0x473845
mov byte [ebp - 4], 0x19
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403550
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00404040
mov ecx, dword [edi]
push esi
push dword [eax]
push edi
call dword [ecx + 0x30]
jmp 0x473870
mov byte [ebp - 4], 0x1a
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403550
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00404040
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.00434130
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00404db0
jmp case.default.0x47352e
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], 0x4dd804
mov eax, 0x4d7438
mov dword [ebp - 0x18], 0x4dcac4
cmovne eax, ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.00407090
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.00404040
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.00404db0
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.004996e0
mov esi, eax
add esp, 4
test esi, esi
jne 0x47394c
mov eax, 0x1c
mov dword [ebp - 0xd8], 0
lea esi, [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
mov edi, 0x8007000e
jmp 0x473952
mov eax, dword [ebp - 0xd4]
push eax
push 0
push esi
call fcn.0049b6a0
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 0x473994
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.0049c5d0
add esp, 0xc
push dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xe4]
push esi
push SysReAllocStringLen
call fcn.00471000
lea eax, [ebp - 0xcc]
cmp esi, eax
je 0x4739c0
push 0x1c
push esi
call fcn.00499db8
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.004049f0
mov eax, edi
jmp 0x473a2f
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], 0x23a
call fcn.0040b080
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 SysReAllocStringLen
mov ecx, edi
call fcn.00471000
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.004996ca
mov esp, ebp
pop ebp
ret 8